Why? @sstephenson explains it best here.
This should get rid of the rvm dir and any installed rubies:
$ rvm implode
<button id="clap" class="clap"> | |
<span> | |
<!-- SVG Created by Luis Durazo from the Noun Project --> | |
<svg id="clap--icon" xmlns="http://www.w3.org/2000/svg" viewBox="-549 338 100.1 125"> | |
<path d="M-471.2 366.8c1.2 1.1 1.9 2.6 2.3 4.1.4-.3.8-.5 1.2-.7 1-1.9.7-4.3-1-5.9-2-1.9-5.2-1.9-7.2.1l-.2.2c1.8.1 3.6.9 4.9 2.2zm-28.8 14c.4.9.7 1.9.8 3.1l16.5-16.9c.6-.6 1.4-1.1 2.1-1.5 1-1.9.7-4.4-.9-6-2-1.9-5.2-1.9-7.2.1l-15.5 15.9c2.3 2.2 3.1 3 4.2 5.3zm-38.9 39.7c-.1-8.9 3.2-17.2 9.4-23.6l18.6-19c.7-2 .5-4.1-.1-5.3-.8-1.8-1.3-2.3-3.6-4.5l-20.9 21.4c-10.6 10.8-11.2 27.6-2.3 39.3-.6-2.6-1-5.4-1.1-8.3z"/> | |
<path d="M-527.2 399.1l20.9-21.4c2.2 2.2 2.7 2.6 3.5 4.5.8 1.8 1 5.4-1.6 8l-11.8 12.2c-.5.5-.4 1.2 0 1.7.5.5 1.2.5 1.7 0l34-35c1.9-2 5.2-2.1 7.2-.1 2 1.9 2 5.2.1 7.2l-24.7 25.3c-.5.5-.4 1.2 0 1.7.5.5 1.2.5 1.7 0l28.5-29.3c2-2 5.2-2 7.1-.1 2 1.9 2 5.1.1 7.1l-28.5 29.3c-.5.5-.4 1.2 0 1.7.5.5 1.2.4 1.7 0l24.7-25.3c1.9-2 5.1-2.1 7.1-.1 2 1.9 2 5.2.1 7.2l-24.7 25.3c-.5.5-.4 1.2 0 1.7.5.5 1.2.5 1.7 0l14.6-15c2-2 5.2- |
This should get rid of the rvm dir and any installed rubies:
$ rvm implode
javascript: (function () { | |
var linkNode = document.createElement('link'); | |
linkNode.rel = 'stylesheet'; | |
linkNode.href = 'http://www.website.com/stylesheets/style.css'; | |
document.getElementsByTagName('head')[0].appendChild(linkNode); | |
})(); |
These instructions will guide you through the process of setting up local, trusted websites on your own computer.
These instructions are intended to be used on macOS Sierra, but they have been known to work in El Capitan, Yosemite, Mavericks, and Mountain Lion.
NOTE: You may substitute the edit
command for nano
, vim
, or whatever the editor of your choice is. Personally, I forward the edit
command to Sublime Text:
alias edit="/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl"
#!/bin/sh | |
mkdir -v periscope; cd periscope; echo $PWD | |
TOKEN=${1##*/}; echo $TOKEN | |
curl -v "https://api.periscope.tv/api/v2/getAccessPublic?token=${TOKEN//=/%3D}" | json > periscope.json | |
M3U8=$(awk -F\" /replay/'{print $4}' periscope.json); echo $M3U8 | |
COOKIE="Cookie: $(awk -F'"' -v ORS="" /CloudFront/'{print $4"="; getline; print $4"; "}' periscope.json)" | |
curl -v -O -H "$COOKIE" "${M3U8}" | |
FIRST=$(awk -F'[_.]' '/chunk/{print $2;exit}' playlist.m3u8); echo chunk_$FIRST.ts | |
LAST=$(awk -F'[_.]' '/chunk/{num=$2}END{print num}' playlist.m3u8); echo chunk_$LAST.ts | |
curl -v -O -H "$COOKIE" "${M3U8%/*}/chunk_[$FIRST-$LAST].ts" |
[ | |
{ | |
"action": { | |
"type": "block" | |
}, | |
"trigger": { | |
"url-filter": ".*", | |
"resource-type": ["script"], | |
"load-type": ["third-party"], | |
"if-domain": ["imore.com"] |