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
#Open CMD and execute START http://boxstarter.org/package/url? FOLLOWED BY THIS GIST'S URL | |
function SetPowerPlan([string]$PreferredPlan) | |
{ | |
Write-Host "Setting Powerplan to $PreferredPlan" | |
$guid = (Get-WmiObject -Class win32_powerplan -Namespace root\cimv2\power -Filter "ElementName='$PreferredPlan'").InstanceID.tostring() | |
$regex = [regex]"{(.*?)}$" | |
$newpowerVal = $regex.Match($guid).groups[1].value | |
# setting power setting to high performance | |
powercfg -S $newpowerVal |
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 | |
sudo apt update | |
cd ~/Downloads | |
wget https://guardiao.itau.com.br/warsaw/warsaw_setup_64.deb | |
dpkg-deb -x ~/Downloads/warsaw_setup_64.deb /tmp/warsaw | |
dpkg-deb --control warsaw_setup_64.deb /tmp/warsaw/DEBIAN/ | |
sudo sed -i -e 's/python-gpgme,//g' /tmp/warsaw/DEBIAN/control | |
sudo sed -i -e 's/libcurl3/libcurl4/g' /tmp/warsaw/DEBIAN/control | |
sudo apt -y install python-pip |
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 | |
SUFFIX="next-io" | |
ECOHOUSE="$SUFFIX-ecohouse/" | |
INSTITUCIONAL="$SUFFIX-institucional/" | |
COMPONENTS="$SUFFIX-components/" | |
STORE="$SUFFIX-store/" | |
THEME="$SUFFIX-theme/" | |
GRAPHQL="$SUFFIX-graphql/" |
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 | |
# VPN L2TP Connections | |
sudo add-apt-repository ppa:nm-l2tp/network-manager-l2tp | |
sudo apt update | |
sudo apt install network-manager-l2tp | |
# Name the new VPN connection something | |
# Put the hostname or address in the Gateway field. | |
# Put username in the Username field. |
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
// Place your key bindings in this file to overwrite the defaults | |
[ | |
{ | |
"key": "shift+alt+a", | |
"command": "editor.action.formatDocument", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+s", | |
"command": "extension.prettierDocument" |
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
#Open CMD and execute START http://boxstarter.org/package/url? FOLLOWED BY THIS GIST'S URL | |
function SetPowerPlan([string]$PreferredPlan) | |
{ | |
Write-Host "Setting Powerplan to $PreferredPlan" | |
$guid = (Get-WmiObject -Class win32_powerplan -Namespace root\cimv2\power -Filter "ElementName='$PreferredPlan'").InstanceID.tostring() | |
$regex = [regex]"{(.*?)}$" | |
$newpowerVal = $regex.Match($guid).groups[1].value | |
# setting power setting to high performance | |
powercfg -S $newpowerVal |
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
{ | |
"workbench.iconTheme": "vscode-icons", | |
"workbench.colorTheme": "One Dark+ (Sublime)", | |
"workbench.startupEditor": "newUntitledFile", | |
"breadcrumbs.enabled": true, | |
"prettier.eslintIntegration": true, | |
"prettier.stylelintIntegration": true, | |
"prettier.tslintIntegration": true, | |
"javascript.updateImportsOnFileMove.enabled": "always", | |
"explorer.confirmDelete": false, |
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
code --install-extension abusaidm.html-snippets | |
code --install-extension formulahendry.auto-rename-tag | |
code --install-extension formulahendry.auto-close-tag | |
code --install-extension christian-kohler.path-intellisense | |
code --install-extension idleberg.icon-fonts | |
code --install-extension joshpeng.theme-onedark-sublime | |
code --install-extension MS-vsliveshare.vsliveshare | |
code --install-extension eg2.vscode-npm-script | |
code --install-extension christian-kohler.npm-intellisense | |
code --install-extension esbenp.prettier-vscode |
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
# Dont forget to set the env variable "certdomain", and either fill in your email below or use an env variable for that too. | |
# Also note that this config is using the LetsEncrypt staging server, remove the flag when ready! | |
Resources: | |
sslSecurityGroupIngress: | |
Type: AWS::EC2::SecurityGroupIngress | |
Properties: | |
GroupId: {"Fn::GetAtt" : ["AWSEBSecurityGroup", "GroupId"]} | |
IpProtocol: tcp | |
ToPort: 443 |
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 | |
LIST_OF_APPS="ubuntu-restricted-extras curl gparted neovim mysql-workbench vim gedit p7zip-full p7zip-rar shutter libfreerdp-plugins-standard chromium-browser libnss3-tools vlc firefox libpng-dev net-tools apt-transport-https ca-certificates software-properties-common" | |
# Update app repository, upgrade installed application | |
sudo apt update && sudo apt upgrade -y | |
# ttf-mscorefonts-installer | |
echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections | |
sudo apt install ttf-mscorefonts-installer -y |
OlderNewer