This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import { | |
View, | |
Text, | |
ListView, | |
Image, | |
TouchableHighlight, | |
ScrollView, | |
Linking, | |
Alert |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Sample React Native App | |
* https://github.com/facebook/react-native | |
* @flow | |
*/ | |
import React, { Component } from 'react'; | |
import { | |
AppRegistry, | |
StyleSheet, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
getRoute = () => { | |
let addressDict = new Map(); | |
for (student of sampleData.studentList) { | |
addressDict.set(student.studentID, student.address); | |
} | |
let wpoints_array = Array.from(addressDict.values()); | |
let wpoints_query = ""; | |
for (wp of wpoints_array) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
$script = <<SCRIPT | |
echo "-------------------- updating package lists" | |
apt-get update | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
nginx-proxy: | |
image: jwilder/nginx-proxy | |
container_name: nginx-proxy | |
ports: | |
- "80:80" | |
volumes: | |
- /var/run/docker.sock:/tmp/docker.sock:ro |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"config": { | |
"preferred-install": "dist", | |
"github-protocols": ["https","http"], | |
"github-oauth": { | |
"github.com": "aa9a906cf406370b509bbce3a78829202b41b8e6" | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Getting course ects from http://katalog.cbu.edu.tr/Site/CourceStructure.aspx?ProgramID=1339&lang=1 | |
var course_code_list = []; | |
$("#CourseStructure tr").each(function() { | |
var course_code = $(this).find("td").eq(0).text(); | |
var course_ects= []; | |
course_ects.push( parseInt( $(this).find("td").eq(5).text())); | |
if(course_code != "" && course_code !="Kodu" && course_code !="Teknik Seçmeli Ders" && course_code !="Toplam" && course_code.indexOf("Dönem") <= -1) | |
{ | |
course_code_list.push({ |