This file contains hidden or 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
import pyautogui | |
import time | |
pyautogui.moveTo(134, 1) | |
pyautogui.click() | |
pyautogui.hotkey('f1') | |
pyautogui.moveTo(260, 112) | |
pyautogui.click() | |
pyautogui.typewrite('519888') | |
time.sleep(0.5) | |
pyautogui.moveTo(278, 201) |
This file contains hidden or 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
~/miniconda2/envs/py2k/bin/django-admin startproject mytrans | |
zdbdeMacBook-Air:hashlong zdb$ cd mytrans/ | |
zdbdeMacBook-Air:mytrans zdb$ ls | |
manage.py mytrans | |
~/miniconda2/envs/py2k/bin/python manage.py startapp polls | |
~/miniconda2/envs/py2k/bin/python manage.py runserver |
This file contains hidden or 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
[ui] | |
username = nemo.zhang | |
merge = meld | |
editor = vim | |
[extensions] | |
mq = | |
extdiff = | |
[extdiff] |
This file contains hidden or 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
user@conti-del-lp-099:~/Downloads/pyflame$ find /home/user/miniconda3 -iname python-*.pc | |
/home/user/miniconda3/envs/py2k/lib/pkgconfig/python-2.7.pc | |
/home/user/miniconda3/envs/py3k/lib/pkgconfig/python-3.6m.pc | |
/home/user/miniconda3/envs/py3k/lib/pkgconfig/python-3.6.pc | |
/home/user/miniconda3/pkgs/python-3.6.4-hc3d631a_1/lib/pkgconfig/python-3.6m.pc | |
/home/user/miniconda3/pkgs/python-3.6.4-hc3d631a_1/lib/pkgconfig/python-3.6.pc | |
/home/user/miniconda3/pkgs/python-3.6.3-h6c0c0dc_5/lib/pkgconfig/python-3.6m.pc | |
/home/user/miniconda3/pkgs/python-3.6.3-h6c0c0dc_5/lib/pkgconfig/python-3.6.pc | |
/home/user/miniconda3/pkgs/python-2.7.15-h1571d57_0/lib/pkgconfig/python-2.7.pc | |
/home/user/miniconda3/lib/pkgconfig/python-3.6m.pc |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
create database cm_data; | |
CREATE USER 'devops'@'localhost' IDENTIFIED BY 'password'; | |
CREATE USER 'devops'@'%' IDENTIFIED BY 'password'; | |
GRANT ALL ON cm_data.* TO 'devops'@'localhost'; | |
GRANT ALL PRIVILEGES ON cm_data.* To 'devops'@'%'; | |
DROP USER 'devops'@'%'; | |
DROP USER 'devops'@'localhost'; | |
SELECT User, Host, Password FROM mysql.user; |
This file contains hidden or 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
DELIMITER // | |
CREATE FUNCTION BAMBOO_DURATION(BUILD_DATE DATETIME, STATUS VARCHAR(255), DURATION BIGINT(20)) | |
RETURNS INT | |
BEGIN | |
DECLARE RV INT DEFAULT 0; | |
if status = 'Building' then | |
# now - build_date | |
set RV = NOW() - BUILD_DATE; | |
ELSE | |
set RV = DURATION/1000; |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script type="text/javascript" src="http://cdn.jsdelivr.net/jquery/1/jquery.min.js"></script> | |
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/screenfull.js/3.3.2/screenfull.min.js"></script> | |
</head> | |
<body> | |
<div> |
This file contains hidden or 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
sudo yum install libevent-devel git gcc | |
cd ~ | |
git clone https://github.com/semigodking/redsocks.git | |
cd redsocks | |
make | |
nohup ./redsocks2 -c redsocks2.conf & |
This file contains hidden or 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
lftp -e 'set http:proxy http://127.0.0.1:7002;pget -c -n 5 https://media.codeweavers.com/pub/crossover/cxlinux/demo/crossover_17.0.0-1.deb | |
sudo aptitude install -y libcups2:i386 libxi6:i386 liblcms2-2:i386 libglu1-mesa:i386 libxcursor1:i386 | |
sudo dpkg -i crossover_17.0.0-1.deb | |
export LANG='zh_CN.utf-8' | |
echo "@reboot rm /home/user/.cxoffice/国都证券单独委托20180111/.eval" | sudo tee /etc/cron.d/cxoffice | |
/opt/cxoffice/bin/crossover |