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 | |
#This will help anyone setup a Terracoin Masternode on a debian (Ubuntu) VPS | |
# change this values | |
version='0.12.1.8' # current terracoin release | |
coreversion='0.12.1' # current terracoin release minus last digit | |
##### don't change bellow this line ###### | |
sudo echo |
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 | |
D0=$(TZ=UTC date --date="$(date --date="2017-10-23T20:07:35+0000")"); | |
for block in `seq 1123200 21600 $((1101600 + (21600*48)))`; | |
do DD=$(TZ=UTC date --date="$(date --date="$D0") +763 hours +12 minutes"); | |
D0=$DD; | |
echo "$block - $DD"; | |
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
output_callback : function(c, data, url) { | |
var filename = $('#A3opts .output-filename').val(); | |
var newURL = url.replace(/page=[0-9]+/, 'page=0').replace(/size=[0-9]+/, 'size=10000000'); | |
if (c.originalSettings.widgetOptions.output_saveFileName == 'dynamic') | |
filename = $('" . $this->table . "').find('caption').text().replace(/\s/g, '_') + '.csv'; | |
$('#csvForm #filename', top.$('#toolbar').contents()).val(filename); | |
// remove filters for all rows | |
if (c.widgetOptions.output_saveRows == 'a') | |
newURL = newURL.replace(/&fcol(\[[0-9]+\])?=.+/g, '') + '&fcol'; |
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 | |
// Make sure we dont' time out, this is optional | |
@set_time_limit(10000); | |
$filename = "output.csv"; | |
if (!empty($_POST['filename']) ) | |
$filename = $_POST['filename'] ; | |
// NO CACHE | |
header("Pragma: public"); |