Skip to content

Instantly share code, notes, and snippets.

View marcus7777's full-sized avatar
:octocat:
Working from bike

Marcus Hitchins marcus7777

:octocat:
Working from bike
View GitHub Profile

Keybase proof

I hereby claim:

  • I am marcus7777 on github.
  • I am marcus7777 (https://keybase.io/marcus7777) on keybase.
  • I have a public key ASBMUZEeBPN5PG0pSysj6KrNVqH6ujgmRVIKAG7kHs33Jgo

To claim this, I am signing this object:

<body>
<style>
textarea {
width: 100%;
height: 120px;
border: 3px solid #cccccc;
padding: 5px;
font-family: Tahoma, sans-serif;
}
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8" />
<title>HTML5 clouds | Script Tutorials</title>
<link href="main.css" rel="stylesheet" type="text/css" />
<script src="js/ThreeWebGL.js"></script>
<script src="js/ThreeExtras.js"></script>
</head>
<body>
@marcus7777
marcus7777 / web_crypto_api_example.js
Last active July 25, 2017 11:08
Web Crypto API example
// for uint8array = new TextEncoder("utf-8").encode("¢");
// for string = new TextDecoder("utf-8").decode(uint8array);
var string = new Uint8Array([0x01, 0x02])
var data = new Uint8Array([0x03, 0x04, 0x05])
var handle_error = function (error) {
cnosole.log("Error:",error)
}
https://docs.google.com/document/d/1iD_eCK9kr6DtAlUuCqHlvFMhXwvZvejIt38dBCBRKkM/edit
@marcus7777
marcus7777 / top-500-sites.json
Last active November 2, 2016 07:03 — forked from woisme/top-500-sites.json
Top 500 sites in json
<!doctype html>
<meta charset='utf-8'>
<html>
<head>
<title>card-info-server-test demo</title>
<script src="../webcomponentsjs/webcomponents-lite.js"></script>
<link rel="import" href="card-info-server-test.html">
</head>
<body>
<h3>card-info-server-test Demo</h3>
@marcus7777
marcus7777 / index.html
Last active March 22, 2016 11:34 — forked from akki777-zz/index.html
Trial on paper-swatch-picker
<link rel="import" href="bower_components/polymer/polymer.html">
<link rel="import" href="/bower_components/iron-icons/maps-icons.html">
<link rel="import" href="/bower_components/neon-animation/animations/scale-up-animation.html">
<link rel="import" href="/bower_components/neon-animation/animations/fade-out-animation.html">
<link rel="import" href="/bower_components/paper-swatch-picker/paper-swatch-picker.html">
<dom-module id="add-label">
<template>
<paper-dialog entry-animation="scale-up-animation" exit-animation="fade-out-animation" with-backdrop>
<center>
<h2>Create a new Label</h2>
@marcus7777
marcus7777 / tmux-cheatsheet.markdown
Created January 20, 2016 15:39 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@marcus7777
marcus7777 / progressive-ace.htm
Created September 28, 2015 17:56 — forked from duncansmart/progressive-ace.htm
Integrating ACE Editor in a progressive way
<textarea name="my-xml-editor" data-editor="xml" rows="15"></textarea>
...
<textarea name="my-markdown-editor" data-editor="markdown" rows="15"></textarea>
...
<script src="//d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js"></script>
<script>
// Hook up ACE editor to all textareas with data-editor attribute
$(function () {
@marcus7777
marcus7777 / index.html
Last active September 1, 2015 10:35 — forked from anonymous/index.html
pair-production demo// source http://jsbin.com/xuzute
<!doctype html>
<html>
<head><base href="http://open-elements.org/bower_components/new/">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1, user-scalable=yes">
<title>pair-production demo</title>