- Ubuntu 14.04, 16.04, or 16.10
- Open up terminal
- Install core deps:
sudo apt-get install clang libicu-dev git
| <# | |
| .SYNOPSIS | |
| Script to Initialize my custom powershell setup. | |
| .DESCRIPTION | |
| Script uses scoop | |
| .NOTES | |
| **NOTE** Will configure the Execution Policy for the "CurrentUser" to Unrestricted. | |
| Author: Mike Pruett | |
| Date: October 18th, 2018 |
| # got to handle both escaped and literal | |
| df.replace(to_replace=[r"\\t|\\n|\\r", "\t|\n|\r"], value=["",""], regex=True, inplace=<INPLACE>) |
| mkdir ~/.weechat/ssl-cert | |
| cd ~/.weechat/ssl-cert | |
| openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -out relay.pem | |
| In weechat: | |
| /set relay.network.ssl_cert_key "/home/username/.weechat/ssl-cert/relay.pem" | |
| /relay add ssl.weechat 9001 |
| vagrant : INFO global: Vagrant version: 2.0.1 | |
| + vagrant up --debug 2>&1 | Tee-Object -FilePath ".\vagrant.log" | |
| + ~~~~~~~~~~~~~~~~~~~~~~~ | |
| + CategoryInfo : NotSpecified: ( INFO global: Vagrant version: 2.0.1:String) [], RemoteException | |
| + FullyQualifiedErrorId : NativeCommandError | |
| INFO global: Ruby version: 2.4.2 | |
| INFO global: RubyGems version: 2.6.13 |
| file_to_disk = './tmp/large_disk.vdi' | |
| Vagrant::Config.run do |config| | |
| config.vm.box = 'base' | |
| config.vm.customize ['createhd', '--filename', file_to_disk, '--size', 500 * 1024] | |
| config.vm.customize ['storageattach', :id, '--storagectl', 'SATA Controller', '--port', 1, '--device', 0, '--type', 'hdd', '--medium', file_to_disk] | |
| end |
| /* this is the box (and the version) that we want to download from: https://app.vagrantup.com/debian/boxes/jessie64 */ | |
| wget https://app.vagrantup.com/debian/boxes/jessie64/versions/8.9.0/providers/virtualbox.box -O debian-jessie64-8.9.0.box | |
| /* add the box to vagrant */ | |
| vagrant box add debian/jessie64 debian-jessie64-8.9.0.box | |
| /* update box version */ | |
| cd ~/.vagrant.d/boxes/debian-VAGRANTSLASH-jessie64/ | |
| mv 0 8.9.0 |
| " vim:foldmethod=marker:foldlevel=0 | |
| " vim-plug {{{ | |
| call plug#begin() | |
| " color scheme | |
| Plug 'chriskempson/base16-vim' | |
| " syntax highlighting | |
| Plug 'peterhoeg/vim-qml' |
| INFO global: Vagrant version: 2.0.1 | |
| INFO global: Ruby version: 2.4.2 | |
| INFO global: RubyGems version: 2.6.13 | |
| INFO global: VAGRANT_EXECUTABLE="C:\\HashiCorp\\Vagrant\\embedded\\gems\\gems\\vagrant-2.0.1\\bin\\vagrant" | |
| INFO global: VAGRANT_HOME="D:\\vagrant.d" | |
| INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="C:\\HashiCorp\\Vagrant\\embedded" | |
| INFO global: VAGRANT_INSTALLER_ENV="1" | |
| INFO global: VAGRANT_INSTALLER_VERSION="2" | |
| INFO global: VAGRANT_LOG="debug" | |
| INFO global: VAGRANT_OLD_ENV_="ExitCode=00000000" |
Create
Import Insecure Keypair for SSH
mkdir /home/vagrant/.ssh
wget --no-check-certificate \