This file contains 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
{% comment %} Before {% endcomment %} | |
{{ media | model_viewer_tag: image_size: '1024x', reveal: 'interaction', toggleable: true }} | |
{% comment %} After {% endcomment %} | |
{%- assign environment_image = settings.models_environment_image | default: 'neutral' -%} | |
{{ media | model_viewer_tag: image_size: '1024x', reveal: 'interaction', toggleable: true, environment-image: environment_image }} |
This file contains 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
{%- comment -%} | |
Google Tag Manager scripts for checkout.liquid | |
Note: This script must run after {{ checkout_scripts }} | |
{%- endcomment -%} | |
{% assign order_data = checkout.order %} | |
{% assign customer_data = checkout.customer %} | |
<script type="text/javascript"> | |
window.dataLayer = window.dataLayer || []; |
This file contains 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
import 'core-js/es6/array'; | |
import 'core-js/es6/object'; | |
import 'core-js/es6/string'; | |
// Global options | |
import defaults from './_config'; | |
// general helper functions | |
import Helper from './_helpers'; | |
// general pricing and currency functions | |
import Pricing from './_pricing'; | |
// throttle and debounce manager |
This file contains 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
service: myapp-ping | |
provider: | |
name: aws | |
runtime: nodejs8.10 | |
environment: | |
PING_URL: https://myapp.herokuapp.com | |
functions: | |
ping: |
This file contains 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
UPDATE table_name | |
SET email_field = CONCAT(LEFT(email_field, INSTR(email_field, '@')), 'localhost.localdomain') |
This file contains 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 | |
class StaticCorsValetDriver extends BasicValetDriver | |
{ | |
/** | |
* Determine if the driver serves the request. | |
* | |
* @param string $sitePath | |
* @param string $siteName | |
* @param string $uri |
This file contains 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
iconv -f ISO_8859-11 -t UTF-8 original.srt > fixed.srt |
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am milesw on github. | |
* I am milesw (https://keybase.io/milesw) on keybase. | |
* I have a public key whose fingerprint is 0370 6B39 E559 6DE1 924A 4C66 E450 CD16 4F9C 990B | |
To claim this, I am signing this object: |