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
// SwiftyJSON.swift | |
// | |
// Copyright (c) 2014 Ruoyu Fu, Pinglin Tang | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is | |
// furnished to do so, subject to the following conditions: |
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
drc-cli stop | |
sleep 1 | |
rm -r .drccore | |
drcd -daemon | |
echo "step 5: sleep" | |
for i in {10..1} | |
do | |
echo "Waiting! Remaining ${i}s"; | |
sleep 1 | |
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
current_date_time="`date "+%Y-%m-%d %H:%M:%S"`"; | |
echo $current_date_time | |
ls -a | |
echo "step 1: cd .lotuscore/" | |
cd .lotuscore/ | |
echo "step 2: nano lotus.conf" | |
nano lotus.conf | |
current_date_time="`date "+%Y-%m-%d %H:%M:%S"`"; | |
echo $current_date_time | |
echo "after save conf" |
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
drcd -daemon | |
sleep 1 | |
cd RLN.V.1.0/src/ | |
./lotusd | |
sleep 11 | |
./lotus-cli masternode start | |
./lotus-cli masternode status | |
drc-cli mnsync status | |
cd .. | |
cd .. |
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
echo 'oha Ya' | |
cd RLN.V.1.0/src/ | |
./lotusd | |
sleep 11 | |
./lotus-cli masternode start | |
./lotus-cli masternode status | |
drc-cli mnsync status | |
echo ' Yohe Mi' |
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
echo "begin" | |
cd RLN.V.1.0/src/ | |
./lotus-cli stop | |
cd .. | |
cd .. | |
sleep 3 | |
cd .lotuscore | |
ls | |
rm banlist.dat | |
rm .cookie |
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
echo 'oha Ya' | |
cd RLN.V.1.0/src/ | |
./lotus-cli masternode start | |
./lotus-cli masternode status | |
echo ' Yohe Mi' |
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
echo 'dr civan' | |
drcd -daemon | |
sleep 8 | |
drc-cli getinfo | |
sleep 1 | |
drc-cli mnsync status | |
echo 'Cure exc' |
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 | |
mkdir drc && cd drc | |
sudo wget https://github.com/DoctorCoinNGO/drc/releases/download/v1.0.2/linux.zip | |
sudo apt install unzip | |
sudo unzip linux.zip | |
chmod +x drc* | |
mv drc-cli drcd /usr/local/bin | |
cd .. | |
drcd -daemon | |
ls |
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
import UIKit | |
import AudioToolbox | |
struct SoundPlayer { | |
static var filename : String? | |
static var enabled : Bool = true | |
private struct Internal { | |
static var cache = [URL:SystemSoundID]() | |
} |
OlderNewer