Skip to content

Instantly share code, notes, and snippets.

@erikzaadi
erikzaadi / tmuxinator_project.yml
Created April 4, 2012 07:16
Tmuxinator Project
# ~/.tmuxinator/project.yml
# you can make as many tabs as you wish...
project_name: Guybrush
project_root: /path/to/code
pre: #you can fire up db or env initializations here
tabs:
- editor:
layout: main-vertical
panes:
@erikzaadi
erikzaadi / controller.coffee
Created December 21, 2011 13:01
Rest-ish render for Railway JS
load 'application'
restRender = use('restRender')
action 'fetchMeSomething', () ->
model = { something : 'else' }
restRender model
@erikzaadi
erikzaadi / MD5AsExtension.cs
Created December 9, 2010 08:01
A one liner method for MD5 Hashing / performance / verbose approach?
public static string ToMD5(this string input)
{
//comment about this
var sb = new System.Text.StringBuilder();
//comment about that
var md5 = System.Security.Cryptography.MD5.Create();
var bytesFromInput = System.Text.Encoding.Unicode.GetBytes(input);
var hashedBytes = md5.ComputeHash(bytesFromInput);
/* -----------------------------------------------------------------------
Blueprint CSS Framework 0.9
http://blueprintcss.org
* Copyright (c) 2007-Present. See http://github.com/joshuaclayton/blueprint-css/raw/master/LICENSE for more info.
* For credits and origins, see http://github.com/joshuaclayton/blueprint-css/blob/master/AUTHORS.textile.
----------------------------------------------------------------------- */
protected void TestGistCreation()
{
//Github FTW!
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Test Shadow</title>
<style type="text/css">
.Shadowed
{
-moz-box-shadow: 2px 2px 10px #000;
-webkit-box-shadow: 2px 2px 10px #000;
-webkit-border-radius: 4px;
<?xml version='1.0' encoding='UTF-8' ?>
<adorProperties version="1.0">
<adors>
<ador>
<name>Adresse</name>
<isDial>true</isDial>
<displayName>Adresse</displayName>
</ador>
<ador>
<name>Anrede</name>
<?xml version="1.0" encoding="UTF-8"?>
<adorProperties version="1.0"><adors><ador><name>FirstName</name><isDial>true</isDial><displayName>FirstName</displayName></ador><ador><name>LastName</name><isDial>true</isDial><displayName>LastName</displayName></ador><ador><name>DestPicture</name><isDial>true</isDial><displayName>DestPicture</displayName><options><option><displayName>foxtrot</displayName><value>http://localhost:80/XMPieuEditSample/Proxy/FlashCompatibleImageProxy.aspx?UProduceServer=wouldntputmyservernameonagist&amp;UProduceUser=erik&amp;UProducePassword=wouldntputmypasswordonagist&amp;FilePath=%5c%5cwouldntputmyservernameonagist%5cXMPieuEditShared%5cfoxtrot.jpg</value></option><option><displayName>XMPieLogo</displayName><value>http://localhost:80/XMPieuEditSample/Proxy/FlashCompatibleImageProxy.aspx?UProduceServer=wouldntputmyservernameonagist&amp;UProduceUser=erik&amp;UProducePassword=wouldntputmypasswordonagist&amp;FilePath=%5c%5cwouldntputmyservernameonagist%5cXMPieuEditShared%5cXMPieLogo.jpg</value
<?xml version="1.0" encoding="utf-16"?>
<adorProperties version="1.0">
<adors>
<ador>
<name>DestPicture</name>
<custom>http://localhost:80/XMPieuEditSample/Proxy/FlashCompatibleImageProxy.aspx?UProduceServer=erikbc&amp;UProduceUser=erik&amp;UProducePassword=letsnotputthepasswordonagist&amp;FilePath=%5c%5cohmythisisapath%5cXMPieuEditShared%5cfoxtrot.jpg</custom>
</ador>
</adors>
</adorProperties>
[INFO] --------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] --------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.scala-lang:scala-library:jar:2.7.4
Try downloading the file manually from the project website.