Skip to content

Instantly share code, notes, and snippets.

View FedericoCapaldo's full-sized avatar

Federico Capaldo FedericoCapaldo

View GitHub Profile
@FedericoCapaldo
FedericoCapaldo / shopify_packing_slip.liquid
Last active October 20, 2024 17:11
Shopify Packing slip with Freshly information
<div class="wrapper">
<div class="header">
<div class="shop-title">
<p class="to-uppercase">
{{ shop.name }} (INTERNAL INVOICE)
</p>
</div>
<div class="order-title">
<p class="text-align-right">
Order {{ order.name }}
function ProviderComposer({ contexts, children }) {
return contexts.reduceRight(
(kids, parent) =>
React.cloneElement(parent, {
children: kids,
}),
children
);
}
@FedericoCapaldo
FedericoCapaldo / gist:d3ac5c0da4f275a2e5ce86976c15b275
Created January 12, 2018 12:41
Generate SSH Key for Github
$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
$ pbcopy < ~/.ssh/id_rsa.pub
$ add it to github.
# SQLite version 3.x
# gem install sqlite3
#
# Ensure the SQLite 3 gem is defined in your Gemfile
# gem 'sqlite3'
#
default: &default
adapter: postgresql
pool: 5
host: localhost