put the function in your .zshrc or .bashrc and then
~ ia-save http://twitter.com/atomotic
https://web.archive.org/web/20140702123925/http://twitter.com/atomotic
#!/bin/bash | |
set -e | |
# Usage: | |
# rsync_parallel.sh [--parallel=N] [rsync args...] | |
# | |
# Options: | |
# --parallel=N Use N parallel processes for transfer. Defaults to 10. | |
# | |
# Notes: |
; /usr/local/bin/nasm -f macho 32.asm && ld -macosx_version_min 10.7.0 -o 32 32.o && ./32 | |
global start | |
section .text | |
start: | |
push dword msg.len | |
push dword msg | |
push dword 1 | |
mov eax, 4 |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string> | |
#include <stdarg.h> | |
#include <vector> | |
bool g_verbose = false; | |
// 再帰呼び出し使わない版 | |
int Ack(int m_input, int n_input) |
put the function in your .zshrc or .bashrc and then
~ ia-save http://twitter.com/atomotic
https://web.archive.org/web/20140702123925/http://twitter.com/atomotic
#=============================================================================== | |
# Filename: boost.sh | |
# Author: Pete Goodliffe | |
# Copyright: (c) Copyright 2009 Pete Goodliffe | |
# Licence: Please feel free to use this, with attribution | |
# Modified version | |
#=============================================================================== | |
# | |
# Builds a Boost framework for iOS, iOS Simulator, and OSX. | |
# Creates a set of universal libraries that can be used on an iOS and in the |
http = require 'https' | |
cookie = require 'cookie' | |
NotCen = require('node-notifier').NotificationCenter | |
notifier = new NotCen {withFallback: false, customPath: null} | |
name = "" # Your ID | |
password = "" # Your Password | |
if process.argv.length < 3 |
## 見出し2
### 見出し3
#### 見出し4
##### 見出し5
###### 見出し6 ## Block 段落 空白行を挟むことで段落となります。 ```
段落1
(空行)
段落2
``` 段落1 段落2 ## Br 改行 改行の前に半角スペース` `を2つ記述します。 ```
hoge
fuga(スペース2つ)
piyo
``` hoge
fuga piyo ## Blockquotes 引用 先頭に`>`を記述します。ネストは`>`を多重に記述します。 ```
> 引用 > 引用
>> 多重引用
``` > 引用 > 引用
>> 多重引用 ## Code コード `` `バッククオート` `` 3つ、あるいはダッシュ`~`3つで囲みます。 ```
print 'hoge'
``` ```
print 'hoge'
``` ### インラインコード `` `バッククオート` `` で単語を囲むとインラインコードになります。 ```
これは `インラインコード`です。
``` これは `インラインコード`です。 ## pre 整形済みテキスト 半角スペース4個もしくはタブで、コードブロックをpre表示できます ``` class Hoge def hoge print 'hoge' end end
``` class Hoge def hoge print 'hoge' end end ## Hr 水平線 アンダースコア`_` 、アスタリスク`*`、ハイフン`-`などを3つ以上連続して記述します。 ```
hoge
***
hoge
___
hoge
---
``` hoge
***
hoge
___
hoge
--- # Lists ## Ul 箇条書きリスト ハイフン`-`、プラス`+`、アスタリスク`*`のいずれかを先頭に記
#! /bin/bash | |
curl http://releases.llvm.org/6.0.0/llvm-6.0.0.src.tar.xz -O | |
tar xvzf llvm-6.0.0.src.tar.xz | |
rm llvm-6.0.0.src.tar.xz | |
cd llvm-6.0.0.src | |
# get clang | |
pushd tools | |
curl http://releases.llvm.org/6.0.0/cfe-6.0.0.src.tar.xz -O |
#以下の設定でbison, nkf, sl, nyancatがビルドできた | |
#bison, nkf, sl, nyancat were successfully built with following settings: | |
export SDKROOT=$(xcrun --sdk iphoneos --show-sdk-path) | |
export VER_MIN=11.2 | |
export CC=$(xcrun --sdk iphoneos --find clang) | |
export CXX=$(xcrun --sdk iphoneos --find clang++) | |
export LD=$(xcrun --sdk iphoneos --find ld) | |
export AR=$(xcrun --sdk iphoneos --find ar) |