This tip can be used if you forget or want to change MariaDB root password.
Make sure to install MariaDB using Homebrew.
This tip is from Update root password in MariaDB 10.4 on MacOS
This tip can be used if you forget or want to change MariaDB root password.
Make sure to install MariaDB using Homebrew.
This tip is from Update root password in MariaDB 10.4 on MacOS
# Stop the HTTP storage manager (since it has an in-memory cache of the HSTS hosts). | |
killall nsurlstoraged | |
# Delete the HSTS cache file. | |
rm -f ~/Library/Cookies/HSTS.plist | |
# This may not work if Terminal is not configured for "Full Disk Access", so instead: | |
# Open Finder, Shift+Apple+G, paste in ~/Library/Cookies/ and manually delete HSTS.plist | |
# Start up nsurlstoraged again | |
launchctl start /System/Library/LaunchAgents/com.apple.nsurlstoraged.plist |
class Spiderman { | |
lookOut() { | |
alert('My Spider-Sense is tingling.'); | |
} | |
} | |
let miles = new Spiderman(); | |
miles.lookOut(); |
# https://help.github.com/articles/ignoring-files | |
# https://github.com/github/gitignore | |
#=================# | |
# Compiled source # | |
#=================# | |
*.class | |
*.dll | |
*.exe | |
*.o |
convert input.png -trim +repage output.png |
# ------------------------------ | |
# Appearance | |
# ------------------------------ | |
# Enable colors | |
CLICOLOR=1 | |
# Custom prompt | |
# - Git branch: https://www.mfitzp.com/article/add-git-branch-name-to-terminal-prompt-mac/ | |
# - Current folder: https://superuser.com/a/142129, http://zsh.sourceforge.net/Doc/Release/Prompt-Expansion.html |
Enter this in the search box along with your search terms:
Get all gists from the user santisbon.
user:santisbon
Find all gists with a .yml extension.
extension:yml
Find all gists with HTML files.
language:html
DELETE pm FROM wp_postmeta pm | |
LEFT JOIN wp_posts wp ON wp.ID = pm.post_id | |
WHERE wp.ID IS NULL |
#!/usr/bin/env sh | |
PROJECTS_DIR=$HOME/Desktop/Werk/mode | |
LOG_FILE=$PROJECTS_DIR/commits.txt | |
AUTHOR='Chris Gutierrez' | |
# store the current dir | |
CUR_DIR=$(pwd) | |
#hey user |
/* | |
Pixel Measure v0.04 - Photoshop script for adding pixel measurements to your mockups | |
Copyright (C) 2009 Nikolaj Selvik | |
This program is free software; you can redistribute it and/or | |
modify it under the terms of the GNU General Public License | |
as published by the Free Software Foundation; either version 2 | |
of the License, or (at your option) any later version. | |
This program is distributed in the hope that it will be useful, |