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 | |
# TODO: Remove pve-enterprise, add pve-no-subscription repo to sources.list(*) | |
# Update packages, install essentials | |
apt update | |
apt install -y build-essential git zsh htop | |
# Update Proxmox Appliance Manager (https://forum.proxmox.com/threads/no-turnkey-fresh-install-5-1-35.38199/) | |
pveam update |
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 | |
# Pre-requisites: curl git zsh vim exuberant-ctags | |
# Install: oh-my-zsh | |
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
# Install: timss/vimconf (https://github.com/timss/vimconf#installation) | |
mkdir -p ~/.vim/vimconf | |
git clone https://github.com/timss/vimconf.git ~/.vim/vimconf |
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
var oauth = require('oauth-sign'); | |
var action = 'https://lti.tools/saltire/tp'; | |
var method = 'POST'; | |
var timestamp = Math.round(Date.now() / 1000); | |
var params = { | |
// LTI Required Parameters | |
lti_message_type: 'basic-lti-launch-request', | |
lti_version: 'LTI-1p0', | |
resource_link_id: 'resourceLinkId', | |
// OAuth 1.0a Required Parameters |
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
<form id="ltiForm" action="https://lti.tools/saltire/tp" method="POST"> | |
<input name="lti_message_type" type="hidden" value="basic-lti-launch-request"> | |
<input name="lti_version" type="hidden" value="LTI-1p0"> | |
<input name="resource_link_id" type="hidden" value="resourceLinkId"> | |
<input name="oauth_consumer_key" type="hidden" value="jisc.ac.uk"> | |
<input name="oauth_nonce" type="hidden" value="MTUxNTM2NzA0Nw=="> | |
<input name="oauth_signature_method" type="hidden" value="HMAC-SHA1"> | |
<input name="oauth_timestamp" type="hidden" value="1515367047"> | |
<input name="oauth_version" type="hidden" value="1.0"> | |
<input name="oauth_signature" type="hidden" value="M70zaLRx9Wh8gxet5G3pPRNY+MM="> |
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
# Description: Boxstarter Script | |
# Author: Jess Frazelle <[email protected]> | |
# Edited by: Will Wolff-Myren <[email protected]> | |
# Last Updated: 2018-10-19 | |
# | |
# Install boxstarter: | |
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
# | |
# You might need to set: Set-ExecutionPolicy RemoteSigned | |
# |
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
# https://win32.io/posts/How-To-Find-Text-PowerShell | |
Get-ChildItem "C:\path\to\folder" -recurse | Where-Object { (Get-Content $_) -like '*TextToFind*' } | Select-Object { $_.FullName } | |
# ...as a function: | |
function Find-TextInFiles($searchPath, $text) { | |
Get-ChildItem $searchPath -recurse | Where-Object { (Get-Content $_) -like '*$text*' } | Select-Object { $_.FullName } | |
} |
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
#--- Uninstall unecessary applications that come with Windows out of the box --- | |
# 3D Builder | |
Get-AppxPackage Microsoft.3DBuilder | Remove-AppxPackage | |
# Autodesk | |
Get-AppxPackage *Autodesk* | Remove-AppxPackage | |
# Bing Weather, News, Sports, and Finance (Money): | |
Get-AppxPackage Microsoft.BingFinance | Remove-AppxPackage |
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
<# | |
https://gist.github.com/willwm/3937943714b3a418fc1df5c62d379648 | |
The command to run, built from the raw link of this gist | |
Win+R | |
iexplore http://boxstarter.org/package/url?<RAW GIST LINK> |
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 nvm: | |
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash | |
# Configure nvm shell context: | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | |
# Install Node.js via nvm: | |
nvm install node |