Skip to content

Instantly share code, notes, and snippets.

View LiuinStein's full-sized avatar
🙁
*beep boop* overworked!

Shaoqun Liu LiuinStein

🙁
*beep boop* overworked!
View GitHub Profile
@LiuinStein
LiuinStein / baidu.py
Last active March 23, 2020 11:33
app-spider-test
from spider.AbstractSpider import AbstractSpider
class BaiduAppSpider(AbstractSpider):
def execute(self):
self.wait_for_element_loading((self.located_by.ID, 'com.baidu.searchbox:id/eq'), 10)
self.click_element_by_id('com.baidu.searchbox:id/eq')
@LiuinStein
LiuinStein / SogouInputTool.cpp
Created January 10, 2020 14:06
Sogou input method speed statistics cheating tool
// SogouInputTool.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "SogouInputTool.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
@LiuinStein
LiuinStein / main.py
Last active December 1, 2019 07:18
Implement a neron network from very beginning
import numpy as np
import struct
from functools import reduce # python 3中移除了原生的reduce函数,因此。。。
import time
def sigmoid(x):
return 1 / (1 + np.exp(-x))
@LiuinStein
LiuinStein / gist:d1e7347d4ac1e7ea666009890460c1c6
Created July 8, 2018 13:38
Performs code before the main function has been invoked.
#include <iostream>
static int x = []()
{
std::cout << "x - Performs before main function" << std::endl;
return 0;
}();
class y
{
@LiuinStein
LiuinStein / Go to study right now!
Created May 23, 2018 06:30
A Tampermonkey JavaScript to alert you go to study after watching some websites more than a specific period.
// ==UserScript==
// @name Study now!
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author Shaoqun Liu
// @match *://*.iqiyi.com/*
// @match *://*.youku.com/*
// @match *://*.le.com/*
// @match *://*.letv.com/*

Keybase proof

I hereby claim:

  • I am liuinstein on github.
  • I am shaoqunliu (https://keybase.io/shaoqunliu) on keybase.
  • I have a public key ASD0GoA9b5z226Ja0oneez38iP5CVfTv8Hw5rmuoS34VQAo

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am LiuinStein on github.
* I am liuinstein (https://keybase.io/liuinstein) on keybase.
* I have a public key whose fingerprint is 37C9 8DB8 3118 F9DE D9C6 5CCB 0E32 092A 888A 592F
To claim this, I am signing this object: