cd 0.get_data
python2 scraper.py ../data/ims
./clean_name.pl ../data/img
cd ..
jupyter notebook
# run from [1] to [9]
This file contains hidden or 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
ip link set enp5s0 down ; ip link set enp5s0 name eth0 ; ip link set eth0 up |
This file contains hidden or 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
sudo nvidia-install --uninstall | |
sudo reboot | |
sudo service gdm stop | |
sh cuda_install.sh |
This file contains hidden or 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
Verifying my Blockstack ID is secured with the address 1HhKwoCiGGwHdeefnsRTNVikX5Qz4hoj7E https://explorer.blockstack.org/address/1HhKwoCiGGwHdeefnsRTNVikX5Qz4hoj7E |
This file contains hidden or 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
void PrintToHex(const char *memory_space, unsigned long offset) { | |
const auto *a = reinterpret_cast<const unsigned char *>(&memory_space); | |
std::cout << std::endl; | |
for (size_t i = 0; i < offset; ++i) { | |
std::cout << std::right << std::setw(2) << std::hex << static_cast<unsigned int>(a[i]) << " "; | |
// std::cout << std::right << std::setw(2) << std::hex << '1' << " "; | |
// std::cout << memory_space[i] << " "; | |
if (i % 10 == 0) { | |
std::cout << std::endl; |
This file contains hidden or 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
yum -y install epel-release | |
yum -y install pssh | |
echo "installing essential tools and libraries for CentOS" | |
yum -y groupinstall "Development Tools" | |
yum -y groupinstall "Development Libraries" | |
yum -y install gcc-g++ git-core wget links zip unzip unrar | |
yum -y install mysql-server mysql-client mysql-devel |
This file contains hidden or 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
fdisk -l | |
parted /dev/sdc | |
mkfs.ext4 -L data1 /dev/sdc1 | |
mkdir data1 | |
vim /etc/fstab | |
mount -a | |
mount -o remount /data | |
df -h |
This file contains hidden or 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
nvidia-smi | |
lscpu | |
lshw -short -C disk | |
lshw -class disk -class storage | |
sudo dmidecode --type 17 |
This file contains hidden or 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
{ | |
"title": "Left Control -> Hyper/F18", | |
"rules": [ | |
{ | |
"description": "Remap Left Control to Hyper (ctrl + alt + cmd) if used in combination with other keys, otherwise map it to F18.", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "left_control", |
This file contains hidden or 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
npm install dotenv --save\ | |
npx hardhat compile | |
npm install --save-dev hardhat | |
npm install --save-dev @nomiclabs/hardhat-etherscan\ | |
npm install @openzeppelin/contracts | |
npx hardhat compile | |
npx hardhat compile | |
npm install --save-dev @nomiclabs/hardhat-ethers | |
npx hardhat compile | |
npx hardhat run --network rinkeby scripts/deploy-burner.js |