Skip to content

Instantly share code, notes, and snippets.

“Profanity is the one language all programmers know best.” ― Anonymous


“Profanity is the one language all programmers know best.” ― Anonymous
View GitHub Profile
Coding-Enthusiast /
Last active Oct 9, 2021
Bitwise operations cheat sheet

AND (&)


OR (|)

import sys, os
import turtle as tt
screen = tt.Screen()
class Lsystem:
"Class to compile and draw lsystem with turtle"
def __init__(self, save_every_frame=False,
speed=0): = ''
lancevo /
Created Jan 15, 2019 — forked from soheilhy/
How to proxy web apps using nginx?

Virtual Hosts on nginx (CSC309)

When hosting our web applications, we often have one public IP address (i.e., an IP address visible to the outside world) using which we want to host multiple web apps. For example, one may wants to host three different web apps respectively for,, and on the same machine using a single IP address.

How can we do that? Well, the good news is Internet browsers

jgravois /
Last active Apr 10, 2019
Questionable career advice
ibreakthecloud / github-OAuth.php
Last active Dec 16, 2019
Complete PHP 7 code for Implementing OAuth via Github
View github-OAuth.php
$code = $_GET['code'];
$url = '';
$client_id = 'xxxxxxxxxxxxxxxxxxxxxxx';
$client_secret = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';
// echo $code;
$postdata = http_build_query(
otuncelli / MessageBoxEx.cs
Last active Oct 17, 2021
Parent centered MessageBox dialog in C#
View MessageBoxEx.cs
using System.Drawing;
using System.Runtime.InteropServices;
using System.Security;
using System.Threading.Tasks;
namespace System.Windows.Forms
using Point = Drawing.Point;
/// <summary>
pwnsdx /
Last active Nov 16, 2021 — forked from boneskull/
Completely uninstall VMWare on macOS
#!/usr/bin/env bash
# Usage: bash uninstall_vmware.bash
remove() {
echo -ne "Removing $entry ["
sudo rm -rf "$entry"
if [[ ! -e "$entry" ]]; then
echo -ne "OK"
View UnityCodingCheatSheet.txt
// Unity C# Cheat Sheet
// I made these examples for students with prior exerience working with C# and Unity.
// Too much? Try Unity's very good tutorials to get up to speed:
pwnsdx /
Last active Jan 22, 2022
Disable bunch of #$!@ in Sierra (Version 2.1). Using Catalina? Check
# IMPORTANT: You will need to disable SIP aka Rootless in order to fully execute this script, you can reenable it after.
# WARNING: It might disable things that you may not like. Please double check the services in the TODISABLE vars.
# Get active services: launchctl list | grep -v "\-\t0"
# Find a service: grep -lR [service] /System/Library/Launch* /Library/Launch* ~/Library/LaunchAgents
# Agents to disable
TODISABLE=('' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '
lukas-h /
Last active Jan 23, 2022
Markdown License Badges for your Project

Markdown License badges

Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.


  • The badges do not fully replace the license informations for your projects, they are only emblems for the README, that the user can see the License at first glance.

Translations: (No guarantee that the translations are up-to-date)