Skip to content

Instantly share code, notes, and snippets.

View sandokan815's full-sized avatar

Sandokan sandokan815

View GitHub Profile

An guide how to activate Windows 11 Pro for free

Why?

Because you will get some more features like an Bitlocker and host your device as an External Desktop which can be accessed through the internet

Am i also able to switch from any other edition to Pro?

The answer is yes! You can switch from almost any edition to Pro completely for free!

Note for users with unactivated Pro edition

People which already have Pro, but not activated, can skip to this step.

Getting started

What you first need to do is open CMD (Command Prompt) as Administrator using this keyboard key:

@sandokan815
sandokan815 / postgres-cheatsheet.md
Created May 24, 2021 20:00 — forked from Kartones/postgres-cheatsheet.md
PostgreSQL command line cheatsheet

PSQL

Magic words:

psql -U postgres

Some interesting flags (to see all, use -h or --help depending on your psql version):

  • -E: will describe the underlaying queries of the \ commands (cool for learning!)
  • -l: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)
@sandokan815
sandokan815 / index.js
Created May 16, 2019 20:15
unit test & js
const assert = require('assert')
const url = require('url')
const rp = require('request-promise')
describe('object operations', () => {
let data
before(async () => {
/**
* INSTRUCTIONS:
@sandokan815
sandokan815 / # carthage - 2018-04-13_15-40-37.txt
Created April 13, 2018 13:42
carthage on macOS 10.13.2 - Homebrew build logs
Homebrew build logs for carthage on macOS 10.13.2
Build date: 2018-04-13 15:40:37