Skip to content

Instantly share code, notes, and snippets.

akkuman

Block or report user

Report or block akkuman

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
View press.one
https://press.one/p/v?s=775c91bb575b5b9b241e8fb6b1efcc57bd1acadfeed1b0e45b4d0773e56f544ac935e9cad950873366ba433e1761836e5cadcaf7a3923c71fd315d685b6daeee1&h=677f40477cba754a76d84a7dcd89a87c32f304521b096c5da57059f81986bf6b&a=215a533bd0811973aa26b90c145b73b8822aa33a&f=P1&v=3
@akkuman
akkuman / getwallpaper.py
Created Mar 12, 2019
[getwallpaper] get wallpaper from wall.alphacoders.com #crawler #Python
View getwallpaper.py
#coding=utf-8
import requests
import re
import os
import sys
proxies = { "http": "http://127.0.0.1:1080", "https": "http://127.0.0.1:1080", }
download_dir = './pic/'
@akkuman
akkuman / genToc.js
Created Sep 13, 2018
[生成目录遍历所有header.js] 遍历所有的header标签生成导航树 #javascript
View genToc.js
/**
* Convert item of header array to html in li
* @param item An element of header array
*/
var itemToHtml = function(item) {
return '<a href="#' + item.id + '" id="' + 'menu-'+ item.id + '" >' + item.innerText + '</a>';
};
/**
* Generate tree from header array
* @param toc_list An array containing header elements
@akkuman
akkuman / generate_toc.js
Created Sep 12, 2018
[生成目录.js] 动态生成h2,h3目录 #javascript
View generate_toc.js
let genToc = function() {
let tor_tree = document.createElement('div');
tor_tree.id = 'torTree';
tor_tree.innerHTML += ' <h4 id="anchor-0">导航树</h4>';
$(":header").each(function(index, element) {
let tag_name = $(this)[0].tagName;
let tag_a_html = '';
if (tag_name == 'H2'||tag_name == 'H3') {
let anchor_text = 'anchor-'+(index+1);
$(this).attr('id', anchor_text);
View bypass_cdn.py
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
#__author__ == Tr3jer_CongRong
import re
import sys
import time
import threading
import dns.resolver
@akkuman
akkuman / fofa_rule.sql
Created Mar 15, 2018 — forked from Tr3jer/fofa_rule.sql
fofa_rule.sql
View fofa_rule.sql
/*
Navicat Premium Data Transfer
Source Server : localhost
Source Server Type : MySQL
Source Server Version : 50542
Source Host : localhost
Source Database : rule
Target Server Type : MySQL
You can’t perform that action at this time.