This file contains hidden or 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
| {%- unless request.page_type == 'product' or request.page_type == 'collection' -%} | |
| {% liquid | |
| assign order = 'logo,menu,localization,search,mobile_search,actions' | |
| if shop.customer_accounts_enabled | |
| assign order = 'mobile_search,logo,menu,localization,search,actions' | |
| endif | |
| assign rows = 'top,bottom' | split: ',' |
This file contains hidden or 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
| {%- unless request.page_type == 'product' or request.page_type == 'collection' -%} | |
| <link rel="stylesheet" href="{{ 'component-list-menu.css' | asset_url }}" media="print" onload="this.media='all'"> | |
| <link rel="stylesheet" href="{{ 'component-search.css' | asset_url }}" media="print" onload="this.media='all'"> | |
| <link rel="stylesheet" href="{{ 'component-menu-drawer.css' | asset_url }}" media="print" onload="this.media='all'"> | |
| <link | |
| rel="stylesheet" | |
| href="{{ 'component-cart-notification.css' | asset_url }}" | |
| media="print" | |
| onload="this.media='all'" | |
| > |
This file contains hidden or 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
| // To view the default settings, hold "alt" while clicking on the "Settings" button. | |
| // For documentation on these settings, see: https://aka.ms/terminal-documentation | |
| { | |
| "$schema": "https://aka.ms/terminal-profiles-schema", | |
| "defaultProfile": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", | |
| "theme": "dark", |
This file contains hidden or 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
| sudo rsync -apAXv --exclude=/dev/* --exclude=/proc/* \ | |
| --exclude=/sys/* --exclude=/tmp/* \ | |
| --exclude=/run/* --exclude=/mnt/* \ | |
| --exclude=/media/* --exclude=/lost+found \ | |
| --exclude=/backup / /backup |
This file contains hidden or 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
| BASE_URL="http://ipn.li/itgonglun/" | |
| POSTFILE="/audio.mp3" | |
| for i in $(eval echo {$1..$2}) | |
| do | |
| URL=$BASE_URL$i$POSTFILE | |
| FILENAME=$i".mp3" | |
| echo "Now download "$URL | |
| axel -n 10 -o $FILENAME $URL | |
| done |
This file contains hidden or 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
| function git-ignore-io() { | |
| curl https://www.gitignore.io/api/$@ ; | |
| } |
This file contains hidden or 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 python | |
| # -*- coding:utf8 -*- | |
| import time | |
| import argparse | |
| import os | |
| import requests | |
| import sqlite3 | |
| import keyring | |
| from Crypto.Cipher import AES |
This file contains hidden or 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 bash | |
| #Origin http://5by5.tv/buildanalyze/ | |
| BASEURL=http://d.5by5.net/redirect.mp3/fly.5by5.tv/audio/broadcasts/buildanalyze/ | |
| PREFIX=/buildanalyze- | |
| MP3=.mp3 | |
| for i in $(seq 1 1 108) | |
| do | |
| if [ $i -lt 7 ] | |
| then |
This file contains hidden or 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
| /** | |
| * Infix to postfix notation RegExp converter | |
| * | |
| * To implement RegExp machine (NFA, DFA) we need | |
| * to transform first RegExp string to postfix notation | |
| * for more convinient work with the stack. This function | |
| * does exactly this. | |
| * | |
| * See: http://swtch.com/~rsc/regexp/regexp1.html | |
| * |
This file contains hidden or 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
| package com.tomgibara.android.util; | |
| import android.content.Context; | |
| import android.content.res.TypedArray; | |
| import android.util.AttributeSet; | |
| import android.view.View; | |
| import android.view.ViewGroup; | |
| /** | |
| * A layout that arranges views into a grid of same-sized squares. |
NewerOlder