See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| #for an image ("not running container") use save: | |
| docker save <dockernameortag> | gzip > mycontainer.tgz | |
| #for running or paused docker, use export: | |
| docker export <dockernameortag> | gzip > mycontainer.tgz | |
| #load | |
| gunzip -c mycontainer.tgz | docker load |
| <?php | |
| /** | |
| * Import SQL files from a directory | |
| * | |
| * @author joshcangit, https://github.com/joshcangit | |
| * @author Roy-Orbison, https://github.com/Roy-Orbison | |
| */ | |
| class AdminerImportFromFolder { |
| <?php | |
| // DEPRECATED. USE AT YOUR OWN RISK | |
| function isStringHasEmojis($string) | |
| { | |
| $emojis_regex = | |
| '/[\x{0080}-\x{02AF}' | |
| .'\x{0300}-\x{03FF}' | |
| .'\x{0600}-\x{06FF}' | |
| .'\x{0C00}-\x{0C7F}' | |
| .'\x{1DC0}-\x{1DFF}' |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using Sitecore.Configuration; | |
| using Sitecore.Data.Managers; | |
| using Sitecore.Diagnostics; | |
| using Sitecore.Globalization; | |
| using Sitecore.Pipelines.HttpRequest; | |
| using Sitecore.Web; | |
| using Sitecore.Sites; |
To support my open-source work, consider adding me on Patreon.
An easy to refer to document for regularly setting up macOS 10.14 Mojave.
The topic of recipe-based frequent fresh reinstalls of macOS is a controversial issue. Some people are against reinstalling macOS, citing that they have never had an issue with Apple provided upgrade installs.
| 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" |
| { | |
| "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 |
Startup Disk to be main HD.Option key when the computer makes a beep and select external HD to boot from it.| # 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 |