Skip to content

Instantly share code, notes, and snippets.


Ivan Savov ivanistheone

View GitHub Profile
tomhicks / plink-plonk.js
Last active Jan 12, 2022
Listen to your web pages
View plink-plonk.js
andrew-nuwber /
Last active Nov 12, 2021
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 Jul 15, 2017
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 Jul 15, 2017
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 Sep 25, 2020
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 / Dockerfile
Last active Jul 27, 2021
Build a Docker image, push it to AWS EC2 Container Registry, then deploy it to AWS Elastic Beanstalk
View Dockerfile
# Example Dockerfile
FROM hello-world
bishboria /
Last active Dec 31, 2021
Springer made a bunch of books available for free, these were the direct links
kharrison / String.swift
Last active Dec 16, 2021
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 Aug 18, 2015
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.