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
Kill jekyll server: | |
$ lsof -wni tcp:4000 | |
$ kill -9 <PID of process> | |
Note: use crtl-c to stop. |
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
#!/bin/sh | |
set -e | |
jenkins_install() | |
{ | |
wget -q -O - http://pkg.jenkins-ci.org/debian-stable/jenkins-ci.org.key | \ | |
sudo apt-key add - | |
echo deb http://pkg.jenkins-ci.org/debian-stable binary/ | \ | |
sudo tee /etc/apt/sources.list.d/jenkins.list |
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
### Problem: Cannot send console messages from arduino console sample: https://www.arduino.cc/en/Tutorial/ConsoleRead | |
### Config: | |
1.- Original Arduino Uno Board | |
2.- Geetech Iduino Yun Shield Clone | |
3.- Arduino IDE 1.8.5 | |
4.- Ubuntu 18.04 Linux 64 | |
### Symptom: |
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
/********************************************************************************* | |
PUSHOVER ARDUINO YUN SAMPLE | |
Tested on: Arduino Uno + Arduino Yun Shield (iduino) | |
Written by Diego Navarro M | |
***********************************************************************************/ | |
#include <Bridge.h> |
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
ffmpeg -y -i input.mp3 -ar 16000 -ab 48k -codec:a libmp3lame -ac 1 output.mp3 | |
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
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash | |
source ~/.profile | |
nvm ls-remote | |
nvm install 12.18.2 | |
nvm use 12.18.2 | |
node -v | |
npm -v | |
##Edit version | |
nvm alias default 12.18.2 |
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
text = new PIXI.Text('TEST', { | |
align: 'center', | |
fill: 'rgba(255, 255, 255, .9)', | |
fontSize: 30, | |
fontWeight: 100, | |
fontFamily: 'FuturaICG, Roboto, Tahoma, Geneva, sans-serif', | |
letterSpacing: 100 | |
}); |
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
#### This will install Fluxion on Linux Mint 19 | |
# REMOVE OLD AIRCRACK AND COMPILE NEW VERSION | |
sudo apt remove aircrack-ng | |
sudo apt install autoconf automake libpcre3-dev libnl-3-dev libsqlite3-dev libssl-dev ethtool build-essential g++ libnl-genl-3-dev libgcrypt20-dev libtool python3-distutils | |
sudo apt install -y pkg-config | |
git clone https://github.com/aircrack-ng/aircrack-ng.git | |
cd aircrack-ng/ | |
autoreconf -i |
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
#Step 1 : preconditions | |
sudo apt-get install build-essential checkinstall | |
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev \ | |
libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev | |
#Step 2: download an unpack python | |
cd /usr/src | |
sudo wget https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tgz | |
sudo tar xzf Python-3.7.2.tgz |
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
#!/bin/bash | |
#### PART ONE | |
cat > /etc/apt/sources.list.d/openmediavault.list << EOF | |
# deb http://packages.openmediavault.org/public arrakis main | |
deb http://downloads.sourceforge.net/project/openmediavault/packages arrakis main | |
## Uncomment the following line to add software from the proposed repository. | |
# deb http://packages.openmediavault.org/public arrakis-proposed main | |
# deb http://downloads.sourceforge.net/project/openmediavault/packages arrakis-proposed main | |
## This software is not part of OpenMediaVault, but is offered by third-party | |
## developers as a service to OpenMediaVault users. |
OlderNewer