Skip to content

Instantly share code, notes, and snippets.

View najamelan's full-sized avatar
🖥️
Happy Hacking

Naja Melan najamelan

🖥️
Happy Hacking
View GitHub Profile
@edubkendo
edubkendo / RubyNext.tmLanguage
Created August 10, 2013 03:58
A better ruby syntax highlighter for sublime text. Combines the ruby bundle with ST, recent updates to the textmate bundle, and a tmLanguage file called "Experimental Ruby".
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>comment</key>
<string>
TODO: unresolved issues
text:
@bds
bds / gist:7837545
Created December 7, 2013 05:13
Offline Ruby Core and Stdlib Documentation with Yard
# http://devrandom.postr.hu/offline-ruby-core-and-stdlib-documentation-with-yard
$ gem install yard
$ wget ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz
$ tar xzvf ruby-2.0.0-p247.tar.gz
$ cd ruby-2.0.0-p247
$ yardoc *.c
$ yardoc -b .yardoc-stdlib -o doc-stdlib
$ yard server -m ruby-core2.0 .yardoc stdlib .yardoc-stdlib

Keybase proof

I hereby claim:

  • I am rtanglao on github.
  • I am rtanglao (https://keybase.io/rtanglao) on keybase.
  • I have a public key whose fingerprint is 7E56 E626 B6C0 4F11 3816 995E 7645 A150 CC2C C25E

To claim this, I am signing this object:

@darsain
darsain / svg_sprites.md
Last active November 17, 2024 01:45
How to use SVG sprites in img[src] and css backgrounds

To make this work in CSS:

background: url('images.svg#chart');

or img:

<img src="images.svg#chart">