apt install redis-server
sudo systemctl enable redis
sudo systemctl restart redis
sudo systemctl status redis
- Open
/etc/apt/sources.list.d/pve-enterprise.list
and comment out the following line
# deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise
-
Remove
No valid subscription
Backup
proxmoxlib.js
:
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
package me.soulmachine; | |
import org.apache.hadoop.conf.Configuration; | |
import org.apache.hadoop.conf.Configured; | |
import org.apache.hadoop.fs.Path; | |
import org.apache.hadoop.io.LongWritable; | |
import org.apache.hadoop.io.Text; | |
import org.apache.hadoop.mapreduce.Job; | |
import org.apache.hadoop.mapreduce.Mapper; | |
import org.apache.hadoop.mapreduce.Reducer; |
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
# Copied from https://github.com/tensorflow/tpu/blob/master/models/experimental/resnet50_keras/resnet50.py#L117 | |
from absl import logging | |
from tensorflow.keras import backend as K | |
BASE_LEARNING_RATE = 0.4 | |
# Learning rate schedule | |
LR_SCHEDULE = [ # (multiplier, epoch to start) tuples | |
(1.0, 5), (0.1, 30), (0.01, 60), (0.001, 80) |
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
pip install sh |
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
{"sig":"3f031dfe09afeaaefd498c2f625e1b378b8fdf789af7c65e475bb5c5cdb857787af439cca7a1d0f4ff4daf77c583fdb5394b07955b6a4e9f4ec666793a7d825c1","msghash":"6a83f85fc481f8a2d48e421b83bbdee911a73d067fbe8d1af65ee18b9dd4cd27"} |
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
package me.soulmachine; | |
import java.util.*; | |
public class BleedingInk { | |
class State { | |
int x; | |
int y; | |
int parentDarkness; |
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
# encrypt file.txt to file.enc using 256-bit AES in CBC mode | |
openssl enc -e -aes-256-cbc -salt -in file.txt -out file.enc | |
# the same, only the output is base64 encoded for, e.g., e-mail | |
openssl enc -e -aes-256-cbc -a -salt -in file.txt -out file.enc | |
# decrypt binary file.enc | |
openssl enc -d -aes-256-cbc -in file.enc -out file.txt | |
# decrypt base64-encoded version |
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
# Just delete .config and .support in folder "/Library/Application Support/Paragon Software/" | |
# then you will get an another 10 days trial. | |
# after appcleaner does his magic, do this | |
sudo rm -rf "/Library/Application Support/Paragon Software/" | |
sudo rm /Library/LaunchDaemons/com.paragon-software.installer.plist | |
sudo rm /Library/LaunchDaemons/com.paragon-software.ntfs.loader.plist | |
sudo rm /Library/LaunchDaemons/com.paragon-software.ntfsd.plist | |
sudo rm /Library/LaunchAgents/com.paragon-software.ntfs.notification-agent.plist |
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
/** @file config.h | |
* @brief 公共头文件 | |
* @author soulmachine@gmail.com | |
* @date 2010-8-3 | |
* @version 0.1 | |
* @note 无 | |
*/ | |
#ifndef _CONFIG_H_ | |
#define _CONFIG_H_ |