Skip to content

Instantly share code, notes, and snippets.

View stringtheory's full-sized avatar

Diane Kopperl stringtheory

View GitHub Profile
@stringtheory
stringtheory / arrows.md
Created April 12, 2021 06:15
Useful Unicode

← ↑ → ↓ ↔ ↕ ↖ ↗ ↘ ↙ ↚ ↛ ↜ ↝ ↞ ↟ ↠ ↡ ↢ ↣ ↤ ↥ ↦ ↧ ↨ ↩ ↪ ↫ ↬ ↭ ↮ ↯ ↰ ↱ ↲ ↳ ↴ ↵ ↶ ↷ ↸ ↹ ↺ ↻ ↼ ↽ ↾ ↿ ⇀ ⇁ ⇂ ⇃ ⇄ ⇅ ⇆ ⇇ ⇈ ⇉ ⇊ ⇋ ⇌ ⇍ ⇎ ⇏ ⇐ ⇑ ⇒ ⇓ ⇔ ⇕ ⇖ ⇗ ⇘ ⇙ ⇚ ⇛ ⇜ ⇝ ⇞ ⇟ ⇠ ⇡ ⇢ ⇣ ⇤ ⇥ ⇦ ⇧ ⇨ ⇩ ⇪ ⇫ ⇬ ⇭ ⇮ ⇯ ⇰ ⇱ ⇲ ⇳ ⇴ ⇵ ⇶ ⇷ ⇸ ⇹ ⇺ ⇻ ⇼ ⇽ ⇾ ⇿

@stringtheory
stringtheory / namedcolors.js
Created April 11, 2021 22:03
named HTML Color data
const namedColors = [
{'name': 'IndianRed',
' group': 'red',
' hex': '#CD5C5C',
' rgb': 'rgb(205, 92, 92)'},
{'name': 'LightCoral',
' group': 'red',
' hex': '#F08080',
' rgb': 'rgb(240, 128, 128)'},
{'name': 'Salmon',
@stringtheory
stringtheory / customer.sql
Created October 16, 2020 00:38
Holo Technical Interview Results
CREATE TABLE `mydb`.`CUSTOMER` (
`ID` INT NOT NULL,
`CUSTOMER` VARCHAR(100) NOT NULL,
`COUNTRY` VARCHAR(45) NOT NULL,
`CREDITS` INT NOT NULL);
INSERT INTO CUSTOMER (ID, NAME, COUNTRY, CREDITS)
VALUES (1, 'Frances White', 'USA', 200350),
(2, 'Carolyn Bradley', 'UK', 15354),
(3, 'Annie Fernandez', 'France', 359200),
@stringtheory
stringtheory / life_path_1970_1980.txt
Created October 13, 2020 22:43
Numerology Stats & 22 List for 1970 - 1980
LIFE PATH TWO 22 BIRTHDAYS FOR 01/01/1970 - 12/31/1980
╒════════════╤═══════╤═════════╤════════╤═════════════╕
│ date │ day │ month │ year │ life path │
╞════════════╪═══════╪═════════╪════════╪═════════════╡
│ 03-11-1970 │ 3 │ 11 │ 8 │ 22 │
├────────────┼───────┼─────────┼────────┼─────────────┤
│ 03-29-1970 │ 3 │ 11 │ 8 │ 22 │
├────────────┼───────┼─────────┼────────┼─────────────┤
│ 05-09-1970 │ 5 │ 9 │ 8 │ 22 │
├────────────┼───────┼─────────┼────────┼─────────────┤
<%namespace name="component_aggregate_review" file="/component/aggregate_review.mako" />
<%namespace name="add_to_bag_button" file="/component/add_to_bag_button.mako" />
<%doc>
General Options for all Offer Cards
Regions | explore | compare | want
------------------+---------+---------+-------
media | Yes | Yes | Yes
from pylons import config, request, response, tmpl_context as c, url
from pylons.i18n.translation import _
from beautylish.lib.text_utils import camelize
from beautylish.lib.form_helpers import countries_ISO_3166_1_alpha_2
from beautylish.lib.country_data.regions import regionsAU
from beautylish.lib.country_data.regions import regionsCA
from beautylish.lib.country_data.regions import regionsCN
from beautylish.lib.country_data.regions import regionsHK
@stringtheory
stringtheory / top_secret.txt
Last active March 4, 2019 23:29
Secret Family Pi
Ingredients - 2 pies
-------------------------------------------------
6 eggs
6 tablespoons flour
3 cups maple syrup (B Grade prefered)
1-½ cups heavy cream
2 9-inch pie shells, partially baked (I use the Joy of cooking one)
2 cups whipping cream | whipped with a pinch of sugar
@stringtheory
stringtheory / crust.txt
Last active April 4, 2021 23:04
maple cream pie
For the Joy of Cooking
2 Single Crusts
Ingredients
2½ cups flour
1 teaspoon sugar
¼ cup shortening
1 teaspoon salt
@stringtheory
stringtheory / lib.inc.php
Last active September 11, 2017 21:49
New image sizes to add.
<?php
function generate_image($src_path, $dst_path, $type_params, $width=null, $height=null, $username=null) {
global $IMAGEMAGICK_PATH;
$cmd_line = array();
$cmd_line[] = $IMAGEMAGICK_PATH;
$cmd_line[] = $src_path;
switch ($type_params) {
case 'orig':
#from the shell directory
export BL_SHELL_SERVER_PORT="50001"
#This is bill
export BL_SHELL_SERVER_PRINCIPAL="rvgxn"
source ~/beautylish/beautylish/shell/shell_client.sh
#from the shell directory
#all tests
./bl-run-cmd-scripts
# single test