Skip to content

Instantly share code, notes, and snippets.


Catzilla Catzilla

View GitHub Profile
oskar456 /
Last active Aug 12, 2020
Cloudflare WARP linux client (using wg-quick for actual tunnel setup)
#!/usr/bin/env python3
import subprocess
import json
import os
from pathlib import Path
import requests
from requests.compat import urljoin
nemanja947 / NprogressAxios.js
Last active Aug 4, 2019
NProgress implementation with Axios
View NprogressAxios.js
// Add a request interceptor
axios.interceptors.request.use(function (config) {
// Do something before request is sent
return config;
}, function (error) {
// Do something with request error
return Promise.reject(error);
View Salsa20.cs
* This implementation of Salsa20 is ported from the reference implementation
* by D. J. Bernstein, which can be found at:
* This work is hereby released into the Public Domain. To view a copy of the public domain dedication,
* visit or send a letter to
* Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.
nikkanetiya / axios-nprogress.js
Created Sep 6, 2017
NProgress bar with axios
View axios-nprogress.js
import 'nprogress/nprogress.css'
import NProgress from 'nprogress'
import axios from 'axios'
const calculatePercentage = (loaded, total) => (Math.floor(loaded * 1.0) / total)
const setupUpdateProgress = () => {
axios.defaults.onDownloadProgress = e => {
const percentage = calculatePercentage(e.loaded,
droganaida / sticky_footer.html
Last active Nov 8, 2019
3 способа, как прижать footer к низу страницы
View sticky_footer.html
ayamflow / gist:b602ab436ac9f05660d9c15190f4fd7b
Created May 9, 2016
Safari border-radius + overflow: hidden + CSS transform fix
View gist:b602ab436ac9f05660d9c15190f4fd7b
// Add on element with overflow
-webkit-mask-image: -webkit-radial-gradient(white, black);
You can’t perform that action at this time.