Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Yao Zhen iyaozhen

🎯
Focusing
Block or report user

Report or block iyaozhen

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 Encrypter.php
<?php
/**
* 加解密类
*
* @author iyaozhen
* @date: 2016-11-12
*/
class Encrypter
{
@iyaozhen
iyaozhen / helper.php
Last active Apr 12, 2019
PHP get sys http proxy conf
View helper.php
<?php
/**
* get sys http proxy conf
* base from system PATH,and Windows get from Internet Settings
*
* @return array
*/
function getHttpProxyConf()
{
@iyaozhen
iyaozhen / rebuild_wp_cache.py
Last active Mar 24, 2019
according to sitemap.xml rebuild cache @Cache Enabler – WordPress Caching
View rebuild_wp_cache.py
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# https://cn.wordpress.org/plugins/cache-enabler/
# rebuild cache according to sitemap.xml
import os
import requests
import xml.etree.ElementTree as ET
import time
import shutil
You can’t perform that action at this time.