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 Aug 29, 2022
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 Jan 24, 2022
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>
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:
lukas-h /
Last active Sep 25, 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)

jgravois /
Last active Sep 11, 2022
a simple guide for getting a local web server set up

Do I have a web server running?

having a web server turned on doesn't necessarily mean you are serving pages on the world wide web. its what allows you to load your own static files (.html, .js etc.) in a browser via http://.

if you're not sure whether or not you have a web server running, no problem! its easy to confirm.

what happens when you visit http://localhost/?

xero /
Last active Sep 22, 2022
irc cheat sheet

IRC Reference

Not intended as a guide for newbies, more like a "cheat sheet" for the somewhat experienced IRC user, especially one who wields some power over a channel.

The Basics

  • /join #channel
    • Joins the specified channel.
  • /part #channel
  • Leaves the specified channel.