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
/* Font Awesome | |
the iconic font designed for use with Twitter Bootstrap | |
------------------------------------------------------- | |
The full suite of pictographic icons, examples, and documentation | |
can be found at: http://fortawesome.github.com/Font-Awesome/ | |
License | |
------------------------------------------------------- | |
The Font Awesome webfont, CSS, and LESS files are licensed under CC BY 3.0: | |
http://creativecommons.org/licenses/by/3.0/ A mention of |
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
Image image = Image.FromStream(file.InputStream); | |
var path = Server.MapPath("~/App_Data/Files"); | |
image.Save(Path.Combine(path, Path.GetFileName("test.png")), System.Drawing.Imaging.ImageFormat.Png); |
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
void WriteProperty(CodeGenerationTools code, EdmProperty edmProperty) | |
{ | |
var type = code.Escape(edmProperty.TypeUsage); | |
if((type == "byte" || type == "Nullable<byte>" || type == "byte?") && code.Escape(edmProperty).ToLower().StartsWith("is")) | |
{ | |
var name = code.Escape(edmProperty); | |
name = "_" + Char.ToLower(name[0]) + name.Substring(1); | |
#> | |
private <#=type#> <#=name#> { get; set; } |
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
#!/bin/sh | |
repo="https://github.com/theblacksmith/yii-boilerplate.git" | |
project="" | |
template="" | |
function usage | |
{ | |
echo "\nYii-boilerplate (by theblacksmith)\n\n" | |
echo "Usage:" |
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
npm ERR! git clone git@github.com:trabian/stitch.git Cloning into '/tmp/npm-1338221487054/1338221492364-0.7780230774078518'... | |
npm ERR! git clone git@github.com:trabian/stitch.git | |
npm ERR! git clone git@github.com:trabian/stitch.git Permission denied (publickey). | |
npm ERR! git clone git@github.com:trabian/stitch.git fatal: The remote end hung up unexpectedly | |
npm ERR! Error: `git "clone" "git@github.com:trabian/stitch.git" "/tmp/npm-1338221487054/1338221492364-0.7780230774078518"` failed with 128 | |
npm ERR! at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/exec.js:58:20) | |
npm ERR! at ChildProcess.emit (events.js:70:17) | |
npm ERR! at maybeExit (child_process.js:362:16) | |
npm ERR! at Process.onexit (child_process.js:398:5) |
NewerOlder