Skip to content

Instantly share code, notes, and snippets.

View jabarrioss's full-sized avatar
😉
Learning VueJS, Express JS

Jhonny B jabarrioss

😉
Learning VueJS, Express JS
View GitHub Profile
@youmikoh
youmikoh / dev-store-test-orders.md
Created May 23, 2022 11:09
dev store test orders #workshop #shopify-api

A Practical Guide to Test Orders on Development Stores

If you are familiar with using REST APIs with tools like Postman or Insomnia, please follow the dev doc example here and skip this guide!


  1. Create a custom app from the Admin of your development store {your-dev-store-name}.myshopify.com and enable Admin API access scopes read_orders and write_orders.

img

  1. Install the your custom app to generate the Admin API access token. Keep this window open as we will need this page in step 4.
@chris-rodgers
chris-rodgers / currencies.json
Created February 14, 2019 09:41
Currencies Json
[
{
"code":"AED",
"name":"Emirati Dirham",
"symbol":"\u062f.\u0625",
"html_entity":"\u062f.\u0625",
"code_decimal":"AED",
"prefix":"AED ",
"suffix":"",
"decimal_point":".",
@Bonno
Bonno / mp4-to-wav
Created February 10, 2015 09:24
Convert mp4 to WAV with ffmpeg
ffmpeg -i <infile> -ac 2 -f wav <outfile>
@xero
xero / css-injection.html
Last active October 30, 2024 07:07
css style injection via jQuery. basically calling body/head append with a style tag and your own css will add a new tag and your styles to the bottom of the page/head and override any existing ones. why is this useful? imagine embedding a single js file into the page and defining your own styles (think widget for a client), or loading css via aj…
<!DOCTYPE html>
<html>
<head>
<title>css injection | xero.nu</title>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<style type="text/css">
body{
font: normal 12pt "Times New Roman", serif;
background: #ccc;
color: #000066;
@vxnick
vxnick / gist:380904
Created April 27, 2010 15:52
Array of country codes (ISO 3166-1 alpha-2) and corresponding names
<?php
$countries = array
(
'AF' => 'Afghanistan',
'AX' => 'Aland Islands',
'AL' => 'Albania',
'DZ' => 'Algeria',
'AS' => 'American Samoa',
'AD' => 'Andorra',