-
Run the command:
python pixiv_auth.py login
This will open the browser with Pixiv login page.
Service | SSL | status | Response Type | Allowed methods | Allowed headers |
---|
-- ------------------------------- | |
-- Watcher for changes of init.lua | |
-- ------------------------------- | |
function reloadConfig(files) | |
doReload = false | |
for _,file in pairs(files) do | |
if file:sub(-4) == ".lua" then | |
doReload = true | |
end | |
end |
#!/bin/bash | |
# Time-stamp: <Tue 2021-08-31 14:26 svarrette> | |
################################################################################ | |
# Pre-commit hook to avoid accidentally adding unencrypted files with | |
# [git-crypt](https://www.agwa.name/projects/git-crypt/) | |
# Fix to [Issue #45](https://github.com/AGWA/git-crypt/issues/45) | |
# | |
# Usage: | |
# $ cd /path/to/repository | |
# $ git-crypt init |
#! /usr/bin/python | |
# -*- coding: utf-8 -*- | |
# @author weishu @2015/12/7 | |
import subprocess | |
import os | |
import re | |
import json |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Author: p0we7 | |
# Email : i@iu.vc | |
def handle_import_error(): | |
print '\n' + "Import Error:" | |
print 'Please install the required 3rd-party modules ' + '\033[4;95m' + 'requests' + '\033[0m' + '\n' | |
import sys | |
sys.exit() |
- Modify index.txt with your output path and proxy info
- Use Text Builder to build configuration for Surge:
$ text-builder -index /path/to/index.txt
Or run$ sh build-all
to build all your index files. - Import configuration via AirDrop/iTunes/Dropbox/iCloud
本人不提供任何保证和技术支持,使用者自负风险。
There are no guarantees, no any support. Use it at your own risk.
/** | |
* @module describe-it | |
* | |
* This module defines global variables to provide unit test case runner functions compatible with mocha and jasmine. | |
* The codebase is written for brevity and facilitate being as lightweight as possible. | |
* | |
* The code is intended to be included in Postman Test Sandbox. | |
*/ | |
/** |
I fell in love with CoffeeScript a couple of years ago. Javascript has always seemed something of an interesting curiosity to me and I was happy to see the meteoric rise of Node.js, but coming from a background of Python I really preferred a cleaner syntax.
In any fast moving community it is inevitable that things will change, and so today we see a big shift toward ES6, the new version of Javascript. It incorporates a handful of the nicer features from CoffeeScript and is usable today through tools like Babel. Here are some of my thoughts and issues on moving away from CoffeeScript in favor of ES6.
While reading I suggest keeping open a tab to Babel's learning ES6 page. The examples there are great.
Holy punctuation, Batman! Say goodbye to your whitespace and hello to parenthesis, curly braces, and semicolons again. Even with the advanced ES6 syntax you'll find yourself writing a lot more punctuatio