I hereby claim:
- I am ajmalmsali on github.
- I am ajm_al (https://keybase.io/ajm_al) on keybase.
- I have a public key ASC3K0tIXjr_UpvDz89FeAU2t5PzmYXp3QW1OsYhuZgJyQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
var sanitizeHtml = require('sanitize-html'); | |
var _ = require('lodash'); | |
var he = require('he'); //alternative to lodash.unescape with more | |
var dirty = "Saw a technology (\"lickable wallpaper\") that had at one time sounded preposterous, now seemed within reach. <myfavtag>xyz</myfavtag>"; | |
var clean = sanitizeHtml(dirty) | |
console.log("clean html: -- "+clean); | |
console.log("decoded with he: -- "+he.decode(clean)); | |
console.log("decoded with _: -- "+_.unescape(clean)); |
#!/bin/bash | |
#script for logging harvest from commandline. | |
if [[ -n $1 ]] | |
then | |
PROJECT=$1; | |
else | |
#default as free | |
PROJECT='free'; | |
fi |
$("#test_link").on("singletap", function(e) { | |
var a = '#test'; | |
$.UINavigationHistory[0] = a; | |
$.UISetHashOnUrl(a); | |
$('.button.slide-out-button').hide(); // hides that toggle button | |
$('.slide-out').removeClass('open'); | |
$('article').removeClass('show'); | |
$('article').prev().removeClass('show'); | |
$(a).addClass('open'); |