Skip to content

Instantly share code, notes, and snippets.

ficapy ficapy

Block or report user

Report or block ficapy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ficapy /
Last active Feb 10, 2020
# -*- coding: utf-8 -*-
import requests
import hashlib
import re
username = '' ###账号###
password = ''###密码###
UA = "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) \
Chrome/27.0.1453.116 Safari/537.36"
headers = {
View c5x18large.txt
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 72
On-line CPU(s) list: 0-71
Thread(s) per core: 2
Core(s) per socket: 18
Socket(s): 2
NUMA node(s): 2
Vendor ID: GenuineIntel
fn apply<F>(mut f: F)
F: FnMut(),
fn main() {
let mut farewell = "goodbye".to_owned();
ficapy /
Last active Oct 22, 2019
# !/usr/bin/env python
# -*- coding: utf-8 -*-
from Crypto.Cipher import PKCS1_v1_5
from Crypto.PublicKey import RSA
from Crypto.Hash import SHA
from Crypto import Random
from Crypto.Cipher import AES
aes_obj_enc ='This is a key123', AES.MODE_CBC, 'This is an IV456')
ficapy /
Created Mar 30, 2018
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Author: ficapy
import io
from urllib.parse import urlencode
from base64 import b64encode
from pdf2image import convert_from_bytes
from PyPDF2 import PdfFileWriter, PdfFileReader
from shapely.geometry import mapping, Polygon
import fiona
import csv
# Carrefour GZ
gz = Polygon([])
# chengdu 1
cd1 = Polygon([])
# chengdu 2
cd2 = Polygon([])
from shapely.geometry import mapping, shape
import fiona
import csv
record_index = 'grid filed1 filed2'
record_index = record_index.split()
View insert_csv_to_db.go
package main
import (
_ ""
  1. docker exec -it gitlab /bin/sh
  2. /opt/gitlab/embedded/bin/redis-cli -s /var/opt/gitlab/redis/redis.socket
  3. keys cache:gitlab:rack::attack*
  4. del cache:gitlab:rack::attack:allow2ban:ban:
ficapy /
Created May 21, 2019
install nginx with http2 support on ubuntu 14.04
sudo service nginx stop
sudo apt-get remove nginx nginx-common

sudo add-apt-repository ppa:fxr/nginx-alpn
sudo apt-get update

sudo apt-get install nginx
sudo service nginx restart
You can’t perform that action at this time.