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
// create directory and unzip code for the most recent version of each plugin | |
if (loc.pluginFiles.recordCount) | |
{ | |
loc.iEnd = loc.pluginFiles.recordCount; | |
for (loc.i=1; loc.i <= loc.iEnd; loc.i++) | |
{ | |
loc.name = loc.pluginFiles["name"][loc.i]; | |
loc.pluginName = ListFirst(loc.name, "-"); | |
if (!StructKeyExists(application.wheels.plugins, loc.pluginName)) | |
{ |
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
// create directory and unzip code for the most recent version of each plugin | |
if (loc.pluginFiles.recordCount) | |
{ | |
loc.iEnd = loc.pluginFiles.recordCount; | |
for (loc.i=1; loc.i <= loc.iEnd; loc.i++) | |
{ | |
loc.name = loc.pluginFiles["name"][loc.i]; | |
loc.pluginName = ListFirst(loc.name, "-"); | |
if (!StructKeyExists(application.wheels.plugins, loc.pluginName)) | |
{ |
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
<cfscript> | |
// we use $wheels here since these variables get placed in the variables scope of all objects and we need to make sure they don't clash with other wheels variables or any variables the develoepr may set | |
if (!StructIsEmpty(application.wheels.mixins)) | |
{ | |
$wheels.metaData = GetMetaData(this); | |
if (StructKeyExists($wheels.metaData, "displayName")) | |
$wheels.className = $wheels.metaData.displayName; | |
else | |
$wheels.className = Reverse(SpanExcluding(Reverse(GetMetaData(this).name), ".")); | |
if (StructKeyExists(application.wheels.mixins, $wheels.className)) |
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
(function() { | |
var doc = document | |
, html = doc.getElementsByTagName('html')[0] | |
, main = doc.getElementById('main') | |
, header = doc.getElementById('header') | |
, cBody = doc.getElementById('contentBody') | |
, mods = doc.getElementById('modules') | |
, content = doc.getElementById('content') | |
, tNav = doc.getElementById('trackerNav') |
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
#!/bin/bash | |
# Author: Patrick "p2k" Schneider <me@p2k-network.org> | |
# Donate: 166rK7eEVgnGvs9aA7jvu8NoPv8KzbPQ3L | |
# Install rcX.d scripts: update-rc.d atitweak defaults | |
# Uninstall: update-rc.d -f atitweak remove | |
### BEGIN INIT INFO | |
# Provides: atitweak |
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
#!/bin/bash | |
cd /; | |
tar cf cg.tar /opt/miners/cgminer/; | |
for n in {113,118,119,120,121}; do ssh root@192.168.2.$n 'tar -C / -x; mine restart' < /cg.tar; echo; done; |
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
#!/bin/bash | |
cd /; | |
tar cf cg.tar /opt/miners/cgminer/; | |
for n in {101,103,104,106,107,108,110,111,112,114,115,116,117}; do ssh root@192.168.2.$n 'tar -C / -x; mine restart' < /cg.tar; echo; done; |
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
#!upstart | |
description "Insight Server Daemon" | |
start on startup | |
stop on shutdown | |
# This line is needed so that Upstart reports the pid of the Node.js process | |
# started by Forever rather than Forever's pid. | |
expect fork |