Skip to content

Instantly share code, notes, and snippets.

@pinkisemils
pinkisemils / script.js
Created January 29, 2017 02:46
Youtube history script
// paste this into the console when looking at your youtube history page and you'll get a somewhat long stringified json out
// youtube deprecated the history API altogether, so now we get to dig through EICH TEE EMMMERGHERD ELLLLLLLLLLLLLLLLLLLLLLL
var container_tag = "yt-lockup-content";
var user_data_tag = "yt-lockup-byline";
var containers = document.getElementsByClassName(container_tag);
function get_data_from_container(container) {
var data = {};
function aa(){
$@;
ret_v=$?
if [ "$ret_v" = "0" ]; then
notify-send "$1 finished successfully"
else
notify-send "$1 finished with $ret_v"
fi
}
function aa(){
$@;
ret_v=$?
if [ "$ret_v" = "0" ]; then
notify-send "$1 finished successfully"
else
notify-send "$1 finished with $ret_v"
fi
}
Dec 09 18:11:53 localhost.localdomain NetworkManager[5629]: <trace> [1607537513.9493] platform-linux: event-notification: RTM_NEWLINK, flags 0, seq 0: 18: tun0 <NOARP,DOWN;pointopoint,multicast,noarp> mtu 1500 arp 65534 tun* not-init addrgenmode eui64 rx:0,0 tx:0,0; tun
Dec 09 18:11:53 localhost.localdomain NetworkManager[5629]: <debug> [1607537513.9494] platform: (tun0) signal: link added: 18: tun0 <NOARP,DOWN;pointopoint,multicast,noarp> mtu 1500 arp 65534 tun* not-init addrgenmode eui64 driver tun rx:0,0 tx:0,0
Dec 09 18:11:53 localhost.localdomain NetworkManager[5629]: <trace> [1607537513.9516] platform-linux: event-notification: RTM_NEWLINK, flags 0, seq 0: 18: tun0 <NOARP,UP,LOWER_UP;pointopoint,multicast,noarp,up,running,lowerup> mtu 1500 arp 65534 tun* not-init addrgenmode eui64 rx:0,0 tx:0,0; tun
Dec 09 18:11:53 localhost.localdomain NetworkManager[5629]: <debug> [1607537513.9516] platform: (tun0) signal: link changed: 18: tun0 <NOARP,UP,LOWER_UP;pointopoint,multicast,noarp,up,running,lowerup> mtu
{ config, pkgs, ... }:
{
imports =
[
<nixpkgs/nixos/modules/profiles/qemu-guest.nix>
<nixpkgs/nixos/modules/profiles/headless.nix>
];
boot.growPartition = true;
@pinkisemils
pinkisemils / resignation.md
Last active January 28, 2023 04:26
Resignation

All things come to an end.

I can't say I played a significant role in freenode, but I tried to do my part as a volunteer staff member, and had some fun along the way. But my involvement with freenode has to end due to what has come to light in these past months. What follows is a badly told story of what happened that made me stop volunteering my time at this network. And let's be clear about that, freenode the IRC network up until now has almost exclusively been ran by unpaid volunteers on donated hardware, sans some machines that were provided by PIA.

A long time ago, in 2016 a holding company for freenode was created, with the purpose of helping us to receive donations from PIA, for things such as freenode live. The head of staff promised that this would never have any impact on the way the network was operated. I was personally somewhat sceptical of the need for a conference for a network such as ours - conferences usually have a specific topic that is of common interest by it's attendees and thought t