(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| This is a Python script to extract GNOME/GTK's color scheme and apply it to Wine, so that the themes (approximately) match. | |
| Instructions: | |
| 1. Set your Gnome theme as you would like it | |
| 2. Run with a command like "python wine_colors_from_gtk.py" | |
| 3. Restart any apps running in Wine. They should match the Gnome theme colors now. | |
| Better description with screenshots here: http://www.endolith.com/wordpress/2008/08/03/wine-colors/ | |
| This is also stored on https://code.launchpad.net/~endolith/+junk/wine-color-scraper |
| ಠ_ಠ | |
| ( ͡° ͜ʖ ͡°) | |
| ¯\_(ツ)_/¯ | |
| (╯°□°)╯︵ ┻━┻ | |
| http://www.fileformat.info/convert/text/upside-down.htm | |
| WRTTN http://wrttn.me/30dbfd/ | |
| Unicode Emoticons |
| ;SMBDIS.ASM - A COMPREHENSIVE SUPER MARIO BROS. DISASSEMBLY | |
| ;by doppelganger ([email protected]) | |
| ;This file is provided for your own use as-is. It will require the character rom data | |
| ;and an iNES file header to get it to work. | |
| ;There are so many people I have to thank for this, that taking all the credit for | |
| ;myself would be an unforgivable act of arrogance. Without their help this would | |
| ;probably not be possible. So I thank all the peeps in the nesdev scene whose insight into | |
| ;the 6502 and the NES helped me learn how it works (you guys know who you are, there's no |
| public class MyApp extends Application { | |
| @Override | |
| public void onCreate() { | |
| TypefaceUtil.overrideFont(getApplicationContext(), "SERIF", "fonts/Roboto-Regular.ttf"); // font from assets: "assets/fonts/Roboto-Regular.ttf | |
| } | |
| } |
| //Declaring the inputs and outputs of a task | |
| //build.gradle | |
| task transform { | |
| ext.srcFile = file('mountains.xml') | |
| ext.destDir = new File(buildDir, 'generated') | |
| inputs.file srcFile | |
| outputs.dir destDir | |
| doLast { | |
| println "Transforming source file." |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| # /dir/ means exclude the root folder /dir | |
| # /dir/* means get the root folder /dir but not the contents | |
| # dir/ means exclude any folder anywhere where the name contains dir/ | |
| # Examples excluded: /dir/, /usr/share/mydir/, /var/spool/dir/ | |
| # /dir means exclude any folder anywhere where the name contains /dir | |
| # Examples excluded: /dir/, /usr/share/directory/, /var/spool/dir/ | |
| # /var/spool/lpd//cf means skip files that start with cf within any folder within /var/spool/lpd | |
| # | |
| # include, + | |
| # exclude, - |
| //Dr. Seuss once wrote, "IF." He meant, "If you give a fuck, maybe, | |
| //JUST MAYBE, you can change this shitty world in some small way for | |
| //the better." I might've been an writer of children's books someday, | |
| //but instead, I decided to make this. So in lieu of The Lorax, | |
| //let's call this The Dragon, and have my word be, "DON'T." As in, | |
| //"Don't do something stupid like this the way I did, you jackass." | |
| //But the truth is humans are very stubborn creatures. You probably | |
| //won't listen to my advice and, chances are, neither will I. | |