Skip to content

Instantly share code, notes, and snippets.

@shopifypartners
shopifypartners / video-by-upload.liquid
Created January 4, 2023 14:28
Example of a Shopify theme section displaying a video uploaded via the store admin
<div class="video-section">
<h2>{{ section.settings.heading }}</h2>
{{ section.settings.video | video_tag }}
</div>
{% schema %}
{
"name": "Video",
"settings": [
{
@noygal
noygal / Windows Subsystem for Linux version 1 and 2 (WSL) - node install guide.md
Last active February 21, 2024 23:17
Installing node via windows subsystem for linux

Windows 10 version 2004 - Installing Node.js on Windows Subsystem for Linux (WSL/WSL2)

UPDATE (Fall 2020): This gist is an updated version to the Windows 10 Fall Creators Update - Installing Node.js on Windows Subsystem for Linux (WSL) guide, I usually just keep here notes, configuration or short guides for personal use, it was nice to know it also helps other ppl, I hope this one too.

Windows updated windows subsystem for linux to version 2, as the F.A.Q stated you can still use WSL version 1 side by side with version 2. I'm not sure about existing WSL machines surviving the upgrade process, but as always backup and 🤞. NOTE: WSL version 1 is not replace/deprecated, and there ar

@stephan281094
stephan281094 / vagrant-share-multiple.md
Last active October 25, 2016 22:13
Using Vagrant Share with multiple sites

Using Vagrant Share with multiple sites

Vagrant Share is a great feature that's quite handy to demo your application to clients. It basically allows you to share whatever you run locally on your VM, accessible by anybody who is connected to the internet. However, Vagrant Share doesn't support multiple domains pointing to different applications on your virtual machine. Unless you use different ports. This document will teach you how to set your virtual machine up to allow sharing multiple projects with Vagrant Share.

Note: This document is primary based on a virtual machine running Apache.

The setup

  1. Create a free account at HashiCorp's Atlas.
  2. Login using vagrant login.
@ziadoz
ziadoz / awesome-php.md
Last active April 17, 2024 21:06
Awesome PHP — A curated list of amazingly awesome PHP libraries, resources and shiny things.