Moved here: https://github.com/rmndk/flac2mp3
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
import cheerio from 'cheerio-without-node-native'; | |
const convertRequestBodyToFormUrlEncoded = (data) => { | |
const bodyKeys = Object.keys(data); | |
const str = []; | |
for (let i = 0; i < bodyKeys.length; i += 1) { | |
const thisKey = bodyKeys[i]; | |
const thisValue = data[thisKey]; | |
str.push(`${encodeURIComponent(thisKey)}=${encodeURIComponent(thisValue)}`); |
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
#import "UIImage+QRCode.h" | |
#import <CoreImage/CoreImage.h> | |
@implementation UIImage (QRCode) | |
+ (instancetype)imageWithQRCode:(NSString *)code | |
{ | |
if (code.length == 0) return nil; | |
NSData *data = [code dataUsingEncoding:NSUTF8StringEncoding]; |
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 | |
SDK='iphoneos' | |
CONFIGURATION='Release' | |
IDENTITY="iPhone Developer" | |
GIT_BINARY='git' | |
REMOTE_HOST='http://hal.ciklum.net' | |
#http://github.com/baz/ios-build-scripts/raw/master/generate_manifest.py | |
MANIFEST_SCRIPT='/usr/local/bin/generate_manifest.py' | |
WEB_DIR="/Users/$USER/web" |