sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'select LSQuarantineDataURLString from LSQuarantineEvent'
This file contains hidden or 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
/** | |
{ | |
"api":1, | |
"name":"Obfuscate E-Mail", | |
"description":"Obfuscates email address, uses alternating decimal code and hexadecimal code to make decryption difficult for harvesters.", | |
"author":"derralf", | |
"icon":"quote", | |
"tags":"encode,mail,obfuscate" | |
} | |
**/ |
Wir haben ein Macbook Pro 13" Mid 2010 – MacBookPro7,1 – und möchten per rEFInd Mint booten.
Die Nouveau-Treiber sind nicht sehr performant (das MacBook wird heiß und die Akku hält nicht so lange). Deshalb sollen die propietären nVidia-Treiber genutzt werden.
This file contains hidden or 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
on openTerminal(location, remoteHost, serverPort) | |
# | |
# Problem with original script: | |
# on some hosters the shell is not recognized as interactive and some features like aliases and colors do not work | |
# so we dont use the combined command: | |
# ssh -t [email protected] "cd /directory/wanted ; eval $SHELL -il" | |
# but write the 2 commands (ssh + cd) separately into the terminal window with a delay(!) in between | |
# | |
# the original script: |
This file contains hidden or 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
# ================================================================================== | |
# Do not automatically publish all the individual elements when publishing the page | |
# Allow published and unpublished items on a page | |
# | |
# see: | |
# Disable Cascade-publishing of Element in ElementalArea | |
# https://github.com/dnadesign/silverstripe-elemental/issues/681 | |
# or: | |
# QUESTION - On Page save&publish, it publishes all elements... | |
# https://github.com/dnadesign/silverstripe-elemental/issues/205 |
This file contains hidden or 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
<?php | |
// place this in /app/config.php | |
use SilverStripe\Forms\HTMLEditor\TinyMCEConfig; | |
This file contains hidden or 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
ersetze erste 5 Zeichen je Zeile (grep) | |
finde: ^..... | |
ersetze durch: | |
entferne leere Zeilen (grep) | |
finde: \r+ | |
ersetze durch: \r | |
entferne komplette Zeile mit einem bestimmten Zeichen (hier ") (grep) | |
finde: .*".* |
This file contains hidden or 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
/* | |
========================================================================= | |
Hack: Allow multiple Origins | |
z.B. für Ajax-Anmeldung von Subdomain | |
platziere dies zu oberst in /lists/config/config.php | |
NewerOlder