Run this command in sail project folder:
docker-compose exec mysql bash
execute the mysql -u root -p
command
provide the default password password
then executes
<div id="gmap"> | |
<p id="consent_text" ><i> | |
Beim Klick auf den Button "Karte unseres Dojang zeigen" wird eine eingebette Karte von Google geladen. | |
Sie erklären sich damit mit der <a href="https://policies.google.com/privacy/update?hl=de" target="_blank">Google Datenschutzerklärung</a> einverstanden und stimmen dieser explizit zu.</i> | |
</p> | |
<button id="consent_button" class="btn btn-primary" style="margin-top: 20px;" onclick="show_map()">Karte unseres Dojangs zeigen</button> | |
</div> |
Run this command in sail project folder:
docker-compose exec mysql bash
execute the mysql -u root -p
command
provide the default password password
then executes
Last updated March 13, 2024
This Gist explains how to sign commits using gpg in a step-by-step fashion. Previously, krypt.co was heavily mentioned, but I've only recently learned they were acquired by Akamai and no longer update their previous free products. Those mentions have been removed.
Additionally, 1Password now supports signing Git commits with SSH keys and makes it pretty easy-plus you can easily configure Git Tower to use it for both signing and ssh.
For using a GUI-based GIT tool such as Tower or Github Desktop, follow the steps here for signing your commits with GPG.
/* | |
Incredibly simple Node.js and Express application server for serving static assets. | |
DON'T USE THIS IN PRODUCTION! | |
It is meant for learning purposes only. This server is not optimized for performance, | |
and is missing key features such as error pages, compression, and caching. | |
For production, I recommend using an application framework that supports server-side rendering, | |
such as Next.js. https://nextjs.org |
All actions are performed in Terminal.app. | |
1. Install Homebrew http://brew.sh/ | |
2. Install Jack (route audio tool) http://jackaudio.org/. Current stable version from official website doesn't work with | |
MacOS Sierra (I use 10.12.3) so you need to download beta version from there https://yadi.sk/d/JwT10b7v3Dm5yy. | |
After installing reboot your computer. | |
3. Install Darkice (audio streamer) via brew. |
Run:
brew install gnupg pinentry-mac
git config --global user.signingkey <key>
git config --global commit.gpgsign true
git config --global gpg.program gpg
Then add the following line to ~/.gnupg/gpg-agent.conf
:
pinentry-program /usr/local/bin/pinentry-mac
brew tap homebrew/versions | |
brew install v8-315 | |
gem install libv8 -v '3.16.14.13' -- --with-system-v8 | |
gem install therubyracer -- --with-v8-dir=/usr/local/opt/v8-315 | |
bundle install |
04/26/2103. From a lecture by Professor John Ousterhout at Stanford, class CS142.
This is my most touchy-feely thought for the weekend. Here’s the basic idea: It’s really hard to build relationships that last for a long time. If you haven’t discovered this, you will discover this sooner or later. And it's hard both for personal relationships and for business relationships. And to me, it's pretty amazing that two people can stay married for 25 years without killing each other.
[Laughter]
> But honestly, most professional relationships don't last anywhere near that long. The best bands always seem to break up after 2 or 3 years. And business partnerships fall apart, and there's all these problems in these relationships that just don't last. So, why is that? Well, in my view, it’s relationships don't fail because there some single catastrophic event to destroy them, although often there is a single catastrophic event around the the end of the relation
<?php | |
/** | |
* Convert a comma separated file into an associated array. | |
* The first row should contain the array keys. | |
* | |
* Example: | |
* | |
* @param string $filename Path to the CSV file | |
* @param string $delimiter The separator used in the file | |
* @return array |