This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Some gist |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [[scrollview documentView] scrollRectToVisible: | |
| CGRectMake(0, CGRectGetHeight([[scrollview documentView] bounds])-1, 1, 1)]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| translations = { | |
| greeting: { | |
| en: "Hello!", | |
| de: "Hallo!", | |
| mn: "сайн байна уу?" | |
| }, | |
| farewell: { | |
| en: "Goodbye!", | |
| de: "Auf Wiedersehen!", | |
| mn: "баяртай!" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @include "translations.j" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| userLanguage = "en"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var greetingTextField = [CPTextField labelWithTitle:translations.greeting[userLanguage]]; | |
| var farewellTextField = [CPTextField labelWithTitle.translations.farewell[userLanguage]]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # encoding: utf-8 | |
| import sys | |
| import os | |
| import commands | |
| import hashlib | |
| import getopt | |
| from pyfsevents import registerpath, listen |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Jakefile | |
| * Mockingbird | |
| * | |
| * Created by Saikat Chakrabarti on March 16, 2010. | |
| * Copyright 2010, gomockingbird.com All rights reserved. | |
| */ | |
| var ENV = require("system").env, | |
| FILE = require("file"), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Jakefile | |
| * YourApp | |
| * | |
| * Created by Elias Klughammer on February 14, 2011. | |
| * Copyright 2011, yourapp.com All rights reserved. | |
| */ | |
| var ENV = require("system").env, | |
| FILE = require("file"), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo nano ~/.profile |