This file contains 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
<!--<b:include data='blog' name='all-head-content'/>--> | |
<!-- Begin customized all-head-content and social metadata --> | |
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/> | |
<meta content='blogger' name='generator'/> | |
<link href='https://blog.ansoncat.com/favicon.ico' rel='icon' type='image/x-icon'/> | |
<link expr:href='data:blog.canonicalUrl.https' rel='canonical'/> | |
<link expr:href='data:blog.homepageUrl.https + "feeds/posts/default"' expr:title='data:blog.title + " - Atom"' rel='alternate' type='application/atom+xml'/> | |
<link expr:href='data:blog.homepageUrl.https + "feeds/posts/default?alt=rss"' expr:title='data:blog.title + " - RSS"' rel='alternate' type='application/rss+xml'/> | |
<link expr:title='data:blog.title + " - Atom"' href='https://www.blogger.com/feeds/5810831657127936703/posts/default' rel='service.post' type='application/atom+xml'/> |
This file contains 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
// | |
// _oo0oo_ | |
// o8888888o | |
// 88" . "88 | |
// (| -_- |) | |
// 0\ = /0 | |
// ___/`---'\___ | |
// .' \\| |// '. | |
// / \\||| : |||// \ | |
// / _||||| -:- |||||- \ |
This file contains 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 ruby | |
require 'faraday' | |
require 'json' | |
require 'gitlab' | |
module Redmine | |
Host = nil | |
APIKey = nil |
This file contains 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
console.image("http://i.imgur.com/0CvmX4i.jpg") |
This file contains 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
#!bash | |
# Shell to use imagemagick to add serial numbers to coupon image files(633x385). | |
for k in 60 67 68 73 50 62 59 61 53 57 63 33 | |
do | |
echo Processing coupon-$k.jpg | |
convert coupon.jpg -pointsize 56 label:$k -geometry +470+296 -composite -quality 85 coupon-$k.jpg | |
done |
This file contains 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
/* | |
* For something like A == 2 AND (B > 3 OR C >= 4 ) | |
*/ | |
start | |
= additive | |
additive | |
= left:multiplicative _ "OR" _ right:additive { return left + " OR " + right; } | |
/ multiplicative |
This file contains 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
# Traditional Chinese strings go here for Rails i18n | |
zh-TW: | |
button_close: "結束" |