This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Get quotes for FixedFloat, Thorchain and Mayachain | |
# | |
# Usage compare [amount] | |
# amount expressed in BTC (defaults to 0.01 BTC) | |
# | |
# Requirements: jq httpie bc | |
# set -x | |
set -e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/ext/openssl/History.md b/ext/openssl/History.md | |
new file mode 100644 | |
index 0000000000..029426fb8c | |
--- /dev/null | |
+++ b/ext/openssl/History.md | |
@@ -0,0 +1,137 @@ | |
+Version 2.0.0 | |
+============= | |
+ | |
+This is the first release of openssl gem, formerly a standard library of Ruby, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{%- liquid | |
# skip filters where all match | |
assign skip_filter = true | |
for value in filter.values | |
unless value.count == collection.products_count | |
assign skip_filter = false | |
break | |
endunless | |
endfor | |
if skip_filter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e # exit | |
# set -x # trace | |
# trap "set +x; read; set -x;" debug | |
for THEME in (shopify theme list output edited here) | |
do | |
git checkout -B bfcm us-live |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# generate the diff | |
git diff --stat main > to_clean.stat | |
# remove everything you want to KEEP | |
vim to_clean.stat | |
# Filter | |
git filter-branch --index-filter "cat $(pwd)/to_clean.stat | | |
xargs git rm --cached --ignore-unmatch" \ | |
main..HEAD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin respond-to($class) { | |
@media only screen and (max-width: $class) { | |
@content; | |
} | |
} | |
@mixin flex-wrap($value: nowrap) { | |
flex-wrap: $value; | |
} | |
@mixin flexbox { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Simplified Responsive Font Size | |
* Usage is @include rfs(1.2rem); | |
* Used to embed when import is not available. | |
* Based on https://github.com/twbs/rfs | |
*/ | |
@mixin rfs($value, $property: font-size) { | |
// Check value is in **rem**. | |
@if unit($value) != rem { | |
@error "`#{$value}` has not a valid unit. Use `rem`." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'httparty' | |
class Blog | |
include HTTParty | |
base_uri "https://#{ ENV['SHOPIFY_STORE'] }.myshopify.com" | |
headers 'Content-Type' => 'application/json', | |
'X-Shopify-Access-Token' => ENV['SHOPIFY_TOKEN'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
themekit: theme watch --notify /tmp/themeWatchNotify | |
browsersync: browser-sync start --config bs-config.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Basic setup to make life easier when using the shell on a VPS | |
# set -x | |
set -e | |
if [ ! -f ~/.vim/colors/solarized.vim ] | |
then | |
wget -P ~/.vim/colors https://raw.githubusercontent.com/altercation/solarized/master/vim-colors-solarized/colors/solarized.vim | |
fi |
NewerOlder