This file contains 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 | |
""" | |
Uses the Reddit API to get the top wallpaper from a specified subreddit. | |
""" | |
import urllib.request | |
import json | |
import subprocess | |
import shutil |
This file contains 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
[ | |
{ | |
"num": 0, | |
"name": "sys_read", | |
"params": [ | |
[ | |
"unsigned int", | |
"fd" | |
], | |
[ |
This file contains 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
{ | |
pkgs ? import <nixpkgs> {}, | |
}: | |
with pkgs; | |
with builtins; | |
let | |
serverJS = fetchurl { | |
url = "https://s3-eu-west-1.amazonaws.com/stremio-artifacts/four/master/server.js"; |
This file contains 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
/** | |
* Author: Jason White | |
* License: Public Domain | |
* | |
* Description: | |
* This is a simple test program to hook into PulseAudio volume change | |
* notifications. It was created for the possibility of having an automatically | |
* updating volume widget in a tiling window manager status bar. | |
* | |
* Compiling: |
This file contains 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
/** | |
* Author: Jason White | |
* | |
* Description: | |
* Reads joystick/gamepad events and displays them. | |
* | |
* Compile: | |
* gcc joystick.c -o joystick | |
* | |
* Run: |
This file contains 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
/* | |
* This is a short test program that prints a message when a file is added, | |
* removed, modified, or moved from any directory below that of the program's | |
* working directory. | |
*/ | |
#include <windows.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <tchar.h> | |
#include <stdint.h> |
This file contains 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/python3 | |
""" | |
Desktopography provides no way of downloading all of their wallpapers at once. | |
This script will scrape the Desktopography website and download all of the | |
wallpapers for the specified resolutions and years. Wallpapers that have already | |
been downloaded are skipped. | |
Usage: ./desktopogra.py [DIR] | |
The wallpapers are saved in the following format: |