I hereby claim:
- I am loopyd on github.
- I am lupinedream (https://keybase.io/lupinedream) on keybase.
- I have a public key ASDTZWEUBjsIoUKW7V5GfS-lJSEySTmiWDhNCH33DE4cKgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
@echo off | |
setlocal enableDelayedExpansion enableExtensions | |
REM @filename getopts.cmd | |
REM @link <a href="https://gist.github.com/loopyd">gist.github.com/loopyd</a> | |
REM @editor loopyd <<a href="mailto:[email protected]">[email protected]</a>> LupineDream | |
REM @author <a href="https://stackoverflow.com/users/1012053/dbenham">dbenham</a> | |
REM @description Use is always free, with credit! \ | |
REM \ | |
REM You may use this script at your leasure for testing purposes. \ | |
REM \ |
@ECHO OFF | |
setlocal enableDelayedExpansion enableExtensions | |
REM @filename start_mc.cmd | |
REM @author loopyd <<a href="mailto:[email protected]">[email protected]</a>> LupineDream | |
REM @link <a href="https://gist.github.com/loopyd">gist.github.com/loopyd</a> | |
REM @description Use is always free, with credit! \ | |
REM \ | |
REM You may use this script at your leasure for testing purposes. \ | |
REM \ |
#!bin/bash | |
# ArchTricks pacrevert.sh | |
# By: HeavyPaws "Heavy H. Paws" <[email protected]> | |
# | |
# About: | |
# This script will remove the last n packages specified by its first argument | |
# | |
# Packages are sorted by date. If you ever fuck up and your system won't boot because of a bad group of packages, this | |
# script is your life preserver. |
#!/bin/bash | |
# [ArchTricks] ezkernelpatches.sh - code snippets to help patch your kernel... | |
# For source=() section | |
for ln in $(find ./*.patch -type f -exec sha256sum {} \; | awk '{print $1}'); do echo " '$ln'"; done | |
# For sha256sum=() section | |
for ln in $(find *.patch -type f -exec echo {} \; | awk '{print $1}'); do echo " $ln"; done |
#!/bin/bash | |
# It has a funny name, but a valuable purpose. It will convert movies to optimized gif images of an extremely small size | |
# while preserving a decent amount of their quality. It uses the standard stream and DOES NOT create any junk on the | |
# filesystem, making it extremely fast! | |
# | |
# Dependencies required: gifsicle, ffmpeg | |
# By: HeavyPaws "Heavy H. Paws" <[email protected]> | |
# | |
# Example use: | |
# testicle.sh my_lewd_movie.webm my_lewd_animation.gif |
#!/bin/bash | |
# have an ascii starfield a really half ass one i wrote while drunk. it looked good | |
# while i was drinking, now i'm sober and it has problems. have at. | |
display_center(){ | |
local x | |
local y | |
text="$*" | |
x=$(( ($(tput cols) - ${#text}) / 2)) | |
echo -ne "\E[6n";read -sdR y; y=$(echo -ne "${y#*[}" | cut -d';' -f1) |
# This gist is a useful little programmable tool I wrote to test and | |
# expand CPU arcitecture auto-detection for Gentoo. It allows you to identify | |
# for cross-compiler what machine you will be building the system for. | |
# ...and now its a programmable gist ! Enjoy ! - Heavy H. Paws | |
# | |
function cpu_arch () { | |
local OS_ARCH= | |
## Examples |
#!/bin/bash | |
# Validate cli arguments | |
if [[ "$1 x" == " x" ]]; then | |
>&2 echo 'Invalid argument specified: missing username' | |
exit | |
fi | |
if ! id -u $1 ; then | |
>&2 echo 'Invalid argument specified: username does not exist' | |
fi |
#!/bin/bash | |
mkdir --parents /etc/portage/patches/dev-qt/qtwebengine-5.12.3/ | |
cat <<'EOF' > /etc/portage/patches/dev-qt/qtwebengine-5.12.3/linux-headers-5.2.patch | |
--- a/src/3rdparty/chromium/third_party/webrtc/rtc_base/physicalsocketserver.cc | |
+++ b/src/3rdparty/chromium/third_party/webrtc/rtc_base/physicalsocketserver.cc | |
@@ -67,6 +67,7 @@ typedef void* SockOptArg; | |
#endif // WEBRTC_POSIX | |
#if defined(WEBRTC_POSIX) && !defined(WEBRTC_MAC) && !defined(__native_client__) |