Please see: https://github.com/kevinSuttle/html-meta-tags, thanks for the idea @dandv!
Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/
| function dfStripScripts = function(data, type) | |
| { | |
| // incase the response is full html with scripts remove them | |
| type = type || 'text'; | |
| if(type=='html'||type=='text'){ | |
| /*return data.replace(/<script.*>.*?<\/script>/gi, '');*/ | |
| return data.replace(/<script.*?>([\w\W\d\D\s\S\0\n\f\r\t\v\b\B]*?)<\/script>/gi, ''); | |
| } | |
| return data; | |
| }; |
| #!/bin/bash | |
| baseurl="http://somafm.com" | |
| tmpdir="/tmp/" | |
| boldtext=`tput bold` | |
| normaltext=`tput sgr0` | |
| WGET="/usr/bin/wget" | |
| MPLAYER="/usr/bin/mplayer" | |
| stationnames=("Christmas Rocks!" "Christmas Lounge" "Xmas in Frisko (holiday)" "Groove Salad (ambient/electronica)" "Lush (electronica)" "Earwaves (experimental)" "Deep Space One (ambient)" "Drone Zone (ambient)" "PopTron (alternative)" "DEF CON Radio (specials)" "Dub Step Beyond (electronica)" "Space Station Soma (electronica)" "Mission Control (ambient/electronica)" "Indie Pop Rocks! (alternative)" "Folk Forward (folk/alternative)" "BAGeL Radio (alternative)" "Digitalis (electronica/alternative)" "Sonic Universe (jazz)" "Secret Agent (lounge)" "Suburbs of Goa (world)" "Boot Liquor (americana)" "Illinois Street Lounge (lounge)" "The Trip (electronica)" "cliqhop idm (electronica)" "Iceland Airwaves (alternative)" "Covers (eclectic)" "Underground 80s (alternative/electronica)" "Beat Blender (electronica)" "Doomed (ambient/industrial)" "Black Rock FM (eclectic)" "SF |
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
#Jekyll Markdown Quick Reference
####Write in simply awesome markdown
layout: post
title: Markdown Style Guide
---Native HTML controls are a challenge to style. You can style any element in the web platform that uses Shadow DOM with a pseudo element ::pseudo-element or the /deep/ path selector.
video::webkit-media-controls-timeline {
background-color: lime;
}
video /deep/ input[type=range] {| # create a file C:\Users\[user]\.bashrc | |
| # add this content | |
| # add your onw aliases or changes these ones as you like | |
| # to make a dot (.bashrs) file in windows, create a file ".bashrs." (without extention) and save. windows will save it as ".bashrc" | |
| alias ls='ls -alh' | |
| alias cdnginx='cd /c/nginx && ls' | |
| alias cdmcga='cd /c/Users/[user]/sbox/node/mcga && ls' | |
| alias cdfood9='cd /c/Users/[user]/sbox/node/food9 && ls' | |
| alias cdmysql='cd /c/nginx/mysql/bin && ls' |
| $.ajax({ | |
| url: "http://api.yoursite.com", | |
| data: data, | |
| type: "POST" | |
| }).done(function(result) { | |
| var link = document.createElement("a"); | |
| document.body.appendChild(link); | |
| link.setAttribute("type", "hidden"); | |
| link.href = "data:text/plain;base64," + result; | |
| link.download = "data.zip"; |
| /** | |
| * This AJAX prefilter is based on http://stackoverflow.com/a/12840617 with some changes: | |
| * 1. References to the question asker's context have been removed (they related to Auth) | |
| * 2. Fixes have been made to code style at JSHint's request. | |
| * 3. Assign max retries so that we can determine how many retries we STARTED from. | |
| * 4. Add a setTimeout call so that the retried requests wait before performing the request. | |
| * 5. Treat a '0' status as an error. (JM: I believe this is because Ember fakes it's own 'XHR' object | |
| * that doesn't contain the actual request status code). | |
| */ |
| var toBase64=function (file , callBack) { | |
| file=file.files[0]; | |
| var reader = new FileReader(); | |
| reader.readAsDataURL(file); | |
| reader.onload = function () { | |
| callBack(file,reader.result); | |
| }; | |
| reader.onerror = function (error) { | |
| console.log('Error: ', error); | |
| }; |