I hereby claim:
- I am indexyz on github.
- I am indexyz (https://keybase.io/indexyz) on keybase.
- I have a public key ASDqvRhSzx5-5qArZm_Yrd_Ltoc2Hzjze2-qYDkhgVWyuwo
To claim this, I am signing this object:
["README","alioth-r-oss","andromeda-p-oss","apollo-q-oss","ares-r-oss","armani-jb-oss","armani-kk-oss","begonia-p-oss","begonia-q-oss","begonia-r-oss","biloba-r-oss","bomb-q-oss","cactus-o-oss","cactus-p-oss","camellia-r-oss","cancro-kk-oss","cancro-m-oss","cannon-q-oss","cannon-r-oss","cappu-n-oss","cas-q-oss","cepheus-p-oss","cepheus-q-oss","cezanne-q-oss","cezanne-r-oss","chopin-r-oss","clover-o-oss","cmi-r-oss","courbet-r-oss","crux-p-oss"] |
<?php | |
if (!defined('__TYPECHO_ROOT_DIR__')) exit; | |
/** | |
* Use disqus js as comment loader | |
* | |
* @package DisqusJs | |
* @author Indexyz | |
* @version 1.0.0 | |
* @link https://blog.indexyz.me |
(function() { | |
addEventListener("trix-attachment-add", function(event) { | |
if (event.attachment.file) { | |
uploadFileAttachment(event.attachment) | |
} | |
}) | |
function uploadFileAttachment(attachment) { | |
uploadFile(attachment.file, setAttributes) |
<?php | |
if (!defined('__TYPECHO_ROOT_DIR__')) exit; | |
/** | |
* Add google analytics to page header | |
* | |
* @package Analytics | |
* @author Indexyz | |
* @version 1.0.0 | |
* @link https://blog.indexyz.me |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
rm $(docker inspect $1 | grep -G '"LogPath": "*"' | sed -e 's/.*"LogPath": "//g' | sed -e 's/",//g'); | |
# Usage ./clean-docker-logs.sh ${container_id} |
# -*- coding: utf-8 -*- | |
from urllib import urlencode, quote_plus | |
import requests | |
import threading | |
import random | |
import time | |
import json | |
import sys | |
import re |
from bs4 import BeautifulSoup | |
from enum import Enum | |
import feedparser | |
import urlparse | |
import requests | |
import json | |
import time | |
import os | |
basic_url = 'http://hdhome.org/' |