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
apt install nix -y | |
cd /sec/root | |
mkdir -p /sec/root/nix-store | |
wget https://github.com/nixos/nixpkgs/archive/master.tar.gz | |
tar zxvf master.tar.gz | |
rm master.tar.gz | |
# is blocking cache.nixos.org for some reason | |
cat <<EOF > /etc/resolv.conf | |
search us-east-2.compute.internal | |
nameserver 8.8.8.8 |
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
s.youtube.com | |
www.play-asia.com | |
play-asia.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
2020/06/18 12:53:30 [INFO] Terraform version: 0.13.0 beta2 | |
2020/06/18 12:53:30 [INFO] Go runtime version: go1.14.2 | |
2020/06/18 12:53:30 [INFO] CLI args: []string{"/nix/store/65gd0bdmmfwsxk083fznvrlj32wnq04v-terraform/bin/terraform", "import", "-no-color", "-allow-missing-config", "github_repository.terraform", "terraform"} | |
2020/06/18 12:53:30 [DEBUG] Attempting to open CLI config file: /home/vagrant/.terraformrc | |
2020/06/18 12:53:30 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2020/06/18 12:53:30 [DEBUG] checking for credentials in "/home/vagrant/.terraform.d/plugins" | |
2020/06/18 12:53:30 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins | |
2020/06/18 12:53:30 [DEBUG] will search for provider plugins in /home/vagrant/.terraform.d/plugins | |
2020/06/18 12:53:30 [DEBUG] ignoring non-existing provider search directory /home/vagrant/.local/share/terraform/plugins | |
2020/06/18 12:53:30 [DEBUG] ignoring non-existing provider search directory /nix/store/7lq77a7vkf8h4hjvlm7kx1k224clgk5w- |
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
0 |
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
set noswapfile | |
set clipboard=unnamed | |
set nocompatible " be iMproved, required | |
filetype off " required | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'VundleVim/Vundle.vim' | |
Plugin 'scrooloose/nerdtree' |
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 | |
if [ ! -z "$1" ]; then | |
while true; do | |
osascript -e "set volume output volume $1" | |
done | |
else | |
cat <<HERE | |
put_volume <volume_amount> | |
- <volume_amount> 0-100 | |
HERE |
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
let barposition = "bottom" | |
let blacklists = ["https://prezi.com/*","http://play.prismata.net/*"] | |
set autoupdategist | |
set defaultnewtabpage | |
let searchengine maps = "https://www.google.com/maps/search/" | |
let searchengine dictionary = "http://www.thefreedictionary.com/" | |
let searchengine thesaurus = "http://www.thesaurus.com/browse/" | |
let searchengine github = "https://github.com/search?utf8=✓&q=" | |
let searchengine pirate = "https://thepiratebay.se/search/" | |
let searchengine play = "https://play.google.com/music/listen#/sr/" |