This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
PowerShell one-liner helpers | |
#> | |
# find non-existent paths in current $PATH | |
# From https://stackoverflow.com/a/65505792/43408 | |
($env:path).Trim(";").Split(";") | ? {-not (test-path $_ -ErrorAction Ignore)} | |
# simple file test | |
function Test-If-File-Exists { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.regex.Matcher | |
import java.util.regex.Pattern | |
Pattern urlPattern = Pattern.compile("(https?|ftps?|file)://([-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|])",Pattern.CASE_INSENSITIVE); | |
String urlString = """This is a big string with lots of Image URL like: http://i.istockimg.com/file_thumbview_approve/69656987/3/stock-illustration-69656987-vector-of-flat-icon-life-buoy.jpg and | |
http://i.istockimg.com/file_thumbview_approve/69943823/3/stock-illustration-69943823-beach-ball.jpg few others below | |
http://i.istockimg.com/file_thumbview_approve/40877104/3/stock-photo-40877104-pollen-floating-on-water.jpg | |
http://i.istockimg.com/file_thumbview_approve/68944343/3/stock-illustration-68944343-ship-boat-flat-icon-with-long-shadow.jpg | |
abcdef |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
:: | |
:: from "Can't install on a virtual machine (no admin rights)" #227 | |
:: https://github.com/aluxnimm/outlookcaldavsynchronizer/issues/227 | |
:: | |
@ECHO OFF | |
SET cdspath= | |
SET mode=2 | |
SET regpath=HKCU\Software\Microsoft\Office\Outlook\Addins\CalDavSynchronizer.1 | |
FOR /F "tokens=* USEBACKQ" %%g IN (`REG QUERY %regpath% /v Manifest 2^> nul`) do (SET cdspath=%%g) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# taken from https://stackoverflow.com/a/7601051 on 2020-10-14 | |
:%s/\(<[^>]*>\)/\1\r/g, to insert newlines after every tag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env groovy | |
import com.cloudbees.plugins.credentials.* | |
import com.cloudbees.plugins.credentials.impl.* | |
def call(String url) { | |
println url; | |
} | |
/** | |
* @param url - svn server url |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#22/12/12 | |
http://www.slideshare.net/jlapalme/3-schools-of-ea | |
http://beyondinformation.blogspot.pt/2011/12/3-schools-of-thought-on-enterprise.html | |
http://eavoices.com/2012/05/28/three-schools-of-thought-for-enterprise-architecture/ | |
http://earf.meraka.org.za/earfhome/news/3-schools-of-thought-on-enterprise-architecture | |
http://www.computer.org/csdl/mags/it/2012/06/mit2012060037-abs.html | |
http://www.linkedin.com/groups/Considerate-Enterprise-Architecture-2604346 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 5/9/13 | |
sudo apt-get install build-essential libssl-dev zlib1g-dev \ | |
libjpeg-dev libxml2-dev libxslt1-dev libreadline-dev readline-common \ | |
wv poppler-utils gs | |
./install.sh --password= --target=$HOME/Plone-4.2 standalone | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name": "Cloudflare", | |
"url": "https://mozilla.cloudflare-dns.com/dns-query" | |
}, | |
{ | |
"name": "Quad9", | |
"url": "https://dns.quad9.net/dns-query" | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// derived and corrected from https://blogs.uoregon.edu/developments/2010/01/28/check-selected-all-boxes-bookmarklet/ | |
javascript: | |
if (typeof(G) == 'undefined' || !G) | |
G = true; | |
else | |
G = false; | |
(function() { | |
var C; | |
(function(W) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Windows 10 Decrapifier 1803/1809 | |
#By CSAND | |
#Oct 5 2018 | |
# | |
# | |
#PURPOSE: Eliminate much of the bloat that comes with Windows 10. | |
# | |
# Change many privacy settings to be off by default. Remove | |
# built-in advertising, Cortana, OneDrive, Cortana stuff | |
# (all optional). |
NewerOlder