Download http://airdownload.adobe.com/air/lin/download/2.6/AdobeAIRInstaller.bin
Make the .bin file executable
$ chmod a+x AdobeAIRInstaller.bin
Run the .bin file by executing following
Download http://airdownload.adobe.com/air/lin/download/2.6/AdobeAIRInstaller.bin
Make the .bin file executable
$ chmod a+x AdobeAIRInstaller.bin
Run the .bin file by executing following
from pprint import pformat | |
from typing import Any | |
from pygments import highlight | |
from pygments.formatters import Terminal256Formatter | |
from pygments.lexers import PythonLexer | |
def pprint_color(obj: Any) -> None: | |
"""Pretty-print in color.""" |
// ==UserScript== | |
// @name Duolingo Trim tree | |
// @namespace 9a84a9d7b3fef7de9d2fd7155dcd794c | |
// @description Hides all golden skills with a button. | |
// @author Arek Olek | |
// @match https://www.duolingo.com/* | |
// @icon http://arkadiuszolek.student.tcs.uj.edu.pl/greasemonkey/duolingo.png | |
// @grant GM_getValue | |
// @grant GM_setValue | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js |
https://filetea.me/t1s99dNZ5DCTHi1Vjb4zlhSzA |
// ==UserScript== | |
// @name Copy as markdown | |
// @namespace http://stackexchange.com/users/4337810/ | |
// @version 1.3 | |
// @description A userscript that lets you quickly copy content on SE as markdown. Just select and pres Ctrl+Alt+M | |
// @author ᔕᖺᘎᕊ (http://stackexchange.com/users/4337810/) | |
// @match *://*.stackexchange.com/* | |
// @match *://*.stackoverflow.com/* | |
// @match *://*.superuser.com/* | |
// @match *://*.serverfault.com/* |
It "types" the contents of the clipboard.
Why can't you just paste the contents you ask? Sometimes pasting just doesn't work.
The Windows version is written in AutoHotKey and easily compiles to an executable. It's a single line script that maps Ctrl-Shift-V to type the clipboard.
cd() { | |
# Seconds between alerts: raise this | |
# number if you want to get fewer alerts | |
# Default: 10 min | |
alertDelay=600 | |
# Alert text: this is displayed when you | |
# CD into a git repo | |
alertText="\n##################################################\n This is a git repo. Don't forget to 'git pull'\n##################################################\n" |
$files = gci $Env:LocalAppData\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets | | |
where Length -gt 1kb | |
if ($files) { | |
$shell = New-Object -ComObject Shell.Application | |
$folder = "$Env:USERPROFILE\Pictures\Spotlight" | |
if (!(Test-Path $folder)) { mkdir $folder } | |
$files | % { | |
$_ | Copy-Item -Destination $folder\$_.jpg | |
Get-Item $folder\$_.jpg | |
} | % { |