This file contains 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 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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 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 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 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 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 |
This file contains 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
http://ftp.de.debian.org/debian/pool/main/g/gcc-4.7/libstdc++6_4.7.2-5_amd64.deb | |
[nemo.zhang@cws87 WebTorrent-linux-x64]$ ls -l | |
total 114360 | |
-rw-r--r-- 1 nemo.zhang nemo.zhang 56229 Feb 3 2017 blink_image_resources_200_percent.pak | |
-rw-r--r-- 1 nemo.zhang nemo.zhang 15 Feb 3 2017 content_resources_200_percent.pak | |
-rw-r--r-- 1 nemo.zhang nemo.zhang 9869701 Feb 3 2017 content_shell.pak | |
-rw-r--r-- 1 nemo.zhang nemo.zhang 10127200 Feb 3 2017 icudtl.dat | |
-rw-r--r-- 1 nemo.zhang nemo.zhang 2574840 Feb 3 2017 libffmpeg.so |
This file contains 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 gcc-c++ | |
# sudo yum install protobuf-devel | |
$ wget -c https://mosh.org/mosh-1.3.2.tar.gz | |
$ tar xf mosh-1.3.2.tar.gz | |
$ cd mosh-1.3.2 | |
$ ./configure | |
$ make | |
# make install | |
$ cat mosh.sh |
This file contains 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
#!/usr/bin/env python | |
#coding:utf-8 | |
#sudo yum install poppler-utils | |
import os | |
import re | |
import subprocess | |
from decimal import * |