- 进入你的
home
目录
cd ~
- 编辑
.bashrc
文件
// Return, but across multiple frames. | |
// | |
// This function unwinds the given number of frames, then sets the return value provided, emulating as if this number | |
// of functions returned, with the last one returning the value provided in RetVal. Can be used to hook a callee when | |
// you don't have a convenient way to hook it directly and actually just want to stub it out with a return value. | |
// | |
// @param FramesToSkip The number of frames to skip, starting from the current frame. | |
// @param RetVal The value to return from the last frame. | |
// @param Context Context to start from, in case you want to SuperReturn from somewhere deeper. | |
DECLSPEC_NOINLINE void SuperReturn( |
#!/usr/bin/env python3 | |
import argparse | |
import base64 | |
import hashlib | |
import json | |
import os | |
import secrets | |
import sys | |
import time |
import requests | |
import time | |
import re | |
import os | |
# 从环境变量中获取 Cookie | |
COOKIES = os.environ.get('BAIDU_COOKIE', '') | |
HEADERS = { | |
'Connection': 'keep-alive', |
#!/bin/sh | |
sudo apt-get update -y | |
sudo apt-get upgrade -y | |
#Install Apache | |
sudo apt-get install apache2 | |
#Install PHP | |
sudo apt-get install php libapache2-mod-php php-gd php-common php-mail php-mail-mime php-mysql php-pear php-db php-mbstring php-xml php-curl |
; Tronxy Crux1 Start Code | |
; Forked from the Tronxy XY 2 Pro Start code on cura | |
; Improvement: Start nozzle and bed heating together | |
; Imorovement: Fixed purge line (XY2 version was for a bigger bed and would draw out of build area) | |
; Bugfix: On glass bed Crux 1, the nozzle would bump on the retainer trying to draw the purge line. Fixed in this version. | |
; Cleanup: Removed all ABL related code since Crux 1 does not have ABL. | |
G21 ; Set units to millimeters | |
G90 ; Set all axis to Absolute | |
M82 ; Set extrusion to Absolute | |
M107 ; Disable all fans |
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: deep-gray; icon-glyph: magic; | |
/** | |
* 그래프 Y축 최대. 단위: mm/h | |
* @see https://youtu.be/WnWCoLJKvCU | |
*/ | |
const MAX_blnd = 2; | |
/** |
class Player | |
{ | |
public string Name { get; private set; } | |
public float WeaponCooldown { get; private set; } | |
public float MovementDirectionX { get; private set; } | |
public float MovementDirectionY { get; private set; } | |
public int Age { get; private set; } | |
public int WeaponDamage { get; private set; } | |
public float MovementSpeed { get; private set; } |
#!/bin/sh | |
# Converts a mysqldump file into a Sqlite 3 compatible file. It also extracts the MySQL `KEY xxxxx` from the | |
# CREATE block and create them in separate commands _after_ all the INSERTs. | |
# Awk is choosen because it's fast and portable. You can use gawk, original awk or even the lightning fast mawk. | |
# The mysqldump file is traversed only once. | |
# Usage: $ ./mysql2sqlite mysqldump-opts db-name | sqlite3 database.sqlite | |
# Example: $ ./mysql2sqlite --no-data -u root -pMySecretPassWord myDbase | sqlite3 database.sqlite |