Skip to content

Instantly share code, notes, and snippets.

View poctec's full-sized avatar

Falk Lange poctec

View GitHub Profile
@thbar
thbar / outdated.exs
Created June 18, 2015 07:32
Running a command and capturing output with Elixir
# not sure how yet to capture the output and stream it back
IO.puts "Calling..."
{ output, exit_code } = System.cmd("bundle", ["outdated"])
IO.puts "Exit code is #{exit_code}"
IO.puts "Output is #{output}"
@matthiasplappert
matthiasplappert / uikonf2014-slides.md
Last active November 28, 2018 13:04
UIKonf 2014 Slides
@smugmug-api-docs
smugmug-api-docs / .gitignore
Last active May 4, 2024 17:43 — forked from chestone/common.py
OAuth 1.0a Example Code for the SmugMug API
ENV
__pycache__
*.json
!example.json
@drewmccormack
drewmccormack / NSString+MCHTMLToPlainTextConversion.h
Created October 5, 2012 14:29
Convert a NSString with HTML into a plain text string using NSXMLParser.
#import <Foundation/Foundation.h>
@interface NSString (MCHTMLToPlainTextConversion)
-(NSString *)stringByConvertingHTMLToPlainText;
@end