Skip to content

Instantly share code, notes, and snippets.

View raejin's full-sized avatar
💭
🥺

Rae Liu raejin

💭
🥺
View GitHub Profile
function test_function() {
var fancyVariable = null,
booleans = Boolean(1);
var element = document.getElementsByTagName('a');
alert('This is a test');
}
<input type="text" />
@raejin
raejin / syntax.css
Created March 28, 2013 23:26
Syntax highlight theme in Tomorrow Night (https://github.com/chriskempson/tomorrow-theme) for Octopress code snippet plugin. Notice that this is a brute-force theme which does not rely on any framework. Use with caution.
.gist .gist-file .gist-data .line-numbers .line-number {
display: block;
clear: right; }
.highlight table td.code, html .gist .gist-file .gist-syntax .line-data table td.code {
width: 100%; }
.highlight .line-numbers, html .gist .gist-file .gist-data .lines .line-numbers {
text-align: right;
font-size: 13px;
@raejin
raejin / yolyo_feedback.md
Last active December 20, 2015 03:19
background feedback

第一張

1

  • 天空背景我很喜歡,和我之前的想像非常相似。我覺得「Yolyo 要做什麼」的部份可以再做一些變化,我自己的三八想法是類似玩字體大小排版的變化。類似這樣(隨便用的):

6

  • 承接上面後段的想法,我希望每個頁面的標題風格統一。

第二張

[
{
"args":
{
"to": "eol"
},
"command": "move_to"
},
{
"args":
[
{
"args":
{
"to": "eol"
},
"command": "move_to"
},
{
"args":
[
{
"args":
{
"to": "eol"
},
"command": "move_to"
},
{
"args":
<snippet>
<content><![CDATA[
function () {
$1
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>fn</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.js</scope>
<snippet>
<content><![CDATA[
console.log($1);
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>lg</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.js</scope>
</snippet>
<snippet>
<content><![CDATA[
function (${1:params}) {
$2
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>fnn</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.js</scope>