A Pen by Alberto Tallone on CodePen.
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 | |
| if [ ! $1 ]; then echo -e "usage: \n\nbootstrap.sh physical/server/virtual" ; exit 2 ; fi | |
| if [ $1 == "physical" ] ; then environment="p" ; fi | |
| if [ $1 == "server" ] ; then environment="s" ; fi | |
| if [ $1 == "virtual" ] ; then environment="v" ; fi | |
| # additional repos | |
| # Neovim nightly | |
| sudo add-apt-repository -y ppa:neovim-ppa/unstable |
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
| # .setup_dotfiles.ps1 | |
| @" | |
| convenience functions for setting up or restoring dotfiles bare repo | |
| to call them, create a Gist and use something like: | |
| --- | |
| $gistURL="https://gist.githubusercontent.com/Alby11/4b1c4c7a9a8e774331799a2a2d8504b9/raw/5180697b2285dfa5ba1aa35166af65bf6fa39b06/.setup_dotfiles.ps1" | |
| Set-ExecutionPolicy RemoteSigned -scope CurrentUser | |
| # iwr -useb $gistURL | iex | |
| Invoke-Expression $(curl $gistURL|Out-String) | |
| dotfilesRestore [dotfiles repo] |
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 | |
| # Clone the bare repository | |
| git clone --bare git@github.com:Alby11/dotfiles-linux.git $HOME/.dotfiles_git | |
| # Define the function in the current shell session | |
| dotfiles() { | |
| $(which git) --git-dir=${HOME}/.dotfiles_git/ --work-tree="$HOME" "$@" | |
| } |
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
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="x-ua-compatible" content="ie=edge"> | |
| <title></title> | |
| <meta name="description" content=""> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <link href='https://fonts.googleapis.com/css?family=Roboto+Condensed:700' rel='stylesheet' type='text/css'> | |
| <link href='https://fonts.googleapis.com/css?family=VT323' rel='stylesheet' type='text/css'> | |
| <link rel="stylesheet" href="main.css"> |
A Pen by Alberto Tallone on CodePen.
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
| <html> | |
| <head> | |
| <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> | |
| </head> | |
A Pen by Alberto Tallone on CodePen.