Skip to content

Instantly share code, notes, and snippets.

View undermink's full-sized avatar
👾

Marc Giersch undermink

👾
View GitHub Profile
@jomat
jomat / 420
Last active February 21, 2018 12:14
#! /usr/bin/env python
import pytz, datetime
now_utc = datetime.datetime.utcnow()
now_utc = pytz.utc.localize(now_utc)
for tzstring in pytz.all_timezones:
local_tz = pytz.timezone(tzstring)
local_time = now_utc.astimezone(local_tz)
@ManiacTwister
ManiacTwister / oper.py
Last active December 21, 2015 22:09
Hexchat plugin collection
# -*- coding: utf-8 -*-
import hexchat
__module_name__ = "oper helpers"
__module_version__ = "0.1"
__module_description__ = "Helpertools for IRC operators"
def on_wallops(word, word_eol, userdata):
""" Move WALLOPS messages into a own tab """
@quchen
quchen / trolling_haskell
Last active February 24, 2024 01:30
Trolling #haskell
13:15 <xQuasar> | HASKELL IS FOR FUCKIN FAGGOTS. YOU'RE ALL A BUNCH OF
| FUCKIN PUSSIES
13:15 <xQuasar> | JAVASCRIPT FOR LIFE FAGS
13:16 <luite> | hello
13:16 <ChongLi> | somebody has a mental illness!
13:16 <merijn> | Wow...I suddenly see the error of my ways and feel
| compelled to write Node.js!
13:16 <genisage> | hi
13:16 <luite> | you might be pleased to learn that you can compile
| haskell to javascript now
@guerrerocarlos
guerrerocarlos / htpasswd.py
Created July 27, 2012 23:55
Python script for generating htaccess passwords
#!/usr/bin/python
"""Replacement for htpasswd"""
# Original author: Eli Carter
import os
import sys
import random
from optparse import OptionParser
# We need a crypt module, but Windows doesn't have one by default. Try to find