Skip to content

Instantly share code, notes, and snippets.

.react-datepicker__month-container {
width: 320px;
font-size: 1.4rem;
}
.react-datepicker__month {
margin: 0 auto;
}
react-datepicker__day-name {
width: 4rem;
}
@vitohuang
vitohuang / claim.liquid
Last active September 1, 2022 10:58
Lexivon claim email template
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:o="urn:schemas-microsoft-com:office:office" style="font-family:arial, 'helvetica neue', helvetica, sans-serif">
<head>
<meta charset="UTF-8">
<meta content="width=device-width, initial-scale=1" name="viewport">
<meta name="x-apple-disable-message-reformatting">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="telephone=no" name="format-detection">
<title>Product registration</title><!--[if (mso 16)]>
<style type="text/css">
@vitohuang
vitohuang / product-registration.liquid
Last active September 1, 2022 10:57
Lexivon product registration email tmeplate
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:o="urn:schemas-microsoft-com:office:office" style="font-family:arial, 'helvetica neue', helvetica, sans-serif">
<head>
<meta charset="UTF-8">
<meta content="width=device-width, initial-scale=1" name="viewport">
<meta name="x-apple-disable-message-reformatting">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="telephone=no" name="format-detection">
<title>Product registration</title><!--[if (mso 16)]>
<style type="text/css">
with table_stats as (
select psut.relname,
psut.n_live_tup,
1.0 * psut.idx_scan / greatest(1, psut.seq_scan + psut.idx_scan) as index_use_ratio
from pg_stat_user_tables psut
order by psut.n_live_tup desc
),
table_io as (
select psiut.relname,
sum(psiut.heap_blks_read) as table_page_read,
@vitohuang
vitohuang / product-search.json
Created December 7, 2021 20:11
Product search json
[
{
"id": 744181732392,
"title": "PowerHub 4PD+ - UK / Black",
"handle": "powerhub-4",
"image": {
"src": "https://cdn.shopify.com/s/files/1/1772/1101/products/image5.jpg?v=1530099311"
},
"variantId": 3671983915048
},
[
{
type: 'textInput',
label: 'Name',
name: 'Name',
value: '',
description: 'This is description',
placeholder: 'Please input your name',
required: false,
id: 'textInput-7'
@vitohuang
vitohuang / understanding-word-vectors.ipynb
Created March 2, 2018 21:55 — forked from aparrish/understanding-word-vectors.ipynb
Understanding word vectors: A tutorial for "Reading and Writing Electronic Text," a class I teach at ITP. (Python 2.7) Code examples released under CC0 https://creativecommons.org/choose/zero/, other text released under CC BY 4.0 https://creativecommons.org/licenses/by/4.0/
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<table>
<thead>
<th>{{ languages.productName }}</th>
<th>{{ languages.purchaseDate }}</th>
{% if shopSetting.extraFields %}
{% for field in shopSetting.extraFields %}
<th>{{ field.name }}</th>
{% endfor %}
{% endif %}
</thead>
@vitohuang
vitohuang / myweechat.md
Created September 14, 2017 21:07 — forked from pascalpoitras/config.md
My always up-to-date WeeChat configuration (weechat-dev)

WeeChat Screenshot

Enable mouse support

/mouse enable

Encrypted password in sec.conf