I was trying to understand JavaScript Promises by using various libraries (bluebird, when, Q) and other async approaches.
I read the spec, some blog posts, and looked through some code. I learned how to
<?php | |
$bankList = [ | |
'621098' => '邮储银行-绿卡通-借记卡', | |
'622150' => '邮储银行-绿卡银联标准卡-借记卡', | |
'622151' => '邮储银行-绿卡银联标准卡-借记卡', | |
'622181' => '邮储银行-绿卡专用卡-借记卡', | |
'622188' => '邮储银行-绿卡银联标准卡-借记卡', | |
'955100' => '邮储银行-绿卡(银联卡)-借记卡', | |
'621095' => '邮储银行-绿卡VIP卡-借记卡', | |
'620062' => '邮储银行-银联标准卡-借记卡', |
<?xml version="1.0"?> | |
<!-- | |
dirlist.xslt - transform nginx's into lighttpd look-alike dirlistings | |
I'm currently switching over completely from lighttpd to nginx. If you come | |
up with a prettier stylesheet or other improvements, please tell me :) | |
--> | |
<!-- | |
Copyright (c) 2016 by Moritz Wilhelmy <[email protected]> |
I was trying to understand JavaScript Promises by using various libraries (bluebird, when, Q) and other async approaches.
I read the spec, some blog posts, and looked through some code. I learned how to
FROM alpine:3.3 | |
MAINTAINER Didiet Noor <[email protected]> (@lynxluna) | |
# Patch APK Mirror to YKode | |
RUN echo "http://dl-4.alpinelinux.org/alpine/v3.3/main" > /etc/apk/repositories | |
ENV TIMEZONE Asia/Shanghai | |
ENV PHP_MEMORY_LIMIT 512M | |
ENV MAX_UPLOAD 50M |
#!/bin/bash | |
# === INFO === | |
# NoVPN | |
# Description: Bypass VPN tunnel for applications run through this tool. | |
VERSION="3.0.0" | |
# Author: KrisWebDev | |
# Requirements: Linux with kernel > 2.6.4 (released in 2008). | |
# This version is tested on Ubuntu 14.04 and 19.10 with bash. | |
# Main dependencies are automatically installed. |
/usr/share/GeoIP
.http://example.com
for current GeoIP and http://example.com/ip
for current IP onlyhttp://example.com/x.x.x.x
to query any IP.http://example.com/domain-name
for GeoIP of domain-name and http://example.com/domain-name/ip
to return IP of domain-name only. If multiple IPs are set to single domain-name, all of them will be returned. Only A record
will be used.$ curl http://example.com/
x.x.x.x
Country, Region, City
ASN number
package goddrinksjava; | |
/** | |
* The program GodDrinksJava implements an application that | |
* creates an empty simulated world with no meaning or purpose. | |
* | |
* @author momocashew | |
* @lyrics hibiyasleep | |
*/ | |
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
# __author__ = 'ihciah' | |
# cid_hash_file function from https://github.com/binux/lixian.xunlei/blob/master/libs/tools.py | |
# Gist: https://gist.github.com/ihciah/30eda05ca36ee9f9f190067538b0ae04 | |
import hashlib | |
import inotify.adapters | |
import os | |
import sys |
import requests | |
import argparse | |
import os | |
import re | |
import json | |
import mutagen | |
import base64 | |
from mutagen import easyid3 | |
import sys | |
from Crypto.Cipher import AES |
#include <net/if.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <sys/ioctl.h> | |
#include <sys/socket.h> | |
#include <unistd.h> | |
int main() { | |
int fd; | |
struct ifreq ifr; |