This file contains hidden or 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 | |
import re | |
import Cookie | |
import datetime | |
import time | |
import requests | |
from pycookiecheat import chrome_cookies |
This file contains hidden or 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
#!/bin/sh | |
### | |
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
### | |
# Alot of these configs have been taken from the various places | |
# on the web, most from here | |
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |
We can make this file beautiful and searchable if this error is corrected: It looks like row 3 should actually have 8 columns, instead of 7 in line 2.
This file contains hidden or 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
430972,5037,6,52,2600.0,0,用,c | |
352986,4498,5,12,600.0,0,对,- | |
1399015,26982,569,12,600.0,0,- | |
678560,2954497,11,9,450.0,1,用,扫 | |
331,18779,2,9,450.0,0,用,地址,-,win | |
135200,3568182,2,6,300.0,1,端口,路由,转发 | |
992422,21469,36,6,300.0,0,脚本,存,window,调用 | |
142786,26725,3,6,300.0,0,网,地址,- | |
281,18243,2,5,250.0,0,屏蔽,端口,路由,路由器 | |
701894,22114,12,4,200.0,0,用 |
This file contains hidden or 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
test: | |
@export env=test; \ | |
echo $$env |
This file contains hidden or 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
#!/bin/sh | |
# source: https://github.com/florianl/AutoUpdateGit/blob/master/AutoUpdateGit.sh | |
# Change here your basedirectory | |
# Example: | |
# Base="/this/is/my/basedirectory" | |
Base="" | |
if [ -z "$Base" -o "$Base" == "/this/is/my/basedirectory" ]; |
This file contains hidden or 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 | |
""" Convert values between RGB hex codes and xterm-256 color codes. | |
Nice long listing of all 256 colors and their codes. Useful for | |
developing console color themes, or even script output schemes. | |
Resources: | |
* http://en.wikipedia.org/wiki/8-bit_color | |
* http://en.wikipedia.org/wiki/ANSI_escape_code |
This file contains hidden or 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
#!/bin/sh | |
# Source config file | |
# should contains follows variables: | |
# AUTH_TOKEN | |
# ROOM_ID | |
source config.sh | |
my_func() { | |
return 1 |
This file contains hidden or 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
#!/bin/sh | |
# Source config file | |
# should contains follows variables: | |
# AUTH_TOKEN | |
# ROOM_ID | |
source config.sh | |
my_func() { | |
return 1 |
This file contains hidden or 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
def last_zero_num(n): | |
count = 0 | |
while n: | |
count += n / 5 | |
n = n / 5 | |
return count |
NewerOlder