Skip to content

Instantly share code, notes, and snippets.

View ETBlue's full-sized avatar

ETBlue ETBlue

View GitHub Profile
@ETBlue
ETBlue / meta-tags.md
Created September 3, 2016 13:50 — forked from kevinSuttle/meta-tags.md
List of Usable HTML Meta and Link Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content='your website's subject'>
<meta name='copyright' content='company name'>
@ETBlue
ETBlue / 填兩個坑.txt
Created July 7, 2016 13:32
填兩個坑.txt JUL 7TH, 2016 by anonymous
第二階段填坑
(一) 補上清查 pad 清單後部份 lost 掉的資料,請幫補填入 https://github.com/g0v/awesome-g0v/blob/master/readme.md (以下內容用md格式)
## Infrastructure / g0v 基礎建設
- [OneButton](https://github.com/g0v/OneButton) - 一鍵開大松
## Open Data Open Gov / 開放資料、開放政府
### 法制與政府組織(立法及法律、政府架構與人事、司法及判決)
I want to upgrade my personal Dropbox account, but the system asked me to sign in to my work account and then it just upgraded my work account without giving me a choice. Would you please bind my subscription to my personal account instead of my work account? I like my job but I really don't think I will stay here forever...
@ETBlue
ETBlue / error-msg-hackfoldr-deploy
Created August 4, 2014 08:33
error msg while running hackfoldr-2.0 deploy.bat on windows 7 64
C:\Users\ETBlue\Documents\GitHub\maker.moztw.org [master]> .\deploy.bat
C:\Users\ETBlue\Documents\GitHub\maker.moztw.org>for %X in (git.exe) do (set FOU
ND=%~$PATH:X )
C:\Users\ETBlue\Documents\GitHub\maker.moztw.org>(set FOUND=C:\Users\ETBlue\AppD
ata\Local\GitHub\PortableGit_054f2e797ebafd44a30203088cd3d58663c627ef\cmd\git.ex
e )
C:\Users\ETBlue\Documents\GitHub\maker.moztw.org>if not defined FOUND goto NOGIT
@ETBlue
ETBlue / Kaohsiung-explode-20140801-html-etblue
Created July 31, 2014 21:12
a html snapshot for Kaohsiung-explode-20140801 (hack.etblue.tw version)
<html><head>
<meta charset="utf-8">
<!-- libraries-->
<script type="text/javascript" src="/assets/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript" src="/assets/jquery-ui/1.11.0.custom/jquery-ui.min.js"></script>
<link rel="stylesheet" type="text/css" href="/assets/semantic-ui/0.19.0/css/semantic.min.css">
<script type="text/javascript" src="/assets/semantic-ui/0.19.0/javascript/semantic.min.js"></script>
<!-- custom files-->
<script type="text/javascript" src="/js/global.js"></script>
<script type="text/javascript" src="/js/csv.js"></script>
@ETBlue
ETBlue / Kaohsiung-explode-20140801-jade-etblue
Created July 31, 2014 21:07
a html snapshot converted to jade for Kaohsiung-explode-20140801 (hack.etblue.tw version)
nav#toc
.ui.vertical.menu.sortable
a.link.item(href='https://mapsengine.google.com/map/embed?mid=z1Pm7zQY-cpo.kYCosnL20JN0', target='iframe')
| 救災地圖
i.icon.map.marker
a.link.item(href='http://umap.fluv.io/en/map/kaohsiung-explode-20140801_1984', target='iframe')
| Umap版救災地圖
i.icon.map.marker
a.link.item(href='http://apkh.tw/fire/fire.php', target='iframe')
| 高市氣爆火警回報系統
@ETBlue
ETBlue / Kaohsiung-explode-20140801: Jade
Created July 31, 2014 21:00
a html snapshot converted to jade for Kaohsiung-explode-20140801
.hackid
i.icon.home
a.indexlink.expanded-content.ng-binding(ngx-final='ngx-final', target='_blank', ng-href='http://ethercalc.org/Kaohsiung-explode-20140801', href='http://ethercalc.org/Kaohsiung-explode-20140801') 高雄氣爆訊息統整
i.small.icon.triangle.visible.desktop.left(ng-class='{"right": collapsed, "left": !collapsed}')
ul.wrap.ng-pristine.ng-valid.ui-sortable(ng-model='tree', ui-sortable='sortableOptions')
// ngRepeat: doc in tree
li.ng-scope(ng-class='{active: doc.id == docId}', ngx-noclick='ngx-noclick', ng-title='救災地圖', ng-repeat='doc in tree')
// ngInclude: 'partials/hackitem.html'
.entry.ng-scope(ng-include='"partials/hackitem.html"')
// ngIf: doc.type == 'dummy'
@ETBlue
ETBlue / Kaohsiung-explode-20140801
Created July 31, 2014 20:56
a html snapshot for Kaohsiung-explode-20140801
<div class="hackid"><i class="icon home"></i>&nbsp;<a href="http://ethercalc.org/Kaohsiung-explode-20140801" ng-href="http://ethercalc.org/Kaohsiung-explode-20140801" target="_blank" ngx-final="ngx-final" class="indexlink expanded-content ng-binding">高雄氣爆訊息統整</a><i ng-class="{&quot;right&quot;: collapsed, &quot;left&quot;: !collapsed}" class="small icon triangle visible desktop left"></i></div><ul ui-sortable="sortableOptions" ng-model="tree" class="wrap ng-pristine ng-valid ui-sortable"><!-- ngRepeat: doc in tree --><li class="ng-scope" ng-repeat="doc in tree" ng-title="救災地圖" ngx-noclick="ngx-noclick" ng-class="{active: doc.id == docId}"><!-- ngInclude: 'partials/hackitem.html' --><div ng-include="'partials/hackitem.html'" class="entry ng-scope"><!-- ngIf: doc.type == 'dummy' --><!-- ngIf: doc.type != 'dummy' --><a ng-click="godoc(doc)" ngx-click-meta="open(doc)" ngx-final="ngx-final" ng-if="doc.type != 'dummy'" ng-class="{haschildren: doc.children}" class="link ng-scope"><img src="http://g.etfv.co/https://m
@ETBlue
ETBlue / tilt_jade.rb
Last active January 3, 2016 15:09
Put this file in your project folder which will be watched by Fire.app. If you are using Windows, change the user name "etblue" in line 18 and line 19 to your username.
require 'tilt'
require 'open3'
if defined? Serve
if !Serve::DynamicHandler.extensions.include?('jade')
App.alert('未載入 Jade Template engine, 請重開 Fire.app 後先 watch 這個專案')
end
end
module Tilt
class JadeTemplate < Template
@ETBlue
ETBlue / config.rb
Created January 17, 2014 20:42
Put this configuration file in your project folder which will be watched by Fire.app, or simply add the first 3 lines of this gist to your existing config.rb file.
require './tilt_jade.rb'
puts Tilt.mappings.inspect
# Require any additional compass plugins here.
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "public/css"
sass_dir = "sass"
images_dir = "public/img"