[ Launch: SO stacked bar chart with padding ] aa447fe9d05f747936fa by rismay[ Launch: stacked bar chart with padding ] 5816972 by elsherbini
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/perl | |
use Mysql; | |
use strict; | |
use vars qw($school_name); | |
use vars qw($pass); | |
require "./cgi-lib.pl"; |
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
// @interface | |
// Declare Private property | |
@property (nonatomic) UIBackgroundTaskIdentifier backgroundTask; | |
//@end | |
// ... | |
// Copy into | |
//@implementation |
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
#define WSM_SINGLETON_WITH_NAME(sharedInstanceName) \ | |
+ (instancetype) sharedInstanceName { \ | |
static id sInstance; \ | |
static dispatch_once_t onceToken; \ | |
dispatch_once(&onceToken, ^{ \ | |
sInstance = [[self alloc] init]; \ | |
}); \ | |
return sInstance; \ | |
} \ |
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/bash | |
if [ -n "$(find "$PROJECT_DIR" \! -path "*xcuserdata*" \! -path "*.git" -newer "$INFOPLIST_FILE")" ]; then | |
versionNumber=$(/usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" "$INFOPLIST_FILE") | |
versionNumber=`echo $versionNumber +0.01|bc` | |
/usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString $versionNumber" "$INFOPLIST_FILE" | |
buildNumber=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion" "$INFOPLIST_FILE") | |
buildNumber=$((0x$buildNumber)) | |
buildNumber=$(($buildNumber + 1)) | |
buildNumber=$(printf "%X" $buildNumber) |
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
//You should pick one style to use consistantly in your project | |
//Lazy Intantiation as a C Macro clearly explaining the concept | |
#define WSM_LAZY(variable, assignment) (variable = variable ?: assignment) | |
//Lazy Intantiation as a C Macro clearly explaining the language syntax used | |
#define WSM_TERNARY(variable, assignment) (variable = variable ?: assignment) | |
//Lazy Intantiation as a semi-operator w/class prefix | |
#define WSM_$(variable, assignment) (variable = variable ?: assignment) |
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
git filter-branch -f --env-filter "GIT_AUTHOR_NAME='Cristian A Monterroza'; GIT_AUTHOR_EMAIL='[email protected]'; GIT_COMMITTER_NAME='Cristian A Monterroza'; GIT_COMMITTER_EMAIL='[email protected]';" HEAD |
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
# template.rb | |
#------------------- | |
## GEMS | |
#------------------- | |
gem 'bcrypt' | |
gem 'pry-rails' | |
gem_group :development do |
[ Launch: Tributary inlet ] c33d643ca602ae103ec8 by rismay
[ Launch: test ] b2e8926db3ac26b887ab by rismay[ Launch: test ] 4653053 by enjalot[ Launch: test ] 4652017 by enjalot[ Launch: test ] 4582399 by enjalot
OlderNewer