I hereby claim:
- I am syousif94 on github.
- I am syousif (https://keybase.io/syousif) on keybase.
- I have a public key ASCKvJZVMgc0at1-xWxkDJTS9HeF4x8WlL0NlWkifkaaLwo
To claim this, I am signing this object:
| //First put this in your constructor function: | |
| var getSectionData = (dataBlob, sectionID) => { | |
| return dataBlob[sectionID]; | |
| } | |
| var getRowData = (dataBlob, sectionID, rowID) => { | |
| return dataBlob[sectionID + ':' + rowID]; | |
| } | |
| this.ds = new ListView.DataSource({ | |
| getSectionData: getSectionData, | |
| getRowData: getRowData, |
| /* | |
| Generic Canvas Overlay for leaflet, | |
| Stanislav Sumbera, April , 2014 | |
| - added userDrawFunc that is called when Canvas need to be redrawn | |
| - added few useful params fro userDrawFunc callback | |
| - fixed resize map bug | |
| inspired & portions taken from : https://github.com/Leaflet/Leaflet.heat | |
| License: MIT |
| /* | |
| Generic Canvas Overlay for leaflet, | |
| Stanislav Sumbera, April , 2014 | |
| - added userDrawFunc that is called when Canvas need to be redrawn | |
| - added few useful params fro userDrawFunc callback | |
| - fixed resize map bug | |
| inspired & portions taken from : https://github.com/Leaflet/Leaflet.heat | |
| License: MIT |
| export let iOS = (navigator.userAgent.indexOf('iPhone OS') > -1) || (navigator.userAgent.indexOf('iPad') > -1) | |
| export let android = navigator.userAgent.indexOf('Android') > -1 | |
| export let windowsPhone = navigator.userAgent.indexOf('Windows Phone') > -1 | |
| export let mobile = iOS || android || windowsPhone |
I hereby claim:
To claim this, I am signing this object:
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"/> | |
| <script src="https://api.tiles.mapbox.com/mapbox-gl-js/v0.37.0/mapbox-gl.js"></script> | |
| <link href="https://api.tiles.mapbox.com/mapbox-gl-js/v0.37.0/mapbox-gl.css" rel="stylesheet" /> | |
| <style> | |
| body { margin:0; padding:0; display: flex; justify-content: center; align-items: center; } | |
| #map { height: 768px; width: 1024px; } | |
| </style> |
| Buncha does not collect identifiable user information. |
| Sprinkle stores anonymous device locations. That's all. |
| function run() { | |
| console.log('sup') | |
| $('#siteTable').jscroll({ | |
| nextSelector: 'span.nextprev a:last', | |
| contentSelector: '#siteTable .thing, .nav-buttons', | |
| callback: function() { | |
| $('.nav-buttons').remove(); | |
| } |
| class ViewController: UIViewController, KeyboardObserverDelegate { | |
| let keyboardObserver = KeyboardObserver() | |
| let scrollView = UIScrollView() | |
| let randomView = UIView() | |
| func viewDidLoad() { | |
| super.viewDidLoad() |