Skip to content

Instantly share code, notes, and snippets.

View nurupo's full-sized avatar


  • nurupo at irc://
View GitHub Profile
nurupo /
Last active August 15, 2021 10:09 — forked from Und3rf10w/
Weekly purge of Quassel chat database for sqlite instances
# Taken from
# Taken from
# first day of data that will be maintained
# -7 day means that *every* chatline stored before 8 days ago and so on are going to be eliminated.
# only the last 7 days are keeped.
DATE_TO_PRUNE='-7 day'
nurupo / #toktok.log
Last active May 26, 2021 06:04
Freenode dropping / taking over channels with in the /title
View #toktok.log
=== 2021-05-23 ===
/cs info #toktok
[06:38:26] [ChanServ] Information on #toktok:
[06:38:26] [ChanServ] Founder : iphy
[06:38:26] [ChanServ] Registered : Nov 02 12:23:24 2009 (11y 29w 1d ago)
[06:38:26] [ChanServ] Mode lock : +ntcg
[06:38:26] [ChanServ] URL :
[06:38:26] [ChanServ] Flags : KEEPTOPIC GUARD
[06:38:26] [ChanServ] The #toktok namespace is registered to the toktok project
nurupo /
Last active October 14, 2023 16:16
How to close a channel on Freenode when migrating to Libera

How to close a channel on Freenode when migrating to Libera

Run /msg NickServ LISTCHANS to see what permissions you have in what channels.

For each channel you have +s, +R and either +o or +O or +t permissions in, run:

/msg ChanServ OP #channel
/msg ChanServ SET #channel TOPICLOCK OFF
/msg ChanServ TOPIC #channel We have moved to
nurupo / !
Last active February 3, 2023 21:59
Fix GitHub June Redesign
View !

Fix GitHub June Redesign

An attempt to make GitHub's June redesing more bearable.


Install the Stylus browser extension (Chrome Firefox) and add the user style into it.


View gist:cbfc08b1a862b17e08a3b1447b00dae4

This October the Tox developer community will be holding its third annual conference in the @metalabvie in the heart of Vienna, Austria.
The event will be 3 full days, from Friday, October 11th to Sunday, October 13th.

We will talk about Tox, and other security related and interesting topics.
If you would like to attend, meet the Tox devs, do some live hacking, or just socialize, get your free ticket (and reserve a T-shirt) here:
You can find the exact address on your ticket!

nurupo /
Last active November 12, 2018 22:38 — forked from zoff99/

ToxCon 2018 report

This year's ToxCon was super fun, thanks to everyone who attended it!

If you have missed the event, list of talks, talk slides and some photos from the event are available online. No videos are available as it was decided not to record the talks.

We are planning to hold another ToxCon the next year, so keep an eye for announcements. If you are working on anything fun with Tox and want to share it with the world, consider giving a talk at the next ToxCon -- we would be happy to host your talk.

nurupo /
Last active January 15, 2019 22:46

Keybase proof

I hereby claim:

  • I am nurupo on github.
  • I am nurupo ( on keybase.
  • I have a public key whose fingerprint is 1D4E 9375 AD9B D50F 80FF 55AC 6F55 0977 4B1E F0C2

To claim this, I am signing this object:

View reclaimWindows10.ps1
# Tweaked Win10 Initial Setup Script
# Primary Author: Disassembler <>
# Original Version: 1.4, 2016-01-16
# Tweaked based on personal preferences for @alirobe 2016-03-23 - v1.4.1
# This script will reboot your machine when completed.
# Ask for elevated permissions if required
nurupo /
Created November 3, 2015 04:27
Tox example

#Tox Echo Bot Example

##Getting started

This example is aimed at introducing people to basics of using toxcore C API. It's assumed that the reader is familiar with the C programming language.

Before jumping to coding, we need to install toxcore library, which can be done by following installation instructions from toxcore's git repository.

For the sake of simplicity, we will use a couple of helper functions from the sodium library, which is a dependency of toxcore, so it should be installed along with it.

View gist:304870d1d572eff1bd00
template<typename Func, Func func> struct thunk;
template<typename Class, typename R, typename ...Args, R(Class::*func)(Args...)>
struct thunk<R(Class::*)(Args...), func>
static R call(Tox *tox, Args ...args, void *userData)
return ((*static_cast<Class *>(userData)).*func)(args...);