Skip to content

Instantly share code, notes, and snippets.

View RingoMar's full-sized avatar
💫
Pushing limits

Ringo RingoMar

💫
Pushing limits
View GitHub Profile
@ILiedAboutCake
ILiedAboutCake / docker-compose.yml
Created October 21, 2022 21:29
PiHole + CloudFlare/Google DNS over HTTPS Docker Compose
version: "3.4"
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
ports:
- "53:53/tcp"
- "53:53/udp"
- "80:80/tcp"
@heygema
heygema / jsThis.md
Created November 22, 2021 09:35
JS this.

title: Js this tags: #programming link: topics: [[Javascript MOC]]


implicit Binding

a Binding that occurs upon the creation of the object. hint: when you try to look for where is this refers to, look at the left of the dot (.) when a function is invoked.

@nossebro
nossebro / schema.json
Last active July 9, 2022 12:20
Twitch and Streamlabs websocket events json schema
{
"$schema": "https://json-schema.org/draft-07/schema#",
"$id": "https://github.com/nossebro/events/v1/schema#",
"description": "Event validation",
"oneOf": [
{
"$ref": "#/definitions/event-cheer"
},
{
"$ref": "#/definitions/event-donation"
import sys
from caesar_encryption import encrypt
def caesar():
key = 1
is_error = False
for index, arg in enumerate(sys.argv):
@AlcaDesign
AlcaDesign / index.html
Last active March 20, 2023 10:01
tmi.js with BTTV emotes
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>BTTV Emotes Gist</title>
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js"></script>
<script src="https://d2g2wobxbkulb1.cloudfront.net/0.0.18/tmi.min.js"></script>
<script src="js/main.js"></script>
</head>