Put flip
somewhere in your $PATH
and chmod a+x
it.
Copy fuck
into ~/.bashrc
.
# | |
# Inspired by http://zpao.com/posts/adding-line-highlights-to-markdown-code-fences/ | |
# by Paul O'Shannessy | |
# | |
marked = require 'marked' | |
pygmentize = require 'pygmentize-bundled' | |
renderer = new marked.Renderer() | |
renderer.code = (code, lang) -> | |
return "<div class='highlight'><code class='#{lang.split('{')[0]}'><pre>#{code}</pre></code></div>" |
/** | |
* @license | |
* Pixi.JS - v1.3.0 | |
* Copyright (c) 2012, Mat Groves | |
* http://goodboydigital.com/ | |
* | |
* Compiled: 2013-12-05 | |
* | |
* Pixi.JS is licensed under the MIT License. | |
* http://www.opensource.org/licenses/mit-license.php |
At this point, I find it important to reflect on what I have done, because it is a personal achievement for myself in many ways, but also to the LÖVE developers and the open source community. I'd like to say that without the open source community, none of this would have been possible, even remotely.
Context is due, so I will begin where every writer would begin, at the start.
I'm a big game compo jam participator. Most of the games I have made have been for game jams (Ludum Dare, Bacon Game Jam, and a few other lesser known ones) and I intend on doing more of them. Not only do they provide me with a greater understanding of game design, but they sharpen my game development skills.
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<title>pixi.js example 1</title> | |
<style> | |
body { | |
margin: 0; | |
padding: 0; | |
background-color: #000000; | |
} |
define [ | |
'fragl' | |
'util' | |
'modules/web' | |
'modules/webgl' | |
], (fr, util, web, webgl)-> | |
SCR_W = 150 | |
SCR_H = 300 | |
LEFT_WALL = 0 |
<snippet> | |
<content><![CDATA[ | |
Hello, ${1:this} is a ${2:snippet}. | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<!-- <tabTrigger>hello</tabTrigger> --> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<!-- <scope>source.python</scope> --> | |
</snippet> |
#!/usr/bin/python | |
import os | |
psfilter = 'flashplayer' | |
lnfilter = 'Flash' | |
dirs = ('/proc/%s/fd' % p for p, c in [x.rstrip('\n').split(' ', 1) \ | |
for x in os.popen('ps h -eo pid:1,command')] if psfilter in c) | |
possible_videos = [] | |
for d in dirs: |
java.io.IOException: mark/reset not supported | |
at java.util.zip.InflaterInputStream.reset(InflaterInputStream.java:286) | |
at java.io.FilterInputStream.reset(FilterInputStream.java:226) | |
at com.sun.media.sound.SoftMidiAudioFileReader.getAudioInputStream(SoftMidiAudioFileReader.java:135) | |
at javax.sound.sampled.AudioSystem.getAudioInputStream(AudioSystem.java:1111) | |
at de.champany.game.gravitation.SoundSystem$SmallSound.load(SoundSystem.java:94) | |
at de.champany.game.gravitation.SoundSystem.init(SoundSystem.java:27) | |
at de.champany.game.gravitation.GravitationGUI.<init>(GravitationGUI.java:56) | |
at de.champany.game.gravitation.Gravitation$1.run(Gravitation.java:51) | |
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) |
Presidency | President | Wikipedia Entry | Took office | Left office | Party | Portrait | Thumbnail | Home State | |
---|---|---|---|---|---|---|---|---|---|
1 | George Washington | http://en.wikipedia.org/wiki/George_Washington | 30/04/1789 | 4/03/1797 | Independent | GeorgeWashington.jpg | thmb_GeorgeWashington.jpg | Virginia | |
2 | John Adams | http://en.wikipedia.org/wiki/John_Adams | 4/03/1797 | 4/03/1801 | Federalist | JohnAdams.jpg | thmb_JohnAdams.jpg | Massachusetts | |
3 | Thomas Jefferson | http://en.wikipedia.org/wiki/Thomas_Jefferson | 4/03/1801 | 4/03/1809 | Democratic-Republican | Thomasjefferson.gif | thmb_Thomasjefferson.gif | Virginia | |
4 | James Madison | http://en.wikipedia.org/wiki/James_Madison | 4/03/1809 | 4/03/1817 | Democratic-Republican | JamesMadison.gif | thmb_JamesMadison.gif | Virginia | |
5 | James Monroe | http://en.wikipedia.org/wiki/James_Monroe | 4/03/1817 | 4/03/1825 | Democratic-Republican | JamesMonroe.gif | thmb_JamesMonroe.gif | Virginia | |
6 | John Quincy Adams | http://en.wikipedia.org/wiki/John_Quincy_Adams | 4/03/1825 | 4/03/1829 | Democratic-Republican/National Republican | JohnQuincyAdams.gif | thmb_JohnQuincyAdams.gif |