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
Scala 2.8.1 and Lift 2.2 final | |
============================== | |
mvn archetype:generate \ | |
-DarchetypeGroupId=net.liftweb \ | |
-DarchetypeArtifactId=lift-archetype-basic_2.8.1 \ | |
-DarchetypeVersion=2.2 \ | |
-DarchetypeRepository=http://scala-tools.org/repo-releases \ | |
-DremoteRepositories=http://scala-tools.org/repo-releases \ | |
-DgroupId=com.company \ |
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
git merge --no-commit branch | |
git checkout --ours -- thefile.ext | |
git commit -m "Horrendouse message" |
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 http = require('http'); | |
var sys = require('sys'); | |
http.createServer(function(request, response) { | |
sys.log(request.connection.remoteAddress + ": " + request.method + " " + request.url); | |
sys.log("Request headers " + JSON.stringify(request.headers, null, '\t')); | |
var options = { | |
host: request.headers.host, | |
port: 80, |
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
Day Job: | |
Developer/Cofounding Just Cloud | |
Open Source contribution (if any): | |
None yet | |
Tell me about your experience with Ruby/Rails: | |
Some experiments, and admin apps for clients. | |
How do you use GitHub: |
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
public class MyCalendar { | |
public static DAY = 1; | |
public static MONTH = 2; | |
public static YEAR = 3; | |
private int day; | |
private int month; | |
private int year; | |
public MyCalendar() { |
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
set nocompatible " be iMproved | |
filetype off " required! | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
" let Vundle manage Vundle | |
" required! | |
Bundle 'gmarik/vundle' |
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
# cesar/base | |
FROM ubuntu | |
MAINTAINER Juan Chito <juan@chito.com> | |
# Add apt repository needed | |
RUN echo 'deb http://archive.ubuntu.com/ubuntu trusty main universe' > /etc/apt/sources.list | |
RUN echo 'deb http://archive.ubuntu.com/ubuntu trusty-security main universe' >> /etc/apt/sources.list | |
RUN echo 'deb http://archive.ubuntu.com/ubuntu trusty-updates main universe' >> /etc/apt/sources.list | |
RUN echo 'deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse' >> /etc/apt/sources.list |
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
import java.security.* | |
class PhoneHasherService { | |
String checkHashPhone(String phone, String hash) { | |
int iterations = 128 | |
String [] hashParts = hash.split(":") | |
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 iamedu on github. | |
* I am iamedu (https://keybase.io/iamedu) on keybase. | |
* I have a public key whose fingerprint is 529F 8101 A1E9 684D F828 6F9A 4AB8 268D F41D 083A | |
To claim this, I am signing this object: |
OlderNewer