Skip to content

Instantly share code, notes, and snippets.

@johnss
johnss / index.html
Created December 31, 2022 20:52 — forked from Cyclenerd/index.html
Static (with no PHP or other server-side scripting) Speedtest
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8">
<title>HTML5 Speedtest</title>
<meta name="viewport" content="width=device-width">
<link rel="shortcut icon" href="favicon.ico">
<script src="speedtest.js"></script>
<script>
function I(i){return document.getElementById(i);}
@johnss
johnss / erc20token.sol
Created October 21, 2022 12:34 — forked from victorleejw/erc20token.sol
Erc20 Smart Contract for a Standard, Capped, Mintable, Burnable, Payable Token.
// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/GSN/Context.sol
// https://ropsten.etherscan.io/address/0x8df55a60a1c98281a60d6c89f59398bee854fbc8#code
pragma solidity ^0.6.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
@johnss
johnss / proxy.php
Created October 11, 2019 13:45 — forked from FenrirUnbound/proxy.php
A simple proxy redirect
<?php
// PHP Proxy
// Responds to both HTTP GET and POST requests
//
// Author: Abdul Qabiz
// March 31st, 2006
//
// Get the url of to be proxied
// Is it a POST or a GET?
@johnss
johnss / gist:1ba9bf64827aff1452e704cb36851cf0
Created June 5, 2019 09:57 — forked from lopugit/gist:14f28b7e4db8225fcff32b990c19a2bb
Delete large file from github history when dealing with remote rejected pre-receive hook declined Large files detected this exceeds GitHub's file size limit
git filter-branch --index-filter 'git rm -r --cached --ignore-unmatch <file/dir>' HEAD
@johnss
johnss / lunr_save.js
Created April 6, 2018 09:00 — forked from Fil/lunr_save.js
save lunr.js state
/*
* Paste this is the console to get an indexed JSON
*/
(function(console){
console.save = function(data, filename){
if(!data) {
console.error('Console.save: No data')
return;
@johnss
johnss / anyvahyti.md
Created July 21, 2017 07:19
download videoweed

download videoweed

With Online Video Download, you can easily download audio and video from videoweed. Insanely fast & free. Learn how to download online video from any website with freeware. Download streaming videos free. Free download & how-to. I do not know much about VideoWeed. But I always download and save online videos and movies to my Mac with an amazing all-in-one third-party video downloader … You can watch Downloaded online for free on this page by streaming the movie in the video player above or by choosing a different version to play below it. 19/6/2017 · Videostream Chromecast: Mobile. 15,061. Team Videostream Video Players & Editor