I hereby claim:
- I am kshaa on github.
- I am kshaa (https://keybase.io/kshaa) on keybase.
- I have a public key whose fingerprint is 0BD3 4451 79D1 46B0 2E34 29A7 79B0 4834 A612 2FC8
To claim this, I am signing this object:
| <!-- GTM DEBUGGER DEV ONLY--> | |
| <script> | |
| // DataLayer debugger | |
| setTimeout(function() { | |
| // Helpers | |
| var entityMap = { | |
| '&': '&', | |
| '<': '<', |
I hereby claim:
To claim this, I am signing this object:
| -- Mergefile | |
| main.cpp | |
| -- main.cpp | |
| #include <iostream> | |
| #include "lib/LinkedList/LinkedList.h" | |
| using namespace std; | |
| int main() { | |
| // Code here | |
| } |
| #!/usr/bin/env bash | |
| # Usage: | |
| # | |
| # # Compile main.cpp to merged_main.cpp | |
| # ./merge.sh | |
| # | |
| # # Compile index.cpp to merged_main.cpp | |
| # ./merge.sh index.cpp | |
| # |
| # Source - https://superuser.com/questions/268344/how-do-i-delete-all-but-10-newest-files-in-linux | |
| # Remove all files except the newest 5 | |
| preserveCount=5 | |
| path="./rotate" | |
| ls -1tr $path | head -n "-$preserveCount" | xargs -I {} -d '\n' rm -f $path/{} |
Go to http://www.brain-games.com/lv/noteikumi/
In the console run this to get a list of all latvian rule download links
var lvhrefs = [];
var lvimgs = document.querySelectorAll("img[src='http://www.brain-games.com/wp-content/uploads/lv.png']")
.forEach(function(lvimg) {
lvhrefs.push(lvimg.parentElement.href)
})| #!/usr/bin/env bash | |
| chain_pem="${1}" | |
| if [[ -z "${2}" ]]; then | |
| ssl_flags="x509 -noout -text" | |
| else | |
| ssl_flags="${2}" | |
| fi | |
| echo "SSL Flags: ${ssl_flags}\n" |
| #!/usr/bin/env bash | |
| function help() { | |
| echo "Usage $0 [TEMPLATE] [RENDER]" | |
| echo "Replaces all instances of '\$TPL_*' in TEMPLATE and write to RENDER" | |
| echo "If RENDER not provided, will print to stdout" | |
| } | |
| template="$1" | |
| if [ -z "$template" ] |
| # Nix shell info: | |
| # - This shell uses the Nix package manager `https://github.com/NixOS/nix` | |
| # - This shell uses the experimental `nix flake` functionality: | |
| # - See `https://nixos.wiki/wiki/Flakes` | |
| # - See `https://www.tweag.io/blog/2020-05-25-flakes/` | |
| # - This shell usage is described not for NixOS, but for Ubuntu, however NixOS should work too | |
| # - If problems arise while managing nix versions, check state of nix channels: | |
| # - `nix-channel --list` | |
| # - `nix-channel --help` | |
| # - `env | grep nixpkgs` |
VLC command:
vlc v4l2:// :input-slave=alsa:// :v4l2-standard=1 :v4l2-dev=/dev/video0 :v4l2-width=1280 :v4l2-height=720 :sout="#transcode{vcodec=theo,vb=2000,acodec=vorb,ab=128,channels=2,samplerate=44100}:http{dst=:8081/webcam.ogg}" -I dummy
Source: https://bioinfoexpert.com/blog/2016/08/09/stream-audio-video-from-webcam-using-vlc/