Skip to content

Instantly share code, notes, and snippets.

@ishu3101
ishu3101 / color.md
Created Mar 20, 2020
What each Color Reflects
View color.md
Color Reflects
Greyscale Power, elegance, reliability, intelligence, modesty, maturity, functionality, and formality
Blue Depth and stability, trust, loyalty, wisdom, confidence, intelligence, faith, truth, heaven, tranquility and calmness
Teal Creativity, inspiration, credibility, reliability, spiritual development
Green Nature, growth, harmony, freshness, fertility, safety, healing, money
Purple Royalty, power, nobility, luxury, ambition, wealth, extravagance, wisdom, dignity, independence, creativity, mystery, and magic
Pink Girly, sweet, innocent, sensitive, passionate, playful, sensual and loving
Red Power, energy, passion, desire, speed, strength, love, fire, intensity, and celebration
Orange Joy, enthusiasm, fascination, happiness, creativity, determination, attraction, success, encouragement, and stimulation
@ishu3101
ishu3101 / setup_aws-vault.sh
Created Mar 3, 2020
Install AWS Vault on Linux
View setup_aws-vault.sh
curl -SL https://github.com/99designs/aws-vault/releases/download/v5.3.2/aws-vault-linux-amd64 -o aws-vault
sudo mv aws-vault /usr/bin/aws-vault
chmod +x /usr/bin/aws-vault
View success_startup_quotes.json
[
{
"quote": "In a crowded marketplace, fitting in is failing. In a busy marketplace, not standing out is the same as being invisible.",
"author": "Seth Godin",
"source": "https://www.amazon.com/Purple-Cow-New-Transform-Remarkable/dp/1591843170"
},
{
"quote": "It’s counterintuitive, but the way to grow your business is to focus entirely on your existing customers. Just thrill them, and they’ll tell everyone",
"author": "Derek Sivers",
"source": "https://www.amazon.com/Anything-You-Want-Lessons-Entrepreneur/dp/1511366079",
@ishu3101
ishu3101 / packer_setup.sh
Created Nov 2, 2018
Install Packer on Ubuntu 16.04
View packer_setup.sh
curl -SL https://releases.hashicorp.com/packer/1.3.2/packer_1.3.2_linux_amd64.zip -o packer_1.3.2_linux_amd64.zip
unzip packer_1.3.2_linux_amd64.zip
sudo mv packer /usr/bin/packer
@ishu3101
ishu3101 / install_nanobox.sh
Created Oct 13, 2018
Install Nanobox and Docker CE on Ubuntu 18.04
View install_nanobox.sh
# Script to install nanobox and docker-ce
# install Nanobox
curl -SL https://d1ormdui8qdvue.cloudfront.net/installers/v2/linux/nanobox_2_amd64.deb -o nanobox_2_amd64.deb
sudo dpkg -i nanobox_2_amd64.deb
# install docker ce
# Environment variables you need to set so you don't have to edit the script below.
export DOCKER_CHANNEL=edge
@ishu3101
ishu3101 / Disable-UAC.ps1
Created Oct 4, 2018
Disable User Access Account (UAC) using PowerShell
View Disable-UAC.ps1
function Disable-UAC(){
$numVersion = (Get-CimInstance Win32_OperatingSystem).Version
$numSplit = $numVersion.split(".")[0]
if ($numSplit -eq 10) {
Set-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" -Name "ConsentPromptBehaviorAdmin" -Value "0"
}
elseIf ($numSplit -eq 6) {
$enumSplit = $numSplit.split(".")[1]
if ($enumSplit -eq 1 -or $enumSplit -eq 0) {
@ishu3101
ishu3101 / list_installed_chocolatey_application.ps1
Last active Sep 5, 2018
Get the list of application that are installed using Chocolatey
View list_installed_chocolatey_application.ps1
choco list -lo -r -y | % { "choco install $($_.SubString(0, $_.IndexOf("|"))) -y" }
@ishu3101
ishu3101 / test.ps1
Last active Aug 20, 2018
Testing ability to run Powershell script using Invoke-RestMethod http://path/to/url | iex
View test.ps1
# To run this script, run the command below in comments
# $url = "https://gist.github.com/ishu3101/fa2db197a4acb59b796e8a6aa40aff01/raw/"
# Invoke-RestMethod $url | iex
ls
@ishu3101
ishu3101 / run_code_online.md
Created Aug 2, 2017
Run code using Python, Javascript, Ruby, PowerShell & more online
View run_code_online.md
  • https://tio.run - Try It Online (TIO) is a family of online interpreters for an evergrowing list of practical and recreational programming languages.
  • https://repl.it - repl.it is a cloud coding environment for Python, Ruby, Javascript, Node, React Native & more
View gitlab-pages.md
You can’t perform that action at this time.