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
# Require any additional compass plugins here. | |
project_type = :stand_alone | |
# Publishing paths | |
http_path = "/" | |
http_images_path = "http://cdn.warthurton.com/images" | |
http_fonts_path = "http://cdn.warthurton.com/fonts" | |
css_dir = "http://cdn.warthurton.com/public/stylesheets" | |
# Local development paths |
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
# Make it use C-a, similar to screen.. | |
unbind C-b | |
unbind l | |
set -g prefix C-a | |
bind-key C-a last-window | |
bind-key a send-prefix | |
set -g base-index 1 | |
# Reload key |
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
public boolean isBooleanFalse(boolean value) { | |
boolean response = false; | |
if (value == true) { | |
response = false; | |
} else { | |
response = true; | |
} | |
return response; | |
} |
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 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
@echo off | |
nircmdc speak text "hello" | |
echo %errorlevel% | |
pause | |
nircmdc speak text "goodbye" | |
echo %errorlevel% | |
pause |
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
@echo off | |
setlocal enableextensions | |
call nircmdc speak text "hello" | |
echo %errorlevel% | |
pause | |
call nircmdc speak text "goodbye" | |
echo %errorlevel% | |
pause |
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
N ew test gist |
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
/// <reference path="../GeneratedArtifacts/viewModel.js" /> | |
myapp.BrowsePerson.PeopleCommanding_ItemTap_execute = function (screen) { | |
$.post("../api/Command/FirstCommand", | |
{ Parameter1: screen.People.selectedItem.Id, Parameter2: screen.People.selectedItem.FirstName }, | |
function (data) { | |
if (data != null) { | |
screen.CommandReturn = data.Parameter2.toString(); | |
return true; | |
} |
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
- (NSInteger)colorNumber | |
{ | |
if (_colorNumber < 0) { | |
NSString *hashName = self.nickname.lowercaseString; | |
if ([RZUserDefaults() boolForKey:@"UUIDBasedNicknameColorHashing"]) { | |
hashName = [NSString stringWithUUID]; | |
} | |
self.colorNumber = (hashName.hash % _colorNumberMax); |
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
#!/usr/bin/ruby | |
# Example custom processor for use with Marked <http://markedapp.com> and Jekyll _posts | |
# It's geared toward my personal set of plugins and tags, but you'll get the idea. | |
# It turns | |
# {% img alignright /images/heythere.jpg 100 100 "Hey there" "hi" %} | |
# into | |
# <img src="../images/heythere.jpg" alt="Hey there" class="alignright" title="hi" /> | |
# | |
# replaces alignleft and alignright classes with appropriate style attribute | |
# --- |