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 | |
$router->group(['middleware' => ['web']], function ($router) { | |
$router->get('/geo-code', function () { | |
echo '<p>This is a test for getting the site visitors <strong>full</strong> addressed. | |
Based on a hardcoded <code>lat</code> and <code>long</code>, which are later derived via JavaScript.</p> | |
<p>The expected result should be <strong>2261 Sidney Avenue Baltimore, Maryland 21230</strong>.</p> | |
<p>The lat / long used <code>39.262884899999996, -76.63305849999999</code></p> | |
<hr />'; | |
try { |
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
#### | |
# Useful WP CLI commands | |
# | |
# All are presumed to be ran from the location of the `wp-config` file in | |
# question. | |
# | |
# Add an admin user | |
$ wp user create some-user-name [email protected] --role=administrator |
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
// A | |
return state[item_type].indexOf(item_id) != -1 ? true : false; | |
// B | |
return Boolean(state[item_type].find(items => items === item_id)); |
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
ARG NODE_VERSION=node:8.11 | |
ARG WEB_ROOT | |
FROM $NODE_VERSION as dev_frontend_assets | |
RUN mkdir -p /app/public | |
COPY /src /app | |
WORKDIR /app | |
RUN npm install && npm run development | |
FROM nginx as frontend_dev |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Alpha Component</key> | |
<real>1</real> | |
<key>Blue Component</key> | |
<real>0.25332435965538025</real> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>AlternateMouseScroll</key> | |
<true/> | |
<key>AppleAntiAliasingThreshold</key> | |
<integer>1</integer> | |
<key>ApplePressAndHoldEnabled</key> | |
<false/> |
OlderNewer