Skip to content

Instantly share code, notes, and snippets.

View Mikaela's full-sized avatar

Aminda Suomalainen ⚧ Mikaela

View GitHub Profile
@kythyria
kythyria / commands.md
Created January 19, 2015 09:13
Command discovery?

When prompted (or when it feels like) the server sends RPL_COMMANDUSAGE:

RPL_COMMANDUSAGE <command> <context> <parameter1> <parameter2> ...

command is the verb in question. context is a hint as to what UI element to attach the command to, or what arguments to deduce when the user enters the command as text.

channel     | Any channel

Most active public GitHub users in Finland

The count of contributions (summary of Pull Requests, opened issues and commits) to public repos at GitHub.com from Fri, 13 Dec 2013 15:07:05 GMT till Sat, 13 Dec 2014 15:07:05 GMT.

Only first 1000 GitHub users according to the count of followers are taken. This is because of limitations of GitHub search. Sorting algo in pseudocode:

githubUsers
 .filter((user) -&gt; user.followers &gt; 11)
@maxteufel
maxteufel / Security of cloaks.md
Last active July 2, 2024 02:28
About the security of (unaffiliated) cloaks on freenode

Copyright (c) 2014, 2016, 2017 M. Teufel

Unlimited redistribution and modification of this document is allowed provided that the above copyright notice and this permission notice remains in tact.


If you are reading this, you probably asked for a (unaffiliated) cloak on freenode because you wanted to hide your IP or hostname.

This text is here to tell you that cloaks and vHosts don't hide your IP very well. Cloaks on freenode show your (lack of) affiliation with a project or a group being hosted on freenode.

@larrybolt
larrybolt / cf-ddns.sh
Last active March 14, 2025 14:12
Automatically update your CloudFlare DNS record to the IP, Dynamic DNS for Cloudflare
#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail
# Automatically update your CloudFlare DNS record to the IP, Dynamic DNS
# Can retrieve cloudflare Domain id and list zone's, because, lazy
# Place at:
# /usr/local/bin/cf-ddns.sh
@romaonthego
romaonthego / NSDateFormatter cheat sheet
Last active April 7, 2025 11:05
Date Formats for NSDateFormatter
a: AM/PM
A: 0~86399999 (Millisecond of Day)
c/cc: 1~7 (Day of Week)
ccc: Sun/Mon/Tue/Wed/Thu/Fri/Sat
cccc: Sunday/Monday/Tuesday/Wednesday/Thursday/Friday/Saturday
d: 1~31 (0 padded Day of Month)
D: 1~366 (0 padded Day of Year)
@aadityabhatia
aadityabhatia / supybot-xkcd-plugin.py
Created April 16, 2011 06:22
Xkcd plugin for supybot
###
# Copyright (c) 2011, Aaditya Bhatia
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this list of conditions, and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright notice,