This file contains hidden or 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
function 4chan() { | |
if [ $# -ne 1 ] | |
then | |
echo 'No URL specified! Give the URL to thread as the ONLY argument' | |
return 1 | |
fi | |
url=$1 |
This file contains hidden or 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 | |
while [ 1 == 1 ] | |
do | |
########################################################################## | |
url=$(cat /dev/urandom | tr -cd "[:alnum:]" | head -c 5) | |
curl -f -s http://imgur.com/$url > /dev/null | |
exitstatus=$? |
This file contains hidden or 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
SRC: http://vi-control.net/community/threads/daw-users-poll-and-the-who-uses-what-list.35147/ | |
EDIT: The poll results were erased when moved to the new VI-C site in 2015, rendering it useless. Newer polls have emerged since. | |
Please feel free to add to the list, and provide a source if you can. | |
NOTE: These are DAWs used as the "primary composition and sequencing software". The 'Desert Island' DAW. | |
DAWs And Their Users | |
============== |
This file contains hidden or 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
// taken from https://medium.com/front-end-hacking/ajax-async-callback-promise-e98f8074ebd7#.55p53btpl | |
function makeAjaxCall(url, methodType){ | |
var promiseObj = new Promise(function(resolve, reject){ | |
var xhr = new XMLHttpRequest(); | |
xhr.open(methodType, url, true); | |
xhr.send(); | |
xhr.onreadystatechange = function(){ | |
if (xhr.readyState === 4){ | |
if (xhr.status === 200){ |
This file contains hidden or 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
@echo off | |
DOSKEY ls=dir /B | |
DOSKEY lsport=netstat -a -n -o | find "%1" |
This file contains hidden or 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
https://stackoverflow.com/questions/1057564/pretty-git-branch-graphs | |
[alias] | |
lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all | |
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all | |
lg3 = log --graph --abbrev-commit --decorate --format=format:'%C(yellow)%h%C(reset)%C(auto)%d%C(reset) %C(normal)%s%C(reset) %C(dim white)%an%C(reset) %C(dim blue)(%ar)%C (reset)' --all | |
lg4 = log --all --decorate --oneline --graph | |
lg = !"git lg1" |
This file contains hidden or 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
apt install mc nmap hping3 htop unzip | |
apt install nodejs npm | |
apt install git-flow | |
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - | |
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list | |
sudo apt-get update && sudo apt-get install yarn | |
apt install zsh | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" |
This file contains hidden or 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
// Small utility to recover forgotten Tizen certificate password. | |
// If you still have the Eclipse IDE remembering the password, you | |
// can find it in encrypted form in a file: | |
// <WORKSPACE>/.metadata/.plugins/org.tizen.common.sign/profiles.xml | |
// Then simply paste the password from that file to this utility as | |
// a command line parameter. | |
// Code is mostly copied from Tizen IDE source code. | |
package fi.ustun.tizendecipher; |
This file contains hidden or 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
{"ip":"127.0.0.1","country":"Poland","cc":"PL"} |
This file contains hidden or 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
BONUS: here's a test rule for POSTMAN that help you quickly copy/paste results (more info https://learning.postman.com/docs/postman/sending-api-requests/visualizer/): | |
var template = ` | |
<table bgcolor="#FFFFFF"> | |
<tr> | |
<td>Video</td> | |
<td> | |
{{#response.video}} |