- BracketHighlighter
- Git
- Markdown Preview
- SublimeCodeIntel
- sublimelint
- SublimeREPL
- SFTP
- Vintage (vim)
This file contains hidden or 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
.video-container { | |
position: relative; | |
padding-bottom: 56.25%; | |
padding-top: 30px; height: 0; overflow: hidden; | |
} | |
.video-container iframe, | |
.video-container object, | |
.video-container embed { | |
position: absolute; |
This file contains hidden or 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import requests | |
msg = '立法院今(6)日三讀通過軍事審判法修法,\ | |
國民黨立院黨團書記長賴士葆表示,經過朝野協商後,\ | |
同意軍審法修正「一次到位、兩階段實施」,他強調,\ | |
洪仲丘案將移審到一般司法法庭,公告後「馬上生效」,\ | |
同時司法單位也將成立專業法庭處理軍事案件,\ |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
import requests | |
vdata = 'BLuUuxHWtP8xGRKuUoF08Cbf8pKf3zRtKT88aYWcC9RKZnMFud4gXLXPPbEDVGn6BnX/cfzHC/WnBzGnAYFp6XkPSRlDJZ7U5kqJUg2TiW93zbBjnxpdXV+xMsTRwbryiERe+5skjRaWVgaLrIIKjgtUZvh2W7Nf4aIYM6gHMeQN8YyYM14NMzEYb9cy+W75u7pFBXP/zaonbb1Lc+/22V9tD+JYbyIzHgvZ9DmBvI13CA75OIsmpc3um5SmHNwSPpsyFtvmwVEgotJaGD+W2sfJxdCAKyL4YD73hiMJFwpD2ekcNMGDFSpijzu9MBuRumqhxsqKDZVbFZM98Zx+2izx4hW3emQILOnFs0USrnkzJwUNU9AgWjIRpXxfBvSuhlL51YtIPzDQXz3TA3zc7xZvEI8M/cPq7M6LBdePwXtzjvfLvs5nF5qDP0/EclV0zy/JONWsBxuCo0DjRxE4+d/tBYkxWrbu5rMxztxsuGkLYuHdAKSAMqfw0nogoOUHxWLghO8NN8lzQDor5p7ZNYZuv5BG5BQZGkiG+RuYkvHHtupxWdCdMV0/oniSGDzCMnVyRpbFVaH6xwMqcVouY7wgOIVc8MmgwH+nP/IP+Vc2tSSfRsmMuYElvtE8WoGDFafWSPtk8DLdhWPRg1rK6J9eiSQ+knqmYaGvVIWxOZfv75aRjRj/Cp4hFhFvkMqkp3X3vX9Dnu2nVku0olsj/O2CVWf6R6+XJnTBax4YrI6Ul0s6x2htv+WMjfobrkTjtiwZDO+PMK0s6Zf/IkCGaWw5TV7KasGJBisKyqH+euoR4trr1PkomHMk2loQkPRftgHcamMPw8QOZAriHKnpa+w4VKbmBQkay/YQTvWt2LVXB6Onk3Mb7NVXs6VU9bMprGfoIp+RuiVr+3IqL3Q38lAETRFc8B5gZgbY0cnTGA3b9Mp8pXtC8sOMqQ/34PszuX0OnSvkspRIUI |
This file contains hidden or 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import os | |
import requests | |
nick_name = '' | |
password = '' | |
uid = 0 |
This file contains hidden or 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
class A(Object): | |
def a(self): | |
logging.error('Fatal error!') | |
sys.exit(1) | |
class B(A): | |
def a(self): | |
call_specific_dialog() | |
super(B, self).a() | |
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset=utf-8"> | |
<title>test</title> | |
</head> | |
<body> | |
<form name="form" id="form" action="test.php" method="post" enctype="multipart/form-data"> | |
<label for="file">file</label><input type="file" name="file" id="file" onchange="this.form.submit();"/> | |
</form> |
This file contains hidden or 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
4/19 | |
What beginners teach us | |
OpenStack 101 | |
Percona XtraDB Cluster 入門 | |
我如何停止憂慮並愛上 Non-MVC Web Framework | |
讓系統千變萬化的作業環境 | |
Game Jam and Open Source | |
第一次 setup openstack + lxc 就上手 | |
Functional Programming Using Underscore.js |
This file contains hidden or 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
if (!($ = window.jQuery)){ // typeof jQuery=='undefined' works too | |
script = document.createElement( 'script' ); | |
script.src = 'http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js'; | |
script.onload=dosomething; | |
document.body.appendChild(script); | |
} | |
else{ | |
dosomething(); | |
} | |