Skip to content

Instantly share code, notes, and snippets.

View ety001's full-sized avatar
🎯
Focusing

ety001 ety001

🎯
Focusing
View GitHub Profile
{
"limits": {
"blacklist_accounts": [
"non-steemit"
]
},
"upstreams": [
{
"name": "steemd",
"translate_to_appbase": true,
const steem = require('steem');
steem.api.setOptions({ url: 'https://s2.61bts.com' });
const ac_key = "";
const user = "";
const keys = {active: ac_key};

解決 刪除相關配置信息

sudo rm -rf .config/SogouPY

刪除緩存

for (1) {
check_buy_order(function(exist){
if (!exist) {
get_currenct_orderbook(function(orderbook){
get_current_balance(function(balance) {
// 根据设置判断是否下订单
if (need_order) {
make_order(function(result){
// 根据下订单的结果进行后续的操作
})
# initialization file (not found)
@ety001
ety001 / telegram-bot.php
Last active August 26, 2019 08:46
cybex watch dog
<?php
function postData($url, $data) {
$options = array(
'http' =>
array(
'header' => "Content-Type: application/json\r\n".
"Content-Length: ".strlen($data)."\r\n",
'method' => 'POST',
'content' => $data,
)
remove mod4 = Super_L
add control = Super_L
remove control = Control_L
add mod4 = Control_L
keycode 8 =
keycode 9 = Escape NoSymbol Escape
keycode 10 = 1 exclam 1 exclam
keycode 11 = 2 at 2 at
keycode 12 = 3 numbersign 3 numbersign
keycode 13 = 4 dollar 4 dollar
keycode 14 = 5 percent 5 percent
keycode 15 = 6 asciicircum 6 asciicircum
keycode 16 = 7 ampersand 7 ampersand
keycode 17 = 8 asterisk 8 asterisk
@ety001
ety001 / yuan_2_fen.php
Created April 11, 2019 02:58
元转换为分
<?php
$a = [
'123',
'1.2',
'1.23',
'1.234',
'1.2345',
// 用户出问题的数据
'1.1',
'1.16',

Keybase proof

I hereby claim:

  • I am ety001 on github.
  • I am ety001 (https://keybase.io/ety001) on keybase.
  • I have a public key whose fingerprint is B433 B99D 44DF 181D C686 387E 566B 2EA0 8D34 8610

To claim this, I am signing this object: