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
h2 Sign up | |
= simple_form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| | |
= f.error_notification | |
.form-inputs | |
= f.input :email, :required => true, :autofocus => true | |
= f.input :username, :required => true | |
.form-actions | |
= f.button :submit, "Sign up" | |
/= render "devise/shared/links" |
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 <stdio.h> | |
#include <math.h> | |
#define N 729 | |
#define reps 100 | |
#include <omp.h> | |
double a[N][N], b[N][N], c[N]; | |
int jmax[N]; |
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
// Einbeziehen des minim-Audio-Toolkits | |
import ddf.minim.*; | |
import ddf.minim.effects.*; | |
import processing.serial.*; | |
import TUIO.*; | |
import java.util.*; | |
// Instanz der minim Bibliothek | |
Minim minim; | |
TuioProcessing tuioClient; |
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
require 'momm/web' | |
run Momm::Web |
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
defaults write com.apple.screencapture location ~/Pictures/ScreenShots | |
killall SystemUIServer |
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
#!/usr/bin/perl -w | |
use strict; | |
use Socket; | |
use IO::Handle; | |
if($#ARGV+1 != 2){ | |
print "$#ARGV $0 Remote_IP Remote_Port \n"; | |
exit 1; | |
} |
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
{ | |
"color_scheme": "Packages/Theme - Spacegray/base16-ocean.dark.tmTheme", | |
"ensure_newline_at_eof_on_save": true, | |
"font_face": "Source Code Pro Light", | |
"font_size": 16, | |
"ignored_packages": | |
[ | |
"Vintage", | |
"LESS", | |
"Ruby Slim", |
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
for i in {49000..49900}; do | |
VBoxManage modifyvm "boot2docker-vm" --natpf1 "tcp-port$i,tcp,,$i,,$i"; | |
VBoxManage modifyvm "boot2docker-vm" --natpf1 "udp-port$i,udp,,$i,,$i"; | |
done |
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
package main | |
import ( | |
"encoding/json" | |
"os" | |
"fmt" | |
"log" | |
"code.google.com/p/goauth2/oauth" | |
"flag" | |
"bytes" |
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
require 'yaml' | |
require 'httparty' | |
def get_secret | |
secret_file = File.expand_path('../.secret.yml', __FILE__) | |
YAML.load_file(secret_file) | |
end | |
secret = get_secret |
OlderNewer