This file contains hidden or 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 Stream = require('../index.js'); | |
| var conf = require('./config') | |
| var stream = new Stream({ | |
| consumer_key:conf.consumer_key, | |
| consumer_secret:conf.consumer_secret, | |
| access_token_key:conf.access_token_key, | |
| access_token_secret:conf.access_token_secret, | |
| track:conf.track | |
| }); |
This file contains hidden or 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
| module.exports = { | |
| consumer_key : 'consumer_key', | |
| consumer_secret : 'consumer_secret', | |
| access_token_key: 'access_token_key', | |
| access_token_secret : 'access_token_secret', | |
| track : 'galatasaray,fenerbahçe,beşiktaş' | |
| } |
This file contains hidden or 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
| String uri = "http://api.easysocket.io"; | |
| //Do not forget to assign your private key | |
| String privateKey=""; | |
| String parameters ="privateKey="+privateKey+"data=Hello World!"; | |
| var req = WebRequest.Create(uri); | |
| req.ContentType = "application/x-www-form-urlencoded"; | |
| req.Method = "POST"; | |
| var bytes = Encoding.ASCII.GetBytes(parameters); | |
| req.ContentLength = bytes.Length; |
This file contains hidden or 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
| setTimeout(function () { | |
| Map.zoomOut(1) | |
| if (!canRate) { | |
| Map.travelRoute({ | |
| origin: origin, | |
| destination: destination, | |
| travelMode: 'walking', | |
| step: function (e) { | |
| setTimeout(function () { | |
| Map.drawPolyline({ |
This file contains hidden or 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
| google.maps.Marker.prototype.animateTo = function (newPosition, options) { | |
| defaultOptions = { | |
| duration: 1000, | |
| easing: 'linear', | |
| complete: null | |
| } | |
| options = options || {}; | |
| // complete missing options | |
| for (key in defaultOptions) { |
This file contains hidden or 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
| window.mobilecheck = function() { | |
| var check = false; | |
| (function(a){if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v |
This file contains hidden or 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 themeArray = { | |
| "snazzy": [ | |
| {"featureType": "water", "elementType": "geometry", "stylers": [ | |
| {"color": "#333739"} | |
| ]}, | |
| {"featureType": "landscape", "elementType": "geometry", "stylers": [ | |
| {"color": "#2ecc71"} | |
| ]}, | |
| {"featureType": "poi", "stylers": [ | |
| {"color": "#2ecc71"}, |
This file contains hidden or 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
| # credit: http://haacked.com/archive/2014/07/28/github-flow-aliases/ | |
| [user] | |
| email = [email protected] | |
| name = Salim KAYABASI | |
| [core] | |
| autocrlf = input | |
| # editor = 'C:/Program Files/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin | |
| editor = /Applications/Sublime\\ Text.app/Contents/SharedSupport/bin/subl -n -w | |
| eol = lf | |
| [color] |
This file contains hidden or 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
| PATH=%PATH%;"%SYSTEMROOT%\System32" | |
| adb reboot bootloader | |
| fastboot flash bootloader bootloader-hammerhead-HHZ12h.img | |
| fastboot reboot-bootloader | |
| ping -n 5 127.0.0.1 >nul | |
| fastboot flash radio radio-hammerhead-M8974A-2.0.50.2.26.img | |
| fastboot reboot-bootloader | |
| ping -n 5 127.0.0.1 >nul | |
| fastboot flash recovery recovery.img | |
| fastboot flash boot boot.img |
This file contains hidden or 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
| Get-AppxPackage *3dbuilder* | Remove-AppxPackage | |
| Get-AppxPackage *windowsalarms* | Remove-AppxPackage | |
| Get-AppxPackage *windowscommunicationsapps* | Remove-AppxPackage | |
| Get-AppxPackage *windowscamera* | Remove-AppxPackage | |
| Get-AppxPackage *officehub* | Remove-AppxPackage | |
| Get-AppxPackage *skypeapp* | Remove-AppxPackage | |
| Get-AppxPackage *getstarted* | Remove-AppxPackage | |
| Get-AppxPackage *zunemusic* | Remove-AppxPackage | |
| Get-AppxPackage *windowsmaps* | Remove-AppxPackage | |
| Get-AppxPackage *solitairecollection* | Remove-AppxPackage |
OlderNewer