Since Twitter doesn't have an edit button, it's a suitable host for JavaScript modules.
Source tweet: https://twitter.com/rauchg/status/712799807073419264
const leftPad = await requireFromTwitter('712799807073419264');
;;; 只在 Org 8.2.10 測試過 | |
;;; 應該可以放到 org-load-hook 之類的地方吧... | |
;; 允許中文全形標點緊接在 emphasis marker 前後 (i.e. pre-, post-match) | |
;; 例: ,*中文* 或 +測試+。 | |
(setcar (nthcdr 0 org-emphasis-regexp-components) " \t('\"{、,。:;?「」『』〈〉《》>【】﹝﹞") | |
(setcar (nthcdr 1 org-emphasis-regexp-components) "- \t.,:!?;'\")}\\、,。:;?「」『』〈〉《》【】﹝﹞") | |
;; 允許 , ' " 這三個標點出現在緊臨 emmphasis marker 內側的位置 | |
;; 例: ="= 或 =123"= | |
(setcar (nthcdr 2 org-emphasis-regexp-components) " \t\r\n") |
# Step 1: Install the following 3rd party prerequisites, you can get these from macports: | |
# | |
# sudo port install libpng | |
# sudo port install libsdl_ttf | |
# sudo port install libsdl_mixer | |
# | |
# Step 2: Download and unzip Vulture Nethack source from http://www.darkarts.co.za/vulture-for-nethack | |
# | |
# Step 3: Place this file at the base of the unzipped vulture nethack source directory, and run it: | |
# sh vulture-nethack-mac-build.sh |
Moved to a proprer repositoy, TSWS is a real boy now! | |
https://github.com/dfletcher/tsws | |
PRs welcomed. |
@interface UIPreviewForceInteractionProgress : NSObject | |
- (void)endInteraction:(BOOL)arg1; | |
@end | |
@interface UIPreviewInteractionController : NSObject | |
@property (nonatomic, readonly) UIPreviewForceInteractionProgress *interactionProgressForPresentation; |
#!/bin/bash --login | |
# Cf. http://stackoverflow.com/questions/33041109 | |
# | |
# Xcode 7 (incl. 7.0.1) seems to have a dependency on the system ruby. | |
# xcodebuild is screwed up by using rvm to map to another non-system | |
# ruby†. This script is a fix that allows you call xcodebuild in a | |
# "safe" rvm environment, but will not (AFAIK) affect the "external" | |
# rvm setting. | |
# |
# this is a sample .curlrc file | |
# https://everything.curl.dev/ is a GREAT RESOURCE | |
# store the trace in curl_trace.txt file. beware that multiple executions of the curl command will overwrite this file | |
--trace curl_trace.txt | |
# store the header info in curl_headers.txt file. beware that multiple executions of the curl command will overwrite this file | |
--dump-header curl_headers.txt | |
#change the below referrer URL or comment it out entirely |
# EdgeOS v1.9 Google Fiber Config Script | |
# by Steve Jenkins (http://www.stevejenkins.com/) | |
# Last updated: Aug 14, 2016 | |
# Based on settings & scripts by Atlantisman, TK, and CompTech | |
# RUN THIS SCRIPT AS ROOT ON YOUR EDGEROUTER | |
# Script runs best if you copy and paste in sections | |
#______________________Basic Firewall Setup_______________________________ | |
configure |
Since Twitter doesn't have an edit button, it's a suitable host for JavaScript modules.
Source tweet: https://twitter.com/rauchg/status/712799807073419264
const leftPad = await requireFromTwitter('712799807073419264');
area_data = { | |
'臺北市': [ | |
'中正區', '大同區', '中山區', '萬華區', '信義區', '松山區', '大安區', '南港區', '北投區', '內湖區', '士林區', '文山區' | |
], | |
'新北市': [ | |
'板橋區', '新莊區', '泰山區', '林口區', '淡水區', '金山區', '八里區', '萬里區', '石門區', '三芝區', '瑞芳區', '汐止區', '平溪區', '貢寮區', '雙溪區', '深坑區', '石碇區', '新店區', '坪林區', '烏來區', '中和區', '永和區', '土城區', '三峽區', '樹林區', '鶯歌區', '三重區', '蘆洲區', '五股區' | |
], | |
'基隆市': [ | |
'仁愛區', '中正區', '信義區', '中山區', '安樂區', '暖暖區', '七堵區' | |
], |
###################### | |
# Create log file | |
###################### | |
exec > ~/Desktop/tmp/UniversalBuild_Log_$(date +"%Y%m%d%H%M%S").log 2>&1 | |
###################### |