Skip to content

Instantly share code, notes, and snippets.

View itsjzt's full-sized avatar

Saurabh Sharma itsjzt

View GitHub Profile
@itsjzt
itsjzt / install.ps1
Last active December 18, 2017 03:12
My install scripts 🐶💙
# needed for installing modules from internet
set-executionpolicy remotesigned -s cu
# install scoop )**(
iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
# install some necessary apps
scoop install git
scoop install python
scoop install nodejs
@itsjzt
itsjzt / Microsoft.PowerShell_profile.ps1
Last active March 30, 2018 08:04
my powershell config . 😙
# profile.ps1 for configuring Powershell's defaults
# created by @itsjzt
# dont forget to update the gist.
# import post-git for showing git status in terminal
Import-Module posh-git
Import-Module oh-my-posh
Set-Theme Agnoster
@jessfraz
jessfraz / boxstarter.ps1
Last active October 8, 2024 17:58
Boxstarter Commands for a new Windows box.
# Description: Boxstarter Script
# Author: Jess Frazelle <jess@linux.com>
# Last Updated: 2017-09-11
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#
# Run this boxstarter by calling the following from an **elevated** command-prompt:
@itsjzt
itsjzt / .vimrc
Last active November 20, 2019 15:18
A small vim config focussed on great experience
" Specify a directory for plugins
call plug#begin('~/.vim/plugged')
Plug 'junegunn/fzf.vim'
Plug 'NLKNguyen/papercolor-theme'
Plug 'mattn/emmet-vim'
Plug 'tpope/vim-sensible'
Plug 'tpope/vim-commentary'
" Plug 'ap/vim-buftabline'
Plug 'sheerun/vim-polyglot'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
@Yogendra0Sharma
Yogendra0Sharma / 0-README.md
Created January 17, 2017 12:05
PostgreSQL Basics

PostgreSQL (v9.6.1) Basics

Architectural Fundamentals

  • uses a client/server model
  • a PostgreSQL session consists of:
    • running the postgres database server program, which:
      • manages the database files
      • accepts connections to the database from client applications
      • performs database actions on behalf of the clients
@NickCraver
NickCraver / Windows10-Setup.ps1
Last active August 1, 2024 16:19
(In Progress) PowerShell Script I use to customize my machines in the same way for privacy, search, UI, etc.
##################
# Privacy Settings
##################
# Privacy: Let apps use my advertising ID: Disable
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -Type DWord -Value 0
# To Restore:
#Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -Type DWord -Value 1
# Privacy: SmartScreen Filter for Store Apps: Disable
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost -Name EnableWebContentEvaluation -Type DWord -Value 0