Skip to content

Instantly share code, notes, and snippets.

View NewBehaviourScript.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
public class NewBehaviourScript : NetworkBehavior {
// Use this for initialization
void Start () {
View gist:a465e4361f6f3831eb1e2522055c169b
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
sign the future
-----BEGIN PGP SIGNATURE-----
Version: Keybase OpenPGP v2.0.53
Comment: https://keybase.io/crypto
wsBcBAABCgAGBQJXL9qIAAoJECmhaaBXew6X9HcH/ier2ca6eRxuZU6U2XdhpwB7
+bwadoFovntia6rSr0n7LHRKXabPyjjUhfbpMDThvo4YEMMvvwCWRpQQItyP7Wey
View gist:8b270ed82af33eb5404a
<table>
<tr>
<th>Campaign</th>
<th>Status</th>
<th>Impressions</th>
</tr>
<% _.each(campaigns, function (campaign) { %>
<td><a href='<%= "/advertiser/" + campaign.advertiser + "/" + campaign.id %>'><%= campaign.name %></a></td>
<td>Live</td>
<td><% Campaign.calculateImpressions(campaign.id, function(e, data){ %>
View gist:8e84e61935a2501ea3f8
-----BEGIN PGP MESSAGE-----
Version: GnuPG v1
owEBTQGy/pANAwACASmhaaBXew6XAcsdYgBUOKZ4U2VlIGl0cyBub3QgdGhhdCBo
YXJkCgqJARwEAAECAAYFAlQ4pngACgkQKaFpoFd7DpcNhwf+OwKjHIfK65TBJ9fK
eFJ5IbRYYrE/8XDcXSbQtrs4LLtJOCE3prlEOY2x39tecJYdrO/ypfawsn1dD/rN
UxApeodRad3fKHQGgRG7HEM2EyLnBpI6m2q90tL0pnCcQ39kOrbCJ/+4F5Yz1ykJ
VClIRXnF4FaxDZeV5nSZInnIchPVLy2DNXRuUGV5qbiQ3uoL+zn/DB8zn9TvaIuU
VtvzQsooiNOM9HbQWSgnF/yL+10j0Al2jYvst2Y7wXOHhBaMA7TusWY7rNsUmaqc
UtNXek7Kh/TFTDhTzNDjZHyXw9r8rx4a6rlMGSR9u/nOYRPs7egJ0v7oiF4Yl47X
View keybase.md

Keybase proof

I hereby claim:

  • I am adnissen on github.
  • I am adnissen (https://keybase.io/adnissen) on keybase.
  • I have a public key whose fingerprint is 6E5A 5EDF B38B E22A 8B6B 63C5 7719 13EC 3429 D935

To claim this, I am signing this object:

View gist:8424683
# this code doesn't work:
def install
# override any environmental vars, set our gopath to one we know will work
build_directory = buildpath/"build"
build_directory.mkpath
ENV["GOPATH"] = build_directory
system "echo", ENV["GOPATH"]
system "cd " + build_directory
system "go", "build", "-o", "hugo", "main.go"
View gist:7646165
//SINATRA ROUTE
post '/:name/auth/:key' do
markdown = params[:markdown]
page = pages.find_one("name" => "#{params[:name]}")
if page['password'] == "#{params[:key]}"
pages.update({"name" => "#{params[:name]}"}, {"$set" => {"markdown" => markdown}})
end
end
View gist:5685739
package
{
import flash.display.MovieClip;
import org.flixel.*;
/**
* ...
* @author Andrew Nissen
*/
public class AddictingGamesState extends FlxState
{
You can’t perform that action at this time.