Skip to content

Instantly share code, notes, and snippets.

View mwhuss's full-sized avatar

Marshall Huss mwhuss

View GitHub Profile
@mwhuss
mwhuss / recruiters.md
Last active August 29, 2015 14:26
Recruiters...

Hello,

Thanks for your interest in me to fill your open position, I'm sure it would be a great fit. If you truly think I'm the best candidate for the job then see the link below for how to contact me. If you can solve the puzzle then I will be more than willing to schedule a time to talk with you.

Click here for contact info

Thanks! Marshall

if [ "${CONFIGURATION}" = "Release" ]; then
echo "Running Crashlytics"
./Pods/CrashlyticsFramework/Crashlytics.framework/run sekret
else
echo "Not running Crashlytics for ${CONFIGURATION}"
fi
@mwhuss
mwhuss / gist:7b5906f2f9a9598671b1
Created November 1, 2014 18:33
Xcode Bot with Cocoapods
export LC_ALL="en_US.UTF-8"
# Put the git repo name instead of “reponame” variable
cd reponame
pod install
@mwhuss
mwhuss / opensim.sh
Created September 22, 2014 15:23
opensim script updated for Xcode 6
#!/bin/sh
if [ -z "$1" ]; then
echo "usage: $0 [ Preferences | ]"
else
base=~/Library/Developer/CoreSimulator/Devices
apps=Applications
app=`ls -1td "$base/"*"/Data/$apps/"*"/$1.app" | head -1`
echo $app
if [ -n "$app" ]; then
@mwhuss
mwhuss / set_bundle_version.rb
Created September 11, 2014 15:15
Set app build number
#encoding: UTF-8
#!/usr/bin/ruby
# xcode-git-cfbundleversion.rb
# Update CFBundleVersion in Info.plist file with short Git revision string
#
# This is based on
# http://github.com/guicocoa/xcode-git-cfbundleversion/
# http://github.com/digdog/xcode-git-cfbundleversion/
# http://github.com/jsallis/xcode-git-versioner
# http://github.com/juretta/iphone-project-tools/tree/v1.0.3
Hello Marshall,
This is R___ A___ and i am impressed by things you do at teamtreehouse,thanks for the contribution towards them,i love them and also roon.io is an exceptional product,minimalistic and beautiful (I didnt make this) .I would want some advice from you if thats okay with you,i want to develop my algorithm building skills and then being able to convert that into a program,so basically turning abstract ideas in my mind to programs,mostly in all books and videos I have seen,they just jump on teaching a specific language and then a programming example,what I want to learn first is how to THINK LIKE A PROGRAMMER,develop problem solving skills,could you help me on how should i go about it?
@mwhuss
mwhuss / review-times.coffee
Last active August 29, 2015 14:03
hubot app review times
# Description:
# Fetch iOS App Store average review times.
#
# Commands:
# bot review times
# bot review time
#
# deps: "scraper": "~0.0.9"
scraper = require 'scraper'
func add(a: Int, b: Int) -> Int {
return a + b
}
add(1, 2)
/// -----
func add(#a: Int, #b: Int) -> Int {
return a + b
extern NSString * const MWHHTMLViewLinkAttributeName;
@interface MWHHTMLView : UIView
@property (nonatomic, copy) NSString *html;
@property (nonatomic, copy) NSAttributedString *attributedText;
@property (nonatomic, strong) UIFont *font;
@property (nonatomic, strong) UIColor *textColor;
@property (nonatomic, strong) UIColor *linkColor;
@property (nonatomic, assign) NSUnderlineStyle underlineStyle;
// html is <p><a href='http://google.com'>Bacon</a></p>
Printing description of attrString:
Bacon{
NSColor = "UIDeviceRGBColorSpace 0.5 0 0.5 1";
NSFont = "<UICTFont: 0xc8bc190> font-family: \"GothamRounded-Medium\"; font-weight: normal; font-style: normal; font-size: 15.00pt";
NSKern = 0;
NSLink = "http://google.com/";
NSParagraphStyle = "Alignment 4, LineSpacing 10, ParagraphSpacing 0, ParagraphSpacingBefore 10, HeadIndent 0, TailIndent 0, FirstLineHeadIndent 0, LineHeight 0/0, LineHeightMultiple 0, LineBreakMode 0, Tabs (\n 10L\n), DefaultTabInterval 10, Blocks (null), Lists (null), BaseWritingDirection -1, HyphenationFactor 0, TighteningFactor 0, HeaderLevel 0";
NSStrokeColor = "UIDeviceRGBColorSpace 0.317647 0.568627 0.737255 1";