- Go to your Shopify
admin/settings/filespage - Open your browser Dev tools, go to the console
- Paste the content of the
console_download_list.jsfile, and press enter - Your browser will automatically fetch each page and download the list with the links of all the files on the CDN.
- Using your preffered code editor, edit the HTML file by adding each link in img tag.
- Open the HTML file you just edit in a browser then right click-save as. It will download the HTML file again along with all the images in the location you specify.
Published May-13-2020
| { | |
| product(first: 50) { | |
| edges { | |
| node { | |
| name | |
| description | |
| } | |
| } | |
| } | |
| } |
brew install zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
chsh -s /bin/zsh
If you're encountering ping github.com failing inside WSL with a Temporary failure in name resolution, you're not alone — this has been a long-standing issue, especially when using VPNs or corporate networks.
This issue is now fixed robustly with DNS tunneling, which preserves dynamic DNS behavior and avoids limitations like WSL’s former hard cap of 3 DNS servers in /etc/resolv.conf.
DNS tunneling is enabled by default in WSL version 2.2.1 and later, meaning that if you're still seeing DNS resolution issues, the first and most effective fix is simply to upgrade WSL. Upgrading WSL updates the WSL platform itself, but does not affect your installed Linux distributions, apps, or files.
To upgrade WSL, follow these steps,
Windows Subsystem 2 for Linux, Hyper, ZSH + Oh My Zsh + Powerlevel9k + plugins, FNM + VSCode (+ext) and Nerd Font
To setup native Linux, see this gist
| products = ShopifyAPI::Product.find(:all, params: { order: 'inventory_total desc', limit: 250 }) | |
| process_products(products) | |
| 3.times do | |
| break unless products.next_page? | |
| products = products.fetch_next_page | |
| process_products(products) | |
| end |
| #!/usr/bin/env bash | |
| # Install Xcode | |
| # Install Homebrew | |
| # Install Node | |
| # Install Yarn | |
| # Install Gulp | |
| # Install Bower | |
| # Install Linters | |
| # Set OS defaults |
| <div class="collection__main"> | |
| <!-- COLLECTION SIDEBAR --> | |
| {%- capture categories -%} | |
| {%- for tag in collections[collection.handle].tags -%} | |
| {%- if tag contains 'categories' -%} | |
| {%- assign tag_patterns = tag | split: '_' -%} | |
| <li class="collection-sidebar__filter-item main-filter" data-tag="{{ tag | handle }}">{{ tag_patterns[1] }}</li> | |
| {%- endif -%} | |
| {%- endfor -%} |
