I hereby claim:
- I am garth on github.
- I am garthw (https://keybase.io/garthw) on keybase.
- I have a public key ASCbrYdBQl2XRHArhXi1mNP2LYfoQV28BuArnB4uknDI7go
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/* | |
Draws text around a circule (the object). | |
Text is centered at the top of the circle. | |
Depends on styled-components, but can be adapted for other frameworks. | |
<CurvedText | |
text="I'm curved" |
#!/bin/bash | |
# | |
# The reason of creating this script is that Endpoint Security VPN installs it's own application firewall kext cpfw.kext | |
# which prevents for example PPTP connections from this computer, which is not appropriate if you need subj connection just | |
# from time to time | |
# Usage: checkpoint.sh | |
# The script checks if Enpoint Security VPN is running. If it is, then it shuts it down, if it is not, it fires it up. | |
# Or, make an Automator action and paste the script. | |
# You will need sudo power, of course | |
# |
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
The current default implementation of debounce is actually closer to throttle. We plan to transition the current behaviour to throttle, and change the deault behavour of debounce in the next major release.
Until version 0.6.x is released the following will give a deprecation warning:
signal('fieldChanged', [
{ | |
"parser": "babel-eslint", // https://github.com/babel/babel-eslint | |
"env": { | |
"node": true | |
}, | |
"globals": {}, | |
"ecmaFeatures": { | |
"arrowFunctions": true, | |
"blockBindings": true, | |
"classes": true, |
{ | |
"presets": ["react", "es2015", "stage-1"], | |
"plugins": ["transform-decorators-legacy"], | |
"env": { | |
"development": { | |
"plugins": [ | |
["react-transform", { | |
"transforms": [{ | |
"transform": "react-transform-hmr", | |
"imports": ["react"], |
import { expect as chai } from 'chai'; | |
let expected = null; | |
let actual = 0; | |
export default { | |
expect(target) { | |
actual++; | |
return chai(target); |
'use strict'; | |
var fs = require('fs'); | |
var path = require('path'); | |
var templateCompiler = require('./bower_components/ember/ember-template-compiler'); | |
var templatesPath = 'templates' | |
module.exports = function (grunt) { | |
grunt.initConfig({ |
Ember.Handlebars.registerBoundHelper('render-dynamic', function (name, context, options) { | |
// name was passed as a variable, but should be passed to render as a string | |
options.types[0] = "STRING"; | |
return Ember.Handlebars.helpers.render.call(this, name, context, options); | |
}); |