Skip to content

Instantly share code, notes, and snippets.

@nisegami
nisegami / .zshrc
Last active November 9, 2020 11:47
Minimal .zshrc for reproducing a zsh-autocomplete bug.
source /home/arshad/.zinit/bin/zinit.zsh
zinit light-mode for marlonrichert/zsh-autocomplete
[
{
"alignment": "Lawful Good",
"ascensions": [],
"attribute": "Earth",
"base_atk": 1261,
"base_hp": 1854,
"class": "Shielder",
"cost": "0",
"gamepress_url": "https://grandorder.gamepress.gg/servant/mash-kyrielight",
@nisegami
nisegami / Site Checker
Created June 24, 2016 07:18
Site Checker For Slack Bot
def isup(domain):
import re
import sys
from urllib import urlopen
#urllib3.disable_warnings()
resp = urlopen("http://www.isup.me/%s" % domain).read()
return True if re.search("It's just you.", resp, re.DOTALL) else False
def siteListBool():