This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Tab jiggler | |
| // @version 0.1 | |
| // @author Joost Molenaar <[email protected]> | |
| // @match https://example.com/* | |
| // @grant none | |
| // ==/UserScript== | |
| window.setInterval(() => { | |
| document.dispatchEvent(new MouseEvent('mousemove', { bubbles: true | |
| , cancelable: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Oct 13 15:52:27 ubuntu012 systemd[1]: Starting systemd-networkd.service - Network Configuration... | |
| Oct 13 15:52:27 ubuntu012 systemd-networkd[201]: lo: Link UP | |
| Oct 13 15:52:27 ubuntu012 systemd-networkd[201]: lo: Gained carrier | |
| Oct 13 15:52:27 ubuntu012 systemd-networkd[201]: Enumeration completed | |
| Oct 13 15:52:27 ubuntu012 systemd[1]: Started systemd-networkd.service - Network Configuration. | |
| Oct 13 15:52:27 ubuntu012 systemd-networkd[201]: enp0s2: Configuring with /run/systemd/network/10-ether.network. | |
| Oct 13 15:52:27 ubuntu012 systemd-networkd[201]: enp0s2: Link UP | |
| Oct 13 15:52:27 ubuntu012 systemd-networkd[201]: enp0s2: Gained carrier | |
| Oct 13 15:52:28 ubuntu012 systemd[1]: Stopping systemd-networkd.service - Network Configuration... | |
| Oct 13 15:52:28 ubuntu012 systemd[1]: systemd-networkd.service: Deactivated successfully. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # vim: set ft=systemd: | |
| # bpftrace script to monitor access to a file, and delete the file if it's not | |
| # used by anyting. Helpful for files that contain credentials. | |
| # To use, create a drop-in file with `systemctl edit useitorloseit@<name>` | |
| # and define a [Service] block with Environment= lines for at last FILENAME | |
| # and FILENAME_LEN. | |
| # TODO: find better way to set filename length |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| import socket | |
| import threading | |
| import time | |
| STATUS = None | |
| def prompt_for_status(): | |
| global STATUS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use std::collections::HashMap; | |
| #[derive(Debug)] | |
| struct Item { | |
| name: String, | |
| value: i64, | |
| } | |
| impl Item { | |
| fn new(n: &str, v: i64) -> Self { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3.7 | |
| # take a bunch of Medium URLs, download them, remove the crap and bundle them up into something for your e-reader | |
| import lxml | |
| import lxml.etree | |
| import lxml.builder | |
| import requests | |
| import io |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash -x | |
| ${PY:-python3} -m pip download --no-binary :all: $* | |
| ${PY:-python3} -m pip download $* | |
| ${PY:-python3} -m pip wheel $* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| *.swp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| *.swp | |
| *.o | |
| *.hi | |
| *.txt | |
| rwh?? |
NewerOlder