Skip to content

Instantly share code, notes, and snippets.

@manorius
manorius / web-servers.md
Created February 6, 2020 08:29 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@manorius
manorius / all_my_facebook_photos.html
Created June 22, 2017 09:48 — forked from cbosco/all_my_facebook_photos.html
Simple "get all of my facebook photos" facebook JS SDK + Graph API example
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Photos with Friends!</title>
<script src="http://code.jquery.com/jquery-1.9.0.min.js"></script>
<script>
/**
* This is the getPhoto library
*/
@manorius
manorius / index.html
Created July 6, 2015 11:29
Testing noises
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
@manorius
manorius / README
Last active August 29, 2015 14:16 — forked from joelambert/README
Drop in replace functions for setTimeout() & setInterval() that
make use of requestAnimationFrame() for performance where available
http://www.joelambert.co.uk
Copyright 2011, Joe Lambert.
Free to use under the MIT license.
http://www.opensource.org/licenses/mit-license.php
@manorius
manorius / index.html
Last active August 29, 2015 14:15
Dualcolor pixel drawing matrix that exports the drawing in array form - PaperJS with Zepto framework// source http://jsbin.com/kezizi
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Template - PaperJS with Zepto framework</title>
<meta name="description" content="Template - PaperJS with Zepto framework">

Keybase proof

I hereby claim:

  • I am manorius on github.
  • I am manolis (https://keybase.io/manolis) on keybase.
  • I have a public key whose fingerprint is F10E 70F3 2FB9 419C DF1F AF65 E26E 2673 1BA3 B556

To claim this, I am signing this object: