Skip to content

Instantly share code, notes, and snippets.

@NdYAG
NdYAG / .gitignore
Created October 22, 2015 09:38 — forked from octocat/.gitignore
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #

#Techniques for Anti-Aliasing @font-face on Windows

It all started with an email from a client: Do these fonts look funky to you? The title is prickly.

The font in question was Port Lligat Sans from Google Web Fonts.

The "prickly" is aliasing caused by lack of hinting

@NdYAG
NdYAG / 0_reuse_code.js
Created June 29, 2014 15:24
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@NdYAG
NdYAG / gist:4417550
Last active December 10, 2015 09:58 — forked from anonymous/gist:4417536
Scalable components 1: tips.
/* define color from inside to outside */
bg-color = white
border-color = grey
shadow-color = #ccc
.tips
/* layout */
z-index: 0
position: absolute
/* presentation */
@NdYAG
NdYAG / markdown.xml
Created August 18, 2012 09:44 — forked from lg0/markdown.xml
Markdown Syntax Highlighting for Sublime text 2
<!-- copy this to YOUR_THEME.tmTheme-->
<dict>
<key>name</key>
<string>diff: deleted</string>
<key>scope</key>
<string>markup.deleted</string>
<key>settings</key>
<dict>
<key>background</key>
<string>#EAE3CA</string>