http://stevenlu.com/posts/2015/08/18/circleci-ios-builds-to-hockeyapp/
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
var Sequelize = require('sequelize'); | |
var DataTypes = Sequelize; | |
sequelize = new Sequelize('mysql://root@localhost/29165644', {}); | |
var Module = sequelize.define('module', { | |
id: DataTypes.INTEGER, | |
name: DataTypes.STRING, | |
description: DataTypes.STRING, | |
category_id: DataTypes.STRING, |
I hereby claim:
- I am sjlu on github.
- I am sjlu (https://keybase.io/sjlu) on keybase.
- I have a public key whose fingerprint is FC56 EEDC 66B1 61FB BE45 72DB B542 60ED E871 058D
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
--- ddclient.orig 2013-09-26 01:06:12.399990673 +0100 | |
+++ ddclient 2013-09-26 06:25:36.768189452 +0100 | |
@@ -13,12 +13,17 @@ | |
# Support for multiple IP numbers added by | |
# Astaro AG, Ingo Schwarze <ischwarze-OOs/4mkCeqbQT0dZR+AlfA@public.gmane.org> September 16, 2008 | |
# | |
+# Modified to work with Cloudflare by Robert Ian Hawdon 2012-07-16: http://robertianhawdon.me.uk/ | |
+# | |
+# Further modified to work with Cloudflare by Peter Roberts 2013-9-26, 2014-6-22: blog.peter-r.co.uk | |
+# |
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
#!/bin/bash | |
# Must have a project name | |
if [ "$#" -ne 1 ]; then | |
echo "Usage: ./sunrise.sh <project_name>" | |
exit 1 | |
fi | |
if [ -d "$1" ]; then | |
echo "ERROR: Directory already exists." |
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
#include <stdlib.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <ctype.h> | |
// pretty standard operation on reading files | |
// into memory. fopen, fseek, etc. | |
char* read_file(const char *filename) | |
{ | |
// open file operation |
NewerOlder