Bookmarklet to quickly submit links to your subreddit of choice.
Replace YOURSUBREDDITHERE
accordingly.
- Opens in new window so it doesn't navigate away from playing music/video.
- On YouTube it grabs the title without the - YouTube termination.
// ==UserScript== | |
// @name RedditP Collect | |
// @namespace http://tampermonkey.net/ | |
// @version 0.4 | |
// @description Collect cool stuff while staying in the flow. Download them at the end. | |
// @author Leeroy | |
// @match http://redditp.com/* | |
// @grant GM_addStyle | |
// @grant GM_download | |
// @noframes |
Verifică în ce rețea suni
Copiază textul fișierului portabilitate-bookmarklet.min.js și pune-l în câmpul URL când creezi un nou bookmark.
#Requires -Version 2.0 | |
function Test-InternetAccess { | |
<# | |
.SYNOPSIS | |
Tests connectivity by pinging Google DNS servers once | |
.DESCRIPTION | |
Uses Test-Connection to ping a host, with -Quiet for returning a boolean. The default is a highly available Google DNS server (8.8.4.4) | |
.EXAMPLE | |
Test-InternetAccess |
Blender STL default settings aren't what I like to have by default. Working in millimeters inside Blender makes the STLs come out tiny, so I tried to find a way to change these defaults and keep it that way.
Turns out they're baked into the io_mesh_stl script.
This gist is a Windows PowerShell script to make the necessary adjustments.
They are:
ImportSTL global_scale
at _init_.py#L102 becomes default=0.1
ExportSTL use_selection
below at _init_.py#L166 becomes default=True
.
/*jslint */ | |
/*global movie_player */ | |
//javascript: | |
(function () { | |
var id = document.querySelector('meta[itemprop="videoId"]').content, | |
markIn, | |
markOut, | |
w; | |
console.info('YouTube Fragment Bookmarklet\n' + | |
'Keyboard shortcuts:\n' + |
@echo off | |
:: The parent directory where the stash is | |
cd /d "E:\" | |
:: Check if the stash is exposed and lock it, unlock it if not | |
if not exist "*.{ed50fc29-b964-48a9-afb3-15ebb9b97f36}" ( goto Lock ) else goto Unlock | |
:Lock | |
ren "E:\Stash" Inconspicuous.{ed50fc29-b964-48a9-afb3-15ebb9b97f36} | |
cacls Inconspicuous.{ed50fc29-b964-48a9-afb3-15ebb9b97f36} /e /c /d %username% | |
goto :End |
@echo off | |
setLocal EnableDelayedExpansion | |
cd /d %~dp1 | |
set init=init-%RANDOM%.tmp | |
set clean=clean-%RANDOM%.tmp | |
set fp=%~n1.fonts.txt | |
:: EDIT THIS LINE with the location of your own font collection folder | |
set fontdir="F:\Fonts" |
// TODO: Switch to CSS, #prettylink:active { cursor: -webkit-grabbing; } | |
// TODO: Deliver [Esc] from conflicts | |
javascript: (function() { | |
var a = document.createElement('a'); | |
a.title = document.domain; | |
if (document.title) { | |
a.innerHTML = document.title; | |
} else { | |
a.innerHTML = prompt("This page has no title. What should the link text say?"); |