Skip to content

Instantly share code, notes, and snippets.

@searls
searls / git-undo
Last active June 19, 2018 09:57
git undo script -- obviously git lacks a real undo feature, but sometimes in a moment frustration it can be worrying to not have the most common commands in mind after one makes a mistake. Just add a file named `git-undo` to a directory on your PATH and then run it with `git undo`
View git-undo
#!/usr/bin/env bash -e
cat <<TEXT
Git has no undo feature, but maybe these will help:
===================================================
## Unstage work
Unstage a file
View Makefile
# Hello, and welcome to makefile basics.
#
# You will learn why `make` is so great, and why, despite its "weird" syntax,
# it is actually a highly expressive, efficient, and powerful way to build
# programs.
#
# Once you're done here, go to
# http://www.gnu.org/software/make/manual/make.html
# to learn SOOOO much more.
@toolbear
toolbear / Tim Taylor's Resume.markdown
Last active May 15, 2016 22:46
Curriculum Vitae
View Tim Taylor's Resume.markdown

#Tim Taylor

Ship it!

The trajectory of my software development career can be distilled to this phrase: Ship it.

@jedi4ever
jedi4ever / upload-to-appstore.sh
Created August 18, 2014 12:13
Command upload App/Ipa to the iTunes Connect App Store
View upload-to-appstore.sh
#!/bin/bash
set -ex
# This scripts allows you to upload a binary to the iTunes Connect Store and do it for a specific app_id
# Because when you have multiple apps in status for download, xcodebuild upload will complain that multiple apps are in wait status
# Requires application loader to be installed
# See https://developer.apple.com/library/ios/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/Chapters/SubmittingTheApp.html
# Itunes Connect username & password
USER=bla
@toolbear
toolbear / toolbear.pub
Last active April 5, 2016 16:55
PGP Key
View toolbear.pub
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org
mQINBFPLkJUBEADDMQ1XVPZ4LkEZiFLNLoUG2yEX0RHynfzpwdiSwLv0Uts0ue5w
quzDsXItH82oLNhS7KvqP7+tXTk7OnhUirc7+WhgNCAy2HzA2Ro6PYykA753EvSI
MF1wPB+chw/4faJaDYpeVdBWfa04wsvNTSRlN6BAQK6eQFvQbmtgJxbCf7SlEqgi
VWeVcqagFM4c3Ovwd3U9cVnZI/Lti0FJxolNa+ffMwoclXv7PxytBgJqPrR+e4pK
+lezrGhSHHq13RQSNuB9wKYlLFbw+UlSQ2QwfWMt82IWT3ttQkTGf86kTmLtCf5e
avNt05hflSRd3KmrA6huq6lCREroTUmgwLAADX0Sr43hySES0L8SEkIgxv5BFFNQ
@toolbear
toolbear / keybase.md
Last active April 5, 2016 16:55
Keybase Proof
View keybase.md

Keybase proof

I hereby claim:

  • I am toolbear on github.
  • I am toolbear (https://keybase.io/toolbear) on keybase.
  • I have a public key whose fingerprint is D8E1 B2BB 8F9D 8392 4BCA 454C 6F36 6DFC 483C 6D67

To claim this, I am signing this object:

@JagCesar
JagCesar / .travis.yml
Last active April 29, 2016 15:26 — forked from johanneswuerbach/.travis.yml
Deploy to Testflight using Travis-CI
View .travis.yml
language: objective-c
before_script:
- chmod +x scripts/travis/add-key.sh
- chmod +x scripts/travis/remove-key.sh
- chmod +x scripts/travis/testflight.sh
- ./scripts/travis/add-key.sh
script: xctool -workspace [Workspace name].xcworkspace -scheme '[Scheme to use]' -configuration [Build configuration name] -sdk iphoneos7.1 CONFIGURATION_BUILD_DIR='~/build/' build
after_success:
- ./scripts/travis/testflight.sh
after_script:
@toolbear
toolbear / toolbear.pub
Last active March 5, 2019 01:31
SSH Key
View toolbear.pub
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINSgEr/dBoBJTNV4asjKS1WQ0gPuDCZ6vKLoS/mpRtUz toolbear
@toolbear
toolbear / toolbear-binary.md
Last active April 5, 2016 16:55
toolbear in binary
View toolbear-binary.md
01110100 01101111 01101111 01101100 01100010 01100101 01100001 01110010
@johanneswuerbach
johanneswuerbach / .travis.yml
Last active April 14, 2023 20:31
Deploy an iOS app to testflight using Travis CI
View .travis.yml
---
language: objective-c
before_script:
- ./scripts/travis/add-key.sh
after_script:
- ./scripts/travis/remove-key.sh
after_success:
- ./scripts/travis/testflight.sh
env:
global: