This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am VojtechBartos on github. | |
* I am vojtechbartos (https://keybase.io/vojtechbartos) on keybase. | |
* I have a public key whose fingerprint is 4D36 332B C160 4A43 5185 905A 7D88 23A9 4717 D485 | |
To claim this, I am signing this object: |
This file contains 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
# -*- coding: utf-8 -*- | |
# | |
# Dependencies | |
# apt-get install libmysqlclient-dev python python-dev python-mysqldb | |
# | |
# Example | |
# python gld.py --help | |
# | |
import argparse |
This file contains 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
// .babelrc | |
{ | |
"plugins": [ | |
"transform-es3-member-expression-literals", | |
"transform-es3-property-literals", | |
"transform-object-rest-spread", | |
"transform-class-properties", | |
"add-module-exports" | |
], | |
"presets": [ |
This file contains 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
{ | |
"meta": {}, | |
"data": [ | |
{ | |
"title": "Sleep Diary", | |
"orientation": "landscape", | |
"reference": "onboarding", | |
"phrases": [ | |
{ | |
"start": 0, |
This file contains 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
<html> | |
<head> | |
<title>Branch IO test</title> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> | |
<script type="text/javascript"> | |
(function() { | |
var config = { | |
app_id: '<app_id>', |
This file contains 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
myApp = angular.module 'myApp', [] | |
myApp.service 'FlashMessage', ($rootScope) -> | |
smsgw.service 'FlashMessage', ($rootScope) -> | |
Flash = () -> | |
$rootScope.flashes = [] | |
$rootScope.$on '$routeChangeSuccess', () -> | |
flashes = [] | |
for flash in $rootScope.flashes |
This file contains 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
<?php | |
$dirContent = Finder::find('*')->from($directory)->childFirst(); | |
foreach ($dirContent as $file) { | |
if ($file->isDir()) | |
@rmdir($file->getPathname()); | |
else | |
@unlink($file->getPathname()); | |
} |