Skip to content

Instantly share code, notes, and snippets.

@youngshook
youngshook / Automatic_distribution_and_upload.sh
Last active April 11, 2016 02:07
Automatic Distribution of In-House and upload .ipa to web server( fir.im )
#/bin/sh
# Update: 2014-06-24
# Author: YoungShook
# compress application.
if [ "${CONFIGURATION}" = "Release" ]; then
# Local Display App Name And Default Icon@2x.png ------------ need developer custom
ICON_NAME="Icon-76@2x.png"
@memorycraft
memorycraft / gmcomposite.js
Created February 10, 2014 22:01
gm:合成処理のモジュール化
//合成処理のモジュール化
var spawn = require('child_process').spawn
var fs = require('fs');
//子プロセスで処理
var gmcomposite = function(change_path, base_path, mask_path, output_path, callback) {
var c = spawn('gm', ['composite', '-quality', 100, '-geometry', '+0+0', change_path, base_path, output_path]);
c.stderr.on('data', function(data) {
console.log('stderr: ' + data);
})
@shenqiliang
shenqiliang / baseband-sms
Created March 7, 2014 17:04
利用iPhone基带发送短信息
#import <Foundation/Foundation.h>
#import <termios.h>
#import <time.h>
#import <sys/ioctl.h>
@implementation NSString(UCS2Encoding)
- (NSString*)ucs2EncodingString{
NSMutableString *result = [NSMutableString string];
@andreacremaschi
andreacremaschi / UITableView+Header
Last active June 28, 2020 04:19
UITableView category to resize table view header using autolayout
UITableView convenience classes for resizing header and footer with autolayout.
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head>
<title>Subscriptions - WHY</title>
</head>
<body>
<outline text="cool" title="cool">
<outline htmlUrl="http://kedebug.com/" title="kedebug" xmlUrl="http://kedebug.com/atom.xml" type="rss" text="kedebug"/>
<outline htmlUrl="http://lucida.me/" title="Lucida" xmlUrl="http://lucida.me/atom.xml" type="rss" text="Lucida"/>
<outline htmlUrl="http://www.alloyteam.com" title="Web前端 腾讯AlloyTeam Blog | 愿景: 成为地球卓越的Web团队!" xmlUrl="http://www.alloyteam.com/feed/" type="rss" text="Web前端 腾讯AlloyTeam Blog | 愿景: 成为地球卓越的Web团队!"/>