Skip to content

Instantly share code, notes, and snippets.

Dotan J. Nahum jondot

Block or report user

Report or block jondot

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View middleware-async.md
View gist:76e50cca4fdc8af2aa31bb9877d2ffa1
https://www.apollographql.com/docs/apollo-server/migration-one-dot.html
https://dev-blog.apollodata.com/apollo-clients-new-imperative-store-api-6cb69318a1e3
https://dev-blog.apollodata.com/reusable-graphql-schema-directives-131fb3a177d1
https://dev-blog.apollodata.com/query-components-with-apollo-ec603188c157
http://engineering.khanacademy.org/posts/creating-query-components-with-apollo.htm
https://github.com/chantastic/reactpatterns.com
https://dev-blog.apollodata.com/the-future-of-state-management-dd410864cae2
https://dev-blog.apollodata.com/the-next-step-for-realtime-data-in-graphql-b564b72eb07b
https://dev-blog.apollodata.com/understanding-pagination-rest-graphql-and-relay-b10f835549e7
https://dev-blog.apollodata.com/improved-apollo-client-devtools-eb43258f103f
View gofat.sh
#!/bin/sh
eval `go build -work -a 2>&1` && find $WORK -type f -name "*.a" | xargs -I{} du -hxs "{}" | gsort -rh | sed -e s:${WORK}/::g
View index.html
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<style type="text/css">
body {
background: #333;
}
* {
@jondot
jondot / index.html
Last active Apr 4, 2016 — forked from enjalot/index.html
d3.js sin waves
View index.html
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<style type="text/css">
body {
background: #333;
}
View gcode dump.txt
; filament used = 1309.2mm (3.1cm3)
; avoid_crossing_perimeters = 0
; bed_shape = 0x0,200x0,200x200,0x200
; bed_temperature = 70
; before_layer_gcode =
; bridge_acceleration = 0
; bridge_fan_speed = 100
; brim_width = 0
; complete_objects = 0
View MapView.js
// MapView.js
var React = require('react-native');
var { View, Text, TouchableOpacity, requireNativeComponent } = React;
var RCTMapperManager = require('NativeModules').MapperManager;
class MapView extends React.Component {
foobar(){
RCTMapperManager.logstuff(
React.findNodeHandle(this),
@jondot
jondot / keybez.md
Created Jan 14, 2016
ios keyboard bezier
View keybez.md
  onKeyboardWillHide(e) {
    Animated.timing(this.state.height, {
      toValue: this.listViewMaxHeight,
      duration: e.duration,
      easing: Easing.bezier(0.1, 0.76, 0.55, 0.9)
    }).start();
  },

  onKeyboardWillShow(e) {
View keymap.cson
'.platform-darwin':
'cmd-0': 'tree-view:toggle-focus'
'atom-text-editor.vim-mode.normal-mode':
'ctrl-h': 'window:focus-pane-on-left'
'ctrl-l': 'window:focus-pane-on-right'
'atom-text-editor.vim-mode.insert-mode':
'j j': 'vim-mode:activate-normal-mode'
You can’t perform that action at this time.