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
" Don't try to be vi compatible | |
set nocompatible | |
" Helps force plugins to load correctly when it is turned back on below | |
filetype off | |
" TODO: Load plugins here (pathogen or vundle) | |
" Turn on syntax highlighting | |
syntax on |
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
" ============================================================================= | |
" Miller Medeiros .vimrc file | |
" ----------------------------------------------------------------------------- | |
" heavily inspired by: @factorylabs, @scrooloose, @nvie, @gf3, @bit-theory. | |
" ============================================================================= | |
" ----------------------------------------------------------------------------- | |
" BEHAVIOR | |
" ----------------------------------------------------------------------------- |
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
# VirtualBox home directory. | |
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" setproperty machinefolder "C:\VMs" | |
# Vagrant home directory for downloadad boxes. | |
REG ADD HKCU\Environment /v VAGRANT_HOME /t REG_SZ /d "C:\VMs\vagrant.d" |
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 | |
#http://www.knight-of-pi.org/installing-jupyter-on-a-raspberry-pi-for-notebooks-debugging-and-data-analysis/ | |
#https://jupyter-notebook.readthedocs.io/en/stable/public_server.html | |
#https://aichamp.wordpress.com/2017/06/13/setting-up-jupyter-notebook-server-as-service-in-ubuntu-16-04/ | |
if [ "$(whoami)" != "root" ]; then | |
echo "Run script as ROOT please. (sudo !!!)" | |
exit | |
fi |
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 | |
#https://blog.ukrnames.com/administrirovanie/nastroyka-i-ustanovka-vsftpd | |
#https://www.benscobie.com/fixing-500-oops-vsftpd-refusing-to-run-with-writable-root-inside-chroot/ | |
#https://www.systutorials.com/39549/changing-linux-users-password-in-one-command-line/ | |
if [ "$(whoami)" != "root" ]; then | |
echo "Run script as ROOT please. (sudo !!!)" | |
exit | |
fi |
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 | |
#http://habitica.wikia.com/wiki/Setting_up_Habitica_Locally | |
#https://github.com/FreeCodeCamp/FreeCodeCamp/issues/6336 | |
#https://github.com/Medium/phantomjs/issues/730 | |
#https://github.com/pattern-lab/edition-node-gulp/issues/61 | |
#https://stackoverflow.com/questions/47371904/e-unable-to-locate-package-npm | |
#https://askubuntu.com/questions/422975/e-package-python-software-properties-has-no-installation-candidate | |
#if [ "$(whoami)" != "root" ]; then |
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
# install required packages | |
add-apt-repository ppa:webupd8team/java | |
apt -y update | |
apt -y upgrade | |
apt -y dist-upgrade | |
apt -y install libcairo2-dev libjpeg-turbo8-dev libpng12-dev libossp-uuid-dev libfreerdp-dev libpango1.0-dev libssh2-1-dev libtelnet-dev \ | |
libvncserver-dev libpulse-dev libssl-dev libvorbis-dev libwebp-dev git build-essential autoconf libtool oracle-java8-installer tomcat8 \ | |
tomcat8-admin tomcat8-common tomcat8-docs tomcat8-user maven mysql-server mysql-client mysql-common mysql-utilities libpulse-dev \ | |
libvorbis-dev freerdp ghostscript wget |
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 | |
#http://robot-on.ru/articles/install-openhab-on-raspberry-pi-orange-pi | |
sudo apt-get update -y | |
sudo apt-get upgrade -y | |
sudo apt-get install oracle-java8-jdk -y | |
java -version | |
wget -qO - 'https://bintray.com/user/downloadSubjectPublicKey?username=openhab' | sudo apt-key add - | |
sudo apt-get install apt-transport-https |
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
<Virtualhost *:80> | |
ServerName your.url.com | |
ProxyRequests Off | |
ProxyPreserveHost On | |
AllowEncodedSlashes NoDecode | |
<Proxy http://localhost:8080/*> | |
Order deny,allow | |
Allow from all | |
</Proxy> |
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 | |
#https://feeding.cloud.geek.nz/posts/setting-up-a-network-scanner-using-sane/ | |
#https://askubuntu.com/questions/762702/failed-to-start-saned-service-unit-saned-service-is-masked | |
#http://www.ekzorchik.ru/2017/09/print-server-cups-on-raspberry-pi-3/ | |
#https://habrahabr.ru/post/328576/ | |
#https://wiki.debian.org/ru/HowTo/ChangeHostname | |
#http://help.ubuntu.ru/wiki/сканеры_решение_общих_проблем_с_подключением | |
#http://www.sane-project.org/sane-mfgs.html#Z-CANON | |
#https://feeding.cloud.geek.nz/posts/setting-up-a-network-scanner-using-sane/ |