This file contains hidden or 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 authentication | |
import ( | |
"code.google.com/p/go.crypto/bcrypt" | |
. "github.com/smartystreets/goconvey/convey" | |
"log" | |
"strings" | |
"testing" | |
) |
This file contains hidden or 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 authentication | |
// This will handle all aspects of authenticating users in our system | |
// For password managing/salting I used: | |
// http://austingwalters.com/building-a-web-server-in-go-salting-passwords/ | |
import ( | |
"code.google.com/p/go.crypto/bcrypt" | |
"crypto/rand" | |
"log" |
This file contains hidden or 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 namespace PROJECT\Tests; | |
// PATH TO YOUR AUTOLOADER | |
require_once(__DIR__ . '/../../../../app/autoload.php'); | |
// PATH TO YOUR SYMFONY APP KERNEL | |
require_once(__DIR__ . '/../../../../app/AppKernel.php'); | |
use AppKernel; |
This file contains hidden or 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 row = 0; | |
each tweet, t in twitter | |
if t % 3 == 0 | |
.row-fluid.tweets | |
- row = row + 1 | |
each rowElement in twitter.slice(t, t + 3) | |
.span4 | |
if row % 2 == 0 | |
.span3.image | |
img(src='../public/img/twitter/#{tweet.handle}.jpg') |
This file contains hidden or 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/sh | |
# This has to be run from master | |
git checkout master | |
# Update our list of remotes | |
git fetch | |
git remote prune origin | |
# Remove local fully merged branches |