export ACD_LOCAL=$HOME/.cache/Amazon-Cloud-Drive
# To use this file later
export ENCFS6_CONFIG=$ACD_LOCAL/encfs6.xml
mkdir -p \
| #include <iostream> | |
| #include <fstream> | |
| #include <filesystem> | |
| #include <chrono> | |
| using namespace std; | |
| using Timer = std::chrono::high_resolution_clock; | |
| using TimePoint = std::chrono::time_point<Timer>; |
| #include <bitset> | |
| #include <cassert> | |
| #include <iostream> | |
| using MaskType = uint64_t; | |
| static int LowestBitSet(const MaskType v) | |
| { | |
| return __builtin_ffsl(v); | |
| } |
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| """ | |
| Send a magic packet to a list pre-programmed hostnames. | |
| wakeonlan.sh is the old shell-based version; please use this program instead. | |
| Requires the "wakeonlan" program is installed, i.e. |
| #include <algorithm> | |
| #include <chrono> | |
| #include <functional> | |
| #include <iomanip> | |
| #include <iostream> | |
| #include <map> | |
| #include <random> | |
| #include <set> | |
| #include <unordered_set> | |
| #include <thread> |
| #!/usr/bin/env python3 | |
| import collections | |
| import datetime | |
| import pprint | |
| import click | |
| import jinja2 | |
| import requests |
| #!/bin/bash | |
| # GUI-related packages | |
| pkgs=" | |
| xserver-xorg-video-fbdev | |
| xserver-xorg xinit | |
| gstreamer1.0-x gstreamer1.0-omx gstreamer1.0-plugins-base | |
| gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-alsa | |
| gstreamer1.0-libav | |
| epiphany-browser |
I hereby claim:
To claim this, I am signing this object:
| # | |
| # Copyright (C) 2013 Vinay Sajip. New BSD License. | |
| # | |
| import os | |
| import os.path | |
| from subprocess import Popen, PIPE | |
| import sys | |
| from threading import Thread | |
| from urllib.parse import urlparse | |
| from urllib.request import urlretrieve |
| #!/usr/bin/env python3 | |
| # Take a Ubicast.tv RSS feed (usually found on channel pages) and print all the YouTube links available for the video. Said list can be fed into youtube-dl so videos can be watched offline | |
| # Author: Samat Jain <[email protected]> | |
| # License: GPLv3 | |
| import re | |
| import sys | |
| import feedparser |