Skip to content

Instantly share code, notes, and snippets.

View tolgamorf's full-sized avatar

Tolga O. tolgamorf

View GitHub Profile
@tolgamorf
tolgamorf / fish.zip
Last active February 4, 2025 21:28
New Windows PC Quick Installation

Install PostgreSQL on Windows by scoop

Follow the below steps to install the latest version of PostgreSQL on Windows by scoop package manager.

Install PostgreSQL

scoop install postgresql -g

Configure PostgreSQL as a Windows Service

@tolgamorf
tolgamorf / shell-setup.ps1
Created September 20, 2024 12:22 — forked from mikepruett3/shell-setup.ps1
Packages to install via scoop, winget, choco, and other tools...
<#
.SYNOPSIS
Script to Initialize my custom powershell setup.
.DESCRIPTION
Script uses scoop
.NOTES
**NOTE** Will configure the Execution Policy for the "CurrentUser" to Unrestricted.
Author: Mike Pruett
Date: October 18th, 2018

Keybase proof

I hereby claim:

  • I am tolgamorf on github.
  • I am tolgamorf (https://keybase.io/tolgamorf) on keybase.
  • I have a public key ASCigJ2jSqtFbKE714yJRMQ2zNKMN-9vFZh8ZOqsnPckZAo

To claim this, I am signing this object:

@tolgamorf
tolgamorf / ubuntu-server-setup.sh
Last active January 7, 2022 05:13
Ubuntu server setup: Miniconda + Node.js + npm + PM2
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh
curl -sL https://deb.nodesource.com/setup_8.x -o nodesource_setup.sh
sudo bash nodesource_setup.sh
sudo apt-get install -y nodejs
sudo npm install pm2@latest -g
# pm2 startup
sudo env PATH=$PATH:/usr/bin /usr/lib/node_modules/pm2/bin/pm2 startup systemd -u ubuntu --hp /home/ubuntu
sudo chown ubuntu:ubuntu /home/ubuntu/.pm2 /home/ubuntu/.pm2/rpc.sock /home/ubuntu/.pm2/pub.sock

agnoster.zsh-theme

A ZSH theme optimized for people who use:

  • Solarized
  • Git
  • Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)

For Mac users, I highly recommend iTerm 2 + Solarized Dark

agnoster.zsh-theme

A ZSH theme optimized for people who use:

  • Solarized
  • Git
  • Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)

For Mac users, I highly recommend iTerm 2 + Solarized Dark