This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Reflection; | |
using System.Diagnostics.Eventing.Reader; | |
using HarmonyLib; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<div id='div' contenteditable='true' onpaste='return handlepaste(this, event)'>Existing text</div> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#lightbox-overlay{ | |
display: none; | |
position:fixed; | |
top:0; | |
left:0; | |
width:100%; | |
height:100%; | |
background-color: black; | |
background-color: rgba(0,0,0,0.8); | |
z-index:9998; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
var constants = {}; //or window? | |
window.const = function() { //or possibly window._ with arg[0] being string = syntax or object literal as well | |
if (!args.length) return constants; | |
var value = constants[args[0]]; | |
if (args.length === 1) return value; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- <a> tag replaces image tag and the class determines the intended media which is modified in the css --> | |
<!-- start with mobile first 320px and progressively enhance --> | |
<div class="responsive"> | |
<a class="r320" href="cat320.jpg" title="A kitten"></a> | |
<a class="r480" href="cat480.jpg" title="A cat"></a> | |
<a class="r720" href="cat720.jpg" title="A lion aargh!"></a> | |
</div> |