Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View successgo's full-sized avatar

Success successgo

  • ::1
  • 16:36 (UTC +08:00)
View GitHub Profile
@successgo
successgo / sub-branches.json
Created May 10, 2021 07:23 — forked from zhwei/sub-branches.json
完整国内支行联行号(部分国外,取自中信银行)
This file has been truncated, but you can view the full file.
{
"000998800006": "电子联行转换中心",
"001100001509": "中国人民银行营业管理部营业室",
"001110002715": "中国人民银行天津分行营业管理部",
"001110002774": "中国人民银行天津分行塘沽中心支行营业部",
"001121004527": "中国人民银行石家庄中心支行营业部",
"001121004535": "中国人民银行赞皇县支行",
"001121004543": "中国人民银行元氏县支行",
"001121004551": "中国人民银行赵县支行",
"001121004560": "中国人民银行栾城县支行",
@successgo
successgo / strong-passwords.php
Created April 2, 2021 07:38 — forked from tylerhall/strong-passwords.php
A user friendly, strong password generator PHP function.
<?PHP
// Generates a strong password of N length containing at least one lower case letter,
// one uppercase letter, one digit, and one special character. The remaining characters
// in the password are chosen at random from those four sets.
//
// The available characters in each set are user friendly - there are no ambiguous
// characters such as i, l, 1, o, 0, etc. This, coupled with the $add_dashes option,
// makes it much easier for users to manually type or speak their passwords.
//
// Note: the $add_dashes option will increase the length of the password by
@successgo
successgo / nginx.example.local.conf
Last active November 28, 2019 07:47
Example nginx.conf
server {
listen 80;
server_name example.local;
root /path/to/root;
index index.html index.php;
add_header "Access-Control-Allow-Origin" * always;
location / {
# preflight request
if ($request_method = OPTIONS) {
add_header "Access-Control-Allow-Origin" *;