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
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.Networking; | |
public class NewBehaviourScript : NetworkBehavior { | |
// Use this for initialization | |
void Start () { | |
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
-----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 |
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
# 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" |
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
//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 | |
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 | |
{ | |
import flash.display.MovieClip; | |
import org.flixel.*; | |
/** | |
* ... | |
* @author Andrew Nissen | |
*/ | |
public class AddictingGamesState extends FlxState | |
{ |
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
# -*- coding: utf-8 -*- | |
""" | |
Handler class for processing built-in commands and delegating messages. | |
""" | |
from __future__ import absolute_import, division, unicode_literals | |
import re | |
import logging | |
from random import choice |
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
alert('hi'); |
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
alert('hello world!'); |
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
<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){ %> |
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
-----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 |
NewerOlder