All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Here we write upgrading notes for brands. It's a team effort to make them as
package main | |
import ( | |
_ "embed" | |
"fmt" | |
"log" | |
"github.com/mudream4869/toolgui/toolgui/component" | |
"github.com/mudream4869/toolgui/toolgui/executor" |
#!/usr/bin/ansible-playbook | |
- hosts: localhost | |
vars: | |
git_repo_path: /home/minecraft/backup/season2 | |
minecraft_worlds_paths: | |
- /home/minecraft/srv1.18/world | |
- /home/minecraft/srv1.18/world_nether | |
- /home/minecraft/srv1.18/world_the_end |
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Here we write upgrading notes for brands. It's a team effort to make them as
import threading, signal | |
exit = threading.Event() | |
def main(): | |
while not exit.is_set(): | |
exit.wait(60) | |
def quit(signo, frame): | |
exit.set() |
import signal, time | |
class InterruptSleep(Exception): | |
pass | |
def main(): | |
while True: | |
try: | |
time.sleep(60) | |
except InterruptSleep: |
package main | |
import ( | |
_ "embed" | |
) | |
//go:embed main.go | |
var s string | |
func main() { |
#include <llvm/IR/Function.h> | |
#include <llvm/IR/IRBuilder.h> | |
#include <llvm/IR/LLVMContext.h> | |
#include <llvm/IR/Module.h> | |
#include <llvm/IR/Value.h> | |
#include <llvm/Support/raw_os_ostream.h> | |
#include <memory> | |
#include <algorithm> | |
#include <cstdio> | |
#include <memory> | |
class IntBuff { | |
public: | |
IntBuff() = default; | |
explicit IntBuff(size_t sz) : sz(sz) { | |
if (sz) { | |
arr = std::unique_ptr<int[]>(new int[sz]); |
#include <algorithm> | |
#include <cstdio> | |
#include <memory> | |
class IntBuff { | |
public: | |
IntBuff() = default; | |
explicit IntBuff(size_t sz) : sz(sz) { | |
if (sz) { | |
arr = new int[sz]; |
#include <algorithm> | |
#include <cstdio> | |
#include <memory> | |
class IntBuff { | |
public: | |
IntBuff() = default; | |
explicit IntBuff(size_t sz) : sz(sz) { | |
if (sz) { | |
arr = new int[sz]; |