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
// Check if a slave has < 10 GB of free space, wipe out workspaces if it does | |
import hudson.model.*; | |
import hudson.util.*; | |
import jenkins.model.*; | |
import hudson.FilePath.FileCallable; | |
import hudson.slaves.OfflineCause; | |
import hudson.node_monitors.*; | |
for (node in Jenkins.instance.nodes) { |
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
diff --git a/cgminer.c b/cgminer.c | |
index b5199ff..63fa3b0 100644 | |
--- a/cgminer.c | |
+++ b/cgminer.c | |
@@ -1174,9 +1174,12 @@ static struct opt_table opt_config_table[] = { | |
OPT_WITH_ARG("--gpu-platform", | |
set_int_0_to_9999, opt_show_intval, &opt_platform_id, | |
"Select OpenCL platform ID to use for GPU mining"), | |
- OPT_WITH_ARG("--gpu-threads|-g", | |
+ OPT_WITH_ARG("--gpu-default-threads|-g", |
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
KEY=/etc/bind/Kize.domain.hu.+111+11111 | |
SERVER=1.2.3.4 | |
ZONE=domain.hu | |
HOSTNAME=ize | |
ddns_setup_set() { | |
if [ "$interface" != "eth0" ] && [ "$new_ip_address" = "$old_ip_address" ]; then | |
return | |
fi | |
( |