Find MAMP's installed PHP version(s) you want to use the PHP CLI for:
$ ls -l /Applications/MAMP/bin/php/
- First, open your local user's
.bash_profilein edit mode, in order to add aliases for accessing the PHP CLI locally
$ pico ~/.bash_profile
| [client] | |
| #socket = /Applications/MAMP/tmp/mysql/mysql.sock | |
| [mysqld] | |
| max_allowed_packet = 64M | |
| table_open_cache = 2000 | |
| sql_mode=STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION |
| <?php | |
| /** Raw content input */ | |
| $title = 'Begriff "Test"; zu weiteren gleichnamigen Bedeutungen siehe Test <Begriffsklärung>'; | |
| $description = 'Das Wort „Test“ kommt vom altfranzösischen test: Tiegel‚ Topf für alchemistische Versuche bzw. lateinisch testum, zu: testa = Platte, Deckel; (Ton)schale, Scherbe.'; | |
| /** SEO friendly content */ | |
| $seo_allowed_chars_pattern = '([^\w\s\p{L}.,;:!?\-\/\(\)\[\]…«»#@])'; | |
| $meta_title = mb_ereg_replace($seo_allowed_chars_pattern, '', $title); | |
| $meta_description = mb_ereg_replace($seo_allowed_chars_pattern, '', $description); | |
| /** |
Find MAMP's installed PHP version(s) you want to use the PHP CLI for:
$ ls -l /Applications/MAMP/bin/php/
.bash_profile in edit mode, in order to add aliases for accessing the PHP CLI locally$ pico ~/.bash_profile
A new, empty Git Repository has to be created on GitHub.com (do not initialize it with a Readme or alike, when asked!)
$ cd /path/to/project
$ git remote add upstream https://github.com/[account]/[repository].git
$ git push upstream master
$ git push --tags upstream
| <link rel="alternate" hreflang="x-default" href="https://www.mysite.com/" /> | |
| <link rel="alternate" hreflang="de" href="https://www.mysite.com/de-de" /> | |
| <link rel="alternate" hreflang="en" href="https://www.mysite.com/en-de" /> | |
| <link rel="alternate" hreflang="es" href="https://www.mysite.com/es-es" /> | |
| <link rel="alternate" hreflang="fr" href="https://www.mysite.com/fr-fr" /> | |
| <link rel="alternate" hreflang="zh" href="https://www.mysite.com/zh-cn" /> | |
| <link rel="alternate" hreflang="zh-CN" href="https://www.mysite.com/zh-cn" /> | |
| <link rel="alternate" hreflang="en-US" href="https://www.mysite.com/en-us" /> | |
| <link rel="alternate" hreflang="de-DE" href="https://www.mysite.com/de-de" /> | |
| <link rel="alternate" hreflang="en-DE" href="https://www.mysite.com/en-de" /> |
| seta r_mode "-1" | |
| seta r_customwidth "5120" | |
| seta r_customheight "2880" | |
| seta cg_fov "115" | |
| seta cg_gunCorrectFOV "1" | |
| seta cl_renderer "opengl2" | |
| seta r_allowSoftwareGL "0" | |
| seta r_ignoreGLErrors "1" | |
| seta r_smp "1" | |
| seta r_displayrefresh "0" |
| #EXTM3U | |
| #EXTINF:180,Surftrip to Spain 2018 | |
| Movies/Holidays/Surfing/Surfing Spain 2018.mp4 | |
| #EXTINF:180,Documentary about Whales | |
| Documentary/Animals/whales_docu.avi | |
| #EXTINF:180,Downhill in the mountains last week (GoPro) | |
| Movies/Biking/Mountain Downhill Action (GoPro 4k).mp4 | |
| #EXTINF:180,School play summer 2015 | |
| Movies/Kids/School play at middleschool - June 2015.avi |
| { | |
| "emojis": [ | |
| {"emoji": "👩👩👧👧", "name": "family: woman, woman, girl, girl", "shortname": ":woman_woman_girl_girl:", "unicode": "1F469 200D 1F469 200D 1F467 200D 1F467", "html": "👩‍👩‍👧‍👧", "category": "People & Body (family)", "order": ""}, | |
| {"emoji": "👩👩👧👦", "name": "family: woman, woman, girl, boy", "shortname": ":woman_woman_girl_boy:", "unicode": "1F469 200D 1F469 200D 1F467 200D 1F466", "html": "👩‍👩‍👧‍👦", "category": "People & Body (family)", "order": ""}, | |
| {"emoji": "👩👩👦👦", "name": "family: woman, woman, boy, boy", "shortname": ":woman_woman_boy_boy:", "unicode": "1F469 200D 1F469 200D 1F466 200D 1F466", "html": "👩‍👩‍👦‍👦", "category": "People & Body (family)", "order": ""}, | |
| {"emoji": "👨👩👧👧", "name": "family: man, woman, girl, girl", "shortname": ":man_woman_girl_girl:", "unicode": "1F468 200D 1F469 200D 1F467 200D 1F467", "html": "👨‍👩&z |
| ---- This AppleScript is written to work with the Lotus Notes to Google Calendar Synchronizer on macOS | |
| ---- http://lngooglecalsync.sourceforge.net | |
| ---- AppleScript by oliveratgithub | |
| -- Change below path to match the location of the "lngsync.sh" file! | |
| property lngsyncPath : "/Applications/LNGoogleCalSync/" | |
| ---- You don't need to care about the code below this line ;-) | |
| property lngsyncFilePath : lngsyncPath & "lngsync.sh" |
| # Remark: list of valid timezones: wikipedia.org/wiki/List_of_tz_database_time_zones | |
| clear; while [ : ]; do curl -sSL -w '%{http_code} %{url_effective} ' "https://github.com" -o /dev/null; echo $(TZ=":Europe/Zurich" date); sleep 5; done |