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 { default as React, Component } from "react"; | |
import { default as update } from "react-addons-update"; | |
import { GoogleMapLoader, GoogleMap, Marker, SearchBox } from "react-google-maps"; | |
import { triggerEvent } from "react-google-maps/lib/utils"; | |
class GoogleMapPicker extends Component { | |
static inputStyle = { | |
"border": `1px solid transparent`, |
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
var express = require("express"); | |
var multer = require('multer'); | |
var app = express(); | |
var done = false; | |
var path = require("path"); | |
var serveIndex = require('serve-index'); | |
app.use(multer({ dest: './uploads/', | |
rename: function (fieldname, filename) { | |
return filename+Date.now(); |
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
func platformString() -> String { | |
var size : UInt = 0 | |
sysctlbyname("hw.machine", nil, &size, nil, 0) | |
var machine = [CChar](count: Int(size), repeatedValue: 0) | |
sysctlbyname("hw.machine", &machine, &size, nil, 0) | |
let platform : String = String.fromCString(machine)! | |
if platform == "iPhone1,1" { return "iPhone 1G" } | |
if platform == "iPhone1,2" { return "iPhone 3G" } | |
if platform == "iPhone2,1" { return "iPhone 3GS" } |
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
// | |
// Classroom.h | |
// SocketTest | |
// | |
// Created by Wairung Tiranalinvit on 1/31/2557 BE. | |
// Copyright (c) 2557 Wairung Tiranalinvit. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> | |
#import "Student.h" |
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 "HCYoutubeParser.h" | |
#import "SVProgressHUD.h" | |
... | |
- (void)viewDidLoad | |
{ | |
[super viewDidLoad]; | |
// Do any additional setup after loading the view from its nib. |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <math.h> | |
#include <algorithm> | |
#include <iostream> | |
#include <map> | |
#include <vector> | |
using namespace std; |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <math.h> | |
#include <algorithm> | |
#include <iostream> | |
#include <map> | |
#include <vector> | |
using namespace std; |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <math.h> | |
#include <algorithm> | |
#include <iostream> | |
#include <map> | |
#include <vector> | |
using namespace std; |
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
<html> | |
<head> | |
<title>FaceBook Test For Fire Finger</title> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> | |
</head> | |
<body> | |
<h1>Facebook API Test</h1> | |
<h3>Friend List</h3> | |
<input type="button" | |
onclick="sendRequestViaMultiFriendSelector(); return false;" |