REGEX remove blank lines:
FROM: http://www.ultraedit.com/support/tutorials_power_tips/ultraedit/remove_blank_lines.html
FIND:
^(?:[\t ]*(?:\r?\n|\r))+
"""Project a map of Middle-earth on modern Europe. | |
Builds an `overlay.kmz` file in the current directory which should be | |
opened with Google Earth. | |
""" | |
import os | |
import urllib2 | |
import zipfile | |
from math import cos, radians |
REGEX remove blank lines:
FROM: http://www.ultraedit.com/support/tutorials_power_tips/ultraedit/remove_blank_lines.html
FIND:
^(?:[\t ]*(?:\r?\n|\r))+
#!/usr/bin/perl -w | |
# | |
# opml2html.pl, (c) Jeremy Zawodny -- http://jerermy.zawodny.com/blog/ | |
# | |
# Updated by Michael Radwin (http://www.radwin.org/michael/blog/) | |
# on Dec 26th, 2003 to include image size attributes and link | |
# titles. | |
# | |
# You may distribute this code freely. It's not rocket science. | |
# |
I have two Github accounts: oanhnn (personal) and superman (for work). I want to use both accounts on same computer (without typing password everytime, when doing git push or pull).
Use ssh keys and define host aliases in ssh config file (each alias for an account).
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using AhorcadoPalabras; | |
namespace ahorcadoString | |
{ |
#!/bin/bash | |
## UNLICENSE file for license information | |
# Misc checks | |
if [ $(id -u) -ne 0 ] | |
then | |
echo "This script needs root to work." # It really does. We're installing packages. | |
exit 1 | |
fi |
This was taken from the Wikipedia article Adobe Photoshop version history, which was deleted (it may still be available on Google Cache). Images and citations have been removed.
Version | Platform |
---|
# Spotify's Anti-Adveritsing blocking servers, tricking services to stop music services (DONT BLOCK THESE!): | |
gcdn.2mdn.net | |
r9---sn-n4v7kn76.c.2mdn.net | |
gew1-accesspoint-b-zzfg.ap.spotify.com | |
ns1.p23.dynect.net | |
ns3.p23.dynect.net | |
ns4.p23.dynect.net | |
dns1.p07.nsone.net | |
dns2.p07.nsone.net | |
dns3.p07.nsone.net |
javascript: Promise.all([import('https://unpkg.com/[email protected]?module'), import('https://unpkg.com/@tehshrike/[email protected]'), ]).then(async ([{ | |
default: Turndown | |
}, { | |
default: Readability | |
}]) => { | |
/* Optional vault name */ | |
const vault = ""; | |
/* Optional folder name such as "Clippings/" */ |
name: GH Pages | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: |