Skip to content

Instantly share code, notes, and snippets.

@dlight
dlight / minha_coisinha.el
Last active February 12, 2018 02:50
coisinha q eu fiz pra mudar de buffer
(defun keys (a)
(when a
(global-set-key (read-kbd-macro (nth 0 a)) (nth 1 a))
(keys (cddr a))))
(keys '("<s-left>" my-previous-buffer
"<s-right>" my-next-buffer
"<s-up>" next-regular-buffer
"<s-down>" previous-star-buffer))
@RasmusFonseca
RasmusFonseca / multiproducer-consumer.py
Last active September 30, 2024 07:17
Python multiple producer / single consumer example
from multiprocessing import Process, Queue
def square_producer(inputqueue, resultqueue):
"""
A producer that pops numbers off the inputqueue, squares them and puts the result on resultqueue
"""
while True:
num = inputqueue.get()
if num is None:
Windows 7 Ultimate Retail Offline Activation Key
BR6G7-729GM-DQDQW-F9M4P-MM2JX
J6XG4-8JFTF-43CHH-8Q2VW-KHQH6
YQMCM-3W6TK-YXP66-GKCJV-PX7PH
[Tested working on 18 June 2013]
=================================================================================
Windows 7 Pro / Enterprise Online Activation MAK Key
@myyc
myyc / arch_linux_install_guide.md
Last active May 30, 2026 19:27
Arch Linux setup with all the good stuff (Plymouth, encryption, systemd-boot etc.)

I've used this guide through 2024 despite archinstall and it's still more or less valid. After having used archinstall twice and having encountered obscure issues (luksOpen taking ages, or slow reboots in general) I switched back to a manual setup and it seems to be almost as straightforward.

Always refer to the official guide in case of doubt.

First things first

One important thing first: the environment you will encounter on the live image is very different from what you'll end up installing, some things are significantly easier there: e.g. wifi tools come