I hereby claim:
- I am BBB on github.
- I am ollierelph (https://keybase.io/ollierelph) on keybase.
- I have a public key whose fingerprint is 3890 B0FC 67B4 E1D6 F7D1 CE51 0D3C 1392 1608 89D1
To claim this, I am signing this object:
resources: | |
- name: project-release | |
type: github-release | |
source: | |
owner: ((github_username)) | |
repository: ((github_repo)) | |
access_token: ((github_access_token)) | |
release: true | |
pre_release: true |
const hasPropCond = (onboardingDataPropName) => ({ | |
type: 'hasProp', | |
onboardingDataPropName | |
}); | |
const notHasPropCond = ( | |
onboardingDataPropName, | |
validator |
import { DeviceEventEmitter } from 'react-native'; | |
DeviceEventEmitter.addListener('keyboardWillShow', (e) => { | |
// Use e.endCoordinates.height | |
// to set your view's marginBottom | |
// ... | |
}); | |
DeviceEventEmitter.addListener('keyboardWillHide', (e) => { | |
// ... |
$http.get( tpl, { cache: $templateCache } ) | |
.then( function( response ) { | |
templateScope = scope.$new(); | |
templateCtrl = $controller( ctrl, { $scope: templateScope } ); | |
element.html( response.data ); | |
element.children().data('$ngControllerController', templateCtrl); | |
$compile( element.contents() )( templateScope ); | |
}); |
I hereby claim:
To claim this, I am signing this object:
{ | |
"user": { | |
"debug": false, | |
"delay": 0.25, | |
"error_color": "D02000", | |
"gutter_theme": "Packages/SublimeLinter/gutter-themes/Default/Default.gutter-theme", | |
"gutter_theme_excludes": [], | |
"lint_mode": "background", | |
"linters": { | |
"jscs": { |
server { | |
listen 80; | |
# Make site accessible from http://localhost/ | |
server_name localhost; | |
if ($http_host ~* ^www\.) { | |
rewrite ^www\.(.+)\/(.+) $1/$2 permanent; | |
} |
angular.module('cm.shared') | |
.filter('titlecase', function() { | |
return function(input) { | |
if (!input) { | |
return input; | |
} | |
var smallWords = /^(a|an|and|as|at|but|by|en|for|if|in|nor|of|on|or|per|the|to|vs?\.?|via)$/i; | |
return input.toLowerCase().replace(/[A-Za-z0-9\u00C0-\u00FF]+[^\s-]*/g, function(match, index, title) { | |
if (index > 0 && index + match.length !== title.length && |
{ | |
"requireCurlyBraces": [ | |
"if", | |
"else", | |
"for", | |
"while", | |
"do", | |
"try", | |
"catch" | |
], |
- name: Push the conf | |
template: src=./templates/conf.json.j2 dest=~/conf.json.j2 owner=$ansible_ssh_user mode=0600 |