I hereby claim:
- I am nickistre on github.
- I am nickistre (https://keybase.io/nickistre) on keybase.
- I have a public key ASBTGJdnJi3MmfI0twBlRQR4IYal_JqGydn4SkGljk6eUgo
To claim this, I am signing this object:
| ####################### | |
| # Flashcache settings # | |
| ####################### | |
| # Save at /etc/sysctl.d/90-flashcache-home.conf | |
| # Setup changes for home mounted flashcache | |
| # Change reclaim policy to LRU | |
| dev.flashcache.sdc3+9d2bd66e-d2d8-4e6d-a971-613bd7c7e0be.reclaim_policy=1 |
| #!/bin/env bash | |
| # The following is to combine all mp4 files (such as from a GoPro action cam) in the current directory into one | |
| # large file for processing. Note that audio is converted from whatever compressed form to uncompressed PCM! | |
| # Change the filenames to order them in alpha-numeric form. | |
| mencoder -oac pcm -ovc copy -idx -o full.mp4 *.MP4 |
I hereby claim:
To claim this, I am signing this object:
| protected function checkHTML($body) | |
| { | |
| libxml_use_internal_errors(true); | |
| $dom = new \DOMDocument(); | |
| $dom->loadHTML($body, LIBXML_HTML_NOIMPLIED + LIBXML_HTML_NODEFDTD); | |
| // Check for no errors | |
| $this->assertCount(0, libxml_get_errors()); | |
| // Check for doctype |
| # Copy this into ~/.gitignore and run the following: | |
| # git config --global core.excludesfile ~/.gitignore | |
| # Folder view configuration files | |
| .DS_Store | |
| Desktop.ini | |
| # Thumbnail cache files | |
| ._* | |
| Thumbs.db |
| #!/usr/bin/env bash | |
| # From: https://stackoverflow.com/a/46625302 | |
| function getContainerHealth { | |
| docker inspect --format "{{json .State.Health.Status }}" $1 | |
| } | |
| function waitContainer { | |
| while STATUS=$(getContainerHealth $1); [ $STATUS != "\"healthy\"" ]; do | |
| if [ $STATUS == "\"unhealthy\"" ]; then |
| # In `~/.bashrc`, add or change to the following: | |
| # uncomment for a colored prompt, if the terminal has the capability; turned | |
| # off by default to not distract the user: the focus in a terminal window | |
| # should be on the output of commands, not on the prompt | |
| #force_color_prompt=yes | |
| if [ -n "$force_color_prompt" ]; then | |
| if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then | |
| # We have color support; assume it's compliant with Ecma-48 |
| >>> Adding process 127220 for game ID 284160 | |
| >>> Adding process 127223 for game ID 284160 | |
| >>> Adding process 127222 for game ID 284160 | |
| sh: 1: lsb_release: not found | |
| >>> Adding process 127224 for game ID 284160 | |
| >>> Adding process 127226 for game ID 284160 | |
| >>> Adding process 127227 for game ID 284160 | |
| >>> Adding process 127228 for game ID 284160 | |
| >>> Adding process 127229 for game ID 284160 | |
| sh: 1: lsb_release: not found |
| Computer Information: | |
| Manufacturer: Unknown | |
| Model: Unknown | |
| Form Factor: Desktop | |
| No Touch Input Detected | |
| Processor Information: | |
| CPU Vendor: AuthenticAMD | |
| CPU Brand: AMD Ryzen 5 5600X 6-Core Processor | |
| CPU Family: 0x19 |
| #!/bin/bash | |
| # Infinite loop | |
| for (( ; ; )) | |
| do | |
| for arg in "${@}" | |
| do | |
| if [ ! -e "${arg}" ] | |
| then | |
| echo "'${arg}' is gone" |