Skip to content

Instantly share code, notes, and snippets.

View gists-app-test's full-sized avatar

gists-app-test

View GitHub Profile
@gists-app-test
gists-app-test / 1.dup
Created September 12, 2012 14:27
identifiers
13822
17471
15871
18655
18219
18574
14647
13800
17967
15620
@jlbfalcao
jlbfalcao / gist:3706936
Created September 12, 2012 14:23
SSH Config + Forward + Compression
# add to ~/.ssh/config
Host yourhost
User root
HostName yourhost.domain
Compression yes
ForwardX11 yes
CompressionLevel 9
@dotnetdude
dotnetdude / di_pattern_Csharp.cs
Created September 12, 2012 14:21
Dependency Injection By Hand
/* Dependency Injection By HandNew Page Edit Page Page History
So what’s Ninject all about? First, let’s examine the idea of dependency injection by walking through a simple example.
Let’s say you’re writing the next blockbuster game, where noble warriors do battle for great glory.
First, we’ll need a weapon suitable for arming our warriors. */
class Sword
{
public void Hit(string target)
{
Console.WriteLine("Chopped {0} clean in half", target);
@getify
getify / 3.html
Created September 12, 2012 14:19
how "grips" templating handles it, in response to https://gist.github.com/3696453
{$: '#settings' }
<h1>Settings</h1>
{$* $.settings | name = _.key | options['low','high'] = _.value ? "checked" }
<h2>{$= name $}</h2>
{$* options }
<input type="radio" name="{$= name $}" value="{$= _.key $}" {$= _.value $}> {$= _.key $}
{$}
{$}
{$}
hostname "[JP] withgod's public server 01[CP+Badwater][PREMIUM only]"
sv_password "love2god"
rcon_password "yamamotoyuji"
tf_server_identity_account_id 56949
tf_server_identity_token "D.o9f%kfQVxG.m~"
tf_clamp_airducks 0
tf_use_fixed_weaponspreads 1
tf_weapon_criticals 1