Skip to content

Instantly share code, notes, and snippets.

show_welcome: false
use_version: 0.12
use_specify_gem_path: false
notifications:
- :error
- :warnings
save_notification_to_file: false
services:
- :http
- :livereload
h1 { /* Your selector */
font-family:"Some Custom Font", serif;
text-shadow:0 0 1px transparent;
/*或如果您需要用0px hard shadow,
* 就可以使用多重text shadows */
text-shadow:0 0 0 #f00, 0 0 1px transparent;
}
@maylogger
maylogger / fake_data.yml
Created June 28, 2012 12:57 — forked from tka/fake_data.yml
fire app fake data
- title: 測試活動
date: "2012-01-05"
- title: uicafe
date: "2012-06-05"
- title: RGBA
date: "2012-07-05"
<link href="/css/bootstrap.css" rel="stylesheet">
<style>
body {
padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
}
</style>
<link href="/css/bootstrap-responsive.css" rel="stylesheet">
Process: Safari [518]
Path: /Applications/Safari.app/Contents/MacOS/Safari
Identifier: com.apple.Safari
Version: 5.1.2 (7534.52.7)
Build Info: WebBrowser-7534052007000000~1
Code Type: X86 (Native)
Parent Process: launchd [190]
Date/Time: 2011-12-18 04:23:47.242 +0800
OS Version: Mac OS X 10.7.2 (11C74)
@maylogger
maylogger / _base.scss
Created November 28, 2011 10:51
middleman basic
@import "compass";
@include global-reset;
@maylogger
maylogger / gist:1225164
Created September 18, 2011 15:27
wp-config.php db setting for heroku
// ** MySQL settings - You can get this info from your web host ** //
$db = parse_url($_ENV["DATABASE_URL"]);
/** The name of the database for WordPress */
define('DB_NAME', trim($db["path"],'/'));
/** MySQL database username */
define('DB_USER', $db["user"]);
/** MySQL database password */
undefined method `to_tree' for nil:NilClass
/Applications/compass.app/Contents/Resources/ruby/compass_0.11/sass-3.1.4/lib/sass/plugin/staleness_checker.rb:169:in `tree'
/Applications/compass.app/Contents/Resources/ruby/compass_0.11/sass-3.1.4/lib/sass/plugin/staleness_checker.rb:159:in `compute_dependencies'
/Applications/compass.app/Contents/Resources/ruby/compass_0.11/sass-3.1.4/lib/sass/plugin/staleness_checker.rb:142:in `dependencies'
/Applications/compass.app/Contents/Resources/ruby/compass_0.11/sass-3.1.4/lib/sass/plugin/staleness_checker.rb:119:in `dependencies_stale?'
/Applications/compass.app/Contents/Resources/ruby/compass_0.11/sass-3.1.4/lib/sass/plugin/staleness_checker.rb:152:in `dependency_updated?'
org/jruby/RubyEnumerable.java:1356:in `any?'
/Applications/compass.app/Contents/Resources/ruby/compass_0.11/sass-3.1.4/lib/sass/plugin/staleness_checker.rb:119:in `dependencies_stale?'
/Applications/compass.app/Contents/Resources/ruby/compass_0.11/sass-3.1.4/lib/sass/plugin/staleness_checker.rb:152:i
@maylogger
maylogger / compass!
Created July 27, 2011 05:25
compass document bookmarklet
javascript:if(w=prompt('Search%20compass-style.org:','')){top.location.href='http://google.com/search?q=site%3Acompass-style.org+'+w;}
@maylogger
maylogger / Start appleScript
Created March 28, 2011 16:09
取代登入項目 提昇開機效能
set volume 1
say "Desktop Clear" using "Vicki"
tell application "Camouflage" to launch
delay 1
say "Battery" using "Vicki"
tell application "Watts" to launch
delay 1