This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This uses ABK License layered atop MIT License. | |
1. ABK License | |
2. MIT License | |
****************************************************************************** | |
1. ABK License | |
URL: https://github.com/abhishekkr | |
****************************************************************************** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
git-ignore(){ | |
if [[ $# -eq 0 ]]; then | |
cat >> ./.gitignore << GITIGNORE | |
*swn | |
*swo | |
*swp | |
*~ | |
*.tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
Toggle the first & second bytes. | |
Syntax: python <py-file> filename | |
""" | |
import sys | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
""" | |
What-To-Play-First-For-Disk-Space | |
Requirements: | |
* Python (https://en.wikipedia.org/wiki/Python_(programming_language)) | |
* FFMPEG (https://en.wikipedia.org/wiki/FFmpeg) | |
This utility helps with two problems: | |
* Need to empty some disk-space quickly but have lots of videos/podcasts on it yet to finish. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filters_to_delete: | |
- "to:(lists.launchpad.net)" | |
- "from:(@bewakoof.net)" | |
- "from:(chtah.net)" | |
- "from:(@daniwebmail.com)" | |
- "from:(@dzone.com)" | |
- "from:(ecast@opensystemsmedia.com)" | |
- "from:(@eletters.whatsnewnow.com)" | |
- "from:(email@engage.redhat.com)" | |
- "from:(@email.udemy.com)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ctx = new AudioContext(); | |
t = {b: ctx.currentTime}; | |
o = ctx.createOscillator(); | |
o.connect(ctx.destination); | |
o.frequency.value = 500; | |
o.frequency.exponentialRampToValueAtTime(166,t.b+5); | |
o.start(t.b); | |
o.stop(t.b+5);} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
[[ ! -z "$1" ]] && export LOCAL_BIN="$1" | |
[[ -z "${LOCAL_BIN}" ]] && export LOCAL_BIN="${HOME}/bin" | |
[[ ! -d "${LOCAL_BIN}" ]] && mkdir -p "${LOCAL_BIN}" | |
[[ -z "${NODEJSVERSION}" ]] && export NODEJSVERSION="6.11.2" | |
[[ -z "${NODEJSOS}" ]] && export NODEJSOS="linux" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
### usage example:$ go-versions 1.13.4 | |
set -e | |
export GOVERSION="$1" | |
[[ ! -z "$2" ]] && export LOCAL_BIN="$2" | |
[[ -z "${LOCAL_BIN}" ]] && export LOCAL_BIN="${HOME}/bin" | |
[[ ! -d "${LOCAL_BIN}" ]] && mkdir -p "${LOCAL_BIN}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
############################################################################# | |
# | |
# You don't need to keep your project in GOPATH go-get dir. | |
# Keep your project in your normal workspace as projects on other stacks. | |
# This works like virtualenv, will create a local GOPATH and manage it's own via Linux's symlinks magic. | |
# | |
# 'source go-tasks' | |
# source this file to load all methods | |
# it turns on the go environment for the path it's run from |
NewerOlder