This file contains 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
// this sets the background color of the master UIView (when there are no windows/tab groups on it) | |
Titanium.UI.setBackgroundColor('#fff'); | |
var win1 = Titanium.UI.createWindow({ | |
title:'Tab 1', | |
backgroundColor:'#000' | |
}); | |
var image = Titanium.UI.createImageView({image:'KS_nav_ui.png', top:10, left:10}); |
This file contains 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
/** | |
* There are several ways that a Ti Developer can create Android Activities & Services. | |
*/ | |
/* | |
* Titanium Android Module SDK | |
* Native Java Module | |
* An example | |
*/ |
This file contains 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
<?php | |
namespace Application\ExerciseBundle\Command; | |
use Symfony\Bundle\FrameworkBundle\Command\Command; | |
use Symfony\Components\Console\Input\InputArgument; | |
use Symfony\Components\Console\Input\InputOption; | |
use Symfony\Components\Console\Input\InputInterface; | |
use Symfony\Components\Console\Output\OutputInterface; | |
use Symfony\Components\Console\Output\Output; |
This file contains 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
/* | |
* You can add options to this file | |
* Options defined here will override all other options of the same name | |
* Additionally this file isn't tracked by git - so you can play with settings without affecting the rest of the app | |
* | |
* This file also allows machine specific overrides - for production | |
* | |
*/ | |
module.exports = function (rootFolder, app) { |
This file contains 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
// This code expects both app & compound to resolve to the appropriate variables | |
if (app.get("userModulesEnabled")) { | |
var userModules = []; // To allow access later | |
// Attach to the framework event | |
compound.on("after extensions", | |
function(){ | |
// Load - currently nothing passed by the framework | |
// we attach our log handler to the compound tools object - so it's available to console based apps | |
// compound.tools.winston is the logger instance |
This file contains 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
# litecoin.conf configuration file. Lines beginning with # are comments. | |
# Network-related settings: | |
# Run on the test network instead of the real litecoin network. | |
#testnet=0 | |
# Connect via a socks4 proxy | |
#proxy=127.0.0.1:9050 |
This file contains 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
"83.169.3.31" | |
"82.226.138.81" | |
"93.62.173.122" | |
"94.23.253.228" | |
"91.121.174.223" | |
"188.120.246.137" | |
"12.23.127.175" | |
"99.243.145.178" | |
"79.142.22.72" | |
"198.23.159.10" |
This file contains 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
Getting started | |
With node installed (download), get your first application started by creating a directory somewhere on your machine: | |
$ mkdir hello-world | |
$ cd hello-word | |
$ git init | |
In this same directory you'll be defining the application "package", which are no different than any other node package. You'll need a package.json file in the directory, with express defined as a dependency. You may use npm info express version to fetch the latest version, it's preferred that you do this instead of "3.x" below to prevent any future surprises. | |
{ | |
"name": "hello-world", |
This file contains 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
export DISPLAY=:0 | |
export GPU_MAX_ALLOC_PERCENT=100 | |
export GPU_USE_SYNC_OBJECTS=1 | |
aticonfig --od-enable | |
aticonfig --od-setclocks=1000,1490 --adapter=0 | |
./bfgminer -K ./ |
This file contains 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
"vectors" : "1", | |
"worksize" : "256", | |
"kernel" : "scrypt", | |
"lookup-gap" : "2", | |
"thread-concurrency" : "24576", | |
"shaders" : "1792", | |
"gpu-threads" : "1", | |
"scan-time" : "60", |