- Fork https://github.com/github/dmca
- Download latest youtube-dl source code from https://yt-dl.org/latest
- Extract
tar -xvf youtube-dl-2020.09.20.tar.gz
- Push code to your fork as the GitHub CEO
# Global packages to be installed in home directory | |
# Desktop apps | |
gdown | |
https://github.com/thenaterhood/gscreenshot/archive/refs/tags/v3.4.1.tar.gz | |
# Installed out of convenience | |
fastapi | |
uvicorn | |
pydantic>=2 | |
lenses |
tar -xvf youtube-dl-2020.09.20.tar.gz
These instructions create a conda-shell type of environment for running Julia 1.1. (Derivation originally from https://gist.github.com/tbenst/c8247a1abcf318d231c396dcdd1f5304).
Note: Some Julia packages may fail to install due to missing binary dependencies. The built-in package manager of Julia will normally install these for you but will fail in case of NixOS. You need to "simply" figure out what is missing and add them to the .nix-file.
{ pkgs ? import <nixpkgs> {}}:
let
jupyterPort = pkgs.config.jupyterPort;
# Demonstration: https://www.youtube.com/watch?v=5AvHrIK-Kjc&feature=youtu.be | |
# rand_cmap from https://stackoverflow.com/questions/14720331/how-to-generate-random-colors-in-matplotlib | |
import matplotlib.pyplot as plt | |
import torch | |
import torch.nn.functional as F | |
from visualizations import rand_cmap | |
W = H = 64 | |
img = torch.randn(W, H).to(device) |
# Tested on Ubuntu 16.04 and X11, 2019 | |
# 1. Download NVIDIA driver as a .run file | |
# 2. Stop X-Server | |
sudo service lightdm stop | |
# 3. Blacklist Nouveau driver | |
sudo nano /etc/modprobe.d/blacklist-nouveau.conf |
Config Files Repo : https://github.com/Bearbobs/glorious-awesome-debian | |
Setps to setup on debain based system as the original author is on arch and It's quite diffrent procedure as compared. | |
## Awesome and Rofi are quite old in debain repo, Building from Git is required. | |
Steps to do the same. | |
## Rofi-> | |
git clone --recursive https://github.com/DaveDavenport/rofi | |
cd rofi |
Made possible with this reddit post.
wine regedit wine-breeze-dark.reg
wine regedit wine-reset-theme.reg
## This script contains following image augementation methods: | |
# Random Horizontal Flip | |
# Random Crop | |
# Random Sized Crop | |
# Random Rotation | |
# Gaussian Noise | |
# Random Grayscale | |
# Random Lightning | |
# Random Contrast | |
# Multiply |
Awesome-WM is a X11 window manager, that is configured via Lua. Fennel is a Lisp for Lua. This shows a general setup of how to write your awesome-wm config using fennel directly without the compilation step (which would also work, but is not needed).
Fetch a recent Fennel version (the
""" | |
author: Timothy C. Arlen | |
date: 28 Feb 2018 | |
Calculate Mean Average Precision (mAP) for a set of bounding boxes corresponding to specific | |
image Ids. Usage: | |
> python calculate_mean_ap.py | |
Will display a plot of precision vs recall curves at 10 distinct IoU thresholds as well as output |