- 创建: [2013-3-15, 10:00]
- Objective-C 基础知识
- 创建一个简单的App并进行测试
- 如何将应用发布到App Store
passwd | |
systemctl enable sshd.service | |
systemctl start sshd.service | |
parted -s /dev/sda mklabel gpt | |
parted -s /dev/sda mkpart "primary" "fat16" "50MB" "60MB" | |
parted -s /dev/sda mkpart "primary" "ext4" "1%" "99%" | |
parted -s /dev/sda set 1 bios_grub on | |
mkfs.ext4 /dev/sda2 |
Blabla... thread is tiny process that share the memory.
# 从 Oracle 官方网站下载下列文件: | |
# | |
# oracle-instantclient11.2-basic-11.2.0.3.0-1.x86_64.rpm | |
# oracle-instantclient11.2-devel-11.2.0.3.0-1.x86_64.rpm | |
# oracle-instantclient11.2-sqlplus-11.2.0.3.0-1.x86_64.rpm | |
# 安装 Oracle 客户端 | |
rpm -ivh oracle-instantclient11.2-basic-11.2.0.3.0-1.x86_64.rpm | |
rpm -ivh oracle-instantclient11.2-devel-11.2.0.3.0-1.x86_64.rpm |
# Created at: [2013-04-28 10:00] | |
# Updated at: [2015-11-26 10:39] | |
# Updated at: [2016-01-29 23:51] | |
set -g utf8 | |
set-window-option -g utf8 on | |
# Common | |
set -g mode-keys vi | |
set-option -g default-shell $TMUX_SHELL # In ~/.bashrc :: export TMUX_SHELL='/usr/local/bin/zsh' |
import os | |
from flask import Flask, send_from_directory | |
app = Flask(__name__) | |
@app.route('/upload/<path:filename>') | |
def send_uploads(filename): | |
print filename | |
return send_from_directory(os.path.join(app.root_path, 'upload'), filename) |
import QtQuick 1.1 | |
Item { | |
width: 200 | |
height: 300 | |
ListView { | |
anchors.fill: parent | |
model: nestedModel | |
delegate: categoryDelegate |
#download the JDK | |
#oracle's rpm.bin gets pulled down as corrupt..zzz | |
#wget --no-cookies --header "Cookie: gpw_e24=xxx" "http://download.oracle.com/otn-pub/java/jdk/7/jdk-7-linux-x64-rpm.bin" -O jdk-7-linux-x64-rpm.bin | |
#updated for version 7u11 | |
wget --no-check-certificate --no-cookies --header "Cookie: gpw_e24=xxx" http://download.oracle.com/otn-pub/java/jdk/7u11-b21/jdk-7u11-linux-x64.rpm -O jdk-7u11-linux-x64.rpm | |
sudo rpm -ivh jdk-7u11-linux-x64.rpm | |
sudo alternatives --install /usr/bin/java java /usr/java/default/bin/java 20000 |