Skip to content

Instantly share code, notes, and snippets.


Ivan Savov ivanistheone

View GitHub Profile
tomhicks / plink-plonk.js
Last active January 18, 2023 15:57
Listen to your web pages
View plink-plonk.js
andrew-nuwber /
Last active September 20, 2022 16:03
Namecheap DNS to zone file
View g_series_4.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
carld /
Created July 15, 2017 00:22
The build script from my compiler blog article
chez --script c.scm > c.s
nasm -f macho c.s
ld c.o
echo $?
carld / c.scm
Created July 15, 2017 00:21
The compiler from my blog article
View c.scm
(define emit printf)
(define (compile exp)
[(fixnum? exp) (emit "push ~a~%" exp)]
[(eq? '+ (car exp)) (begin
(compile (cadr exp))
(compile (caddr exp))
(emit "pop eax~%")
(emit "pop ebx~%")
vitorfs /
Last active June 25, 2022 14:51
Handling GitHub Webhooks Using Django
import hmac
from hashlib import sha1
from django.conf import settings
from django.http import HttpResponse, HttpResponseForbidden, HttpResponseServerError
from django.views.decorators.csrf import csrf_exempt
from django.views.decorators.http import require_POST
from django.utils.encoding import force_bytes
import requests
yefim /
Last active January 18, 2023 00:16
Build a Docker image, push it to AWS EC2 Container Registry, then deploy it to AWS Elastic Beanstalk
"AWSEBDockerrunVersion": "1",
"Image": {
"Update": "true"
"Ports": [
"ContainerPort": "443"
bishboria /
Last active January 22, 2023 04:47
Springer made a bunch of books available for free, these were the direct links
kharrison / String.swift
Last active December 16, 2021 14:36
Swift String Playground Examples
View String.swift
// Swift Standard Librray - String
// Keith Harrison
// Import Foundation if you want to bridge to NSString
import Foundation
// ====
// Initializing a String
// ====
wchargin /
Created August 18, 2015 01:55
affine transforms on PIL images
"""A library for describing and applying affine transforms to PIL images."""
import numpy as np
import PIL.Image
class RGBTransform(object):
"""A description of an affine transformation to an RGB image.
This class is immutable.