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
/** | |
WARNING: THIS DELETES DATA | |
Run this within your Sanity project directory with: | |
yarn sanity exec --with-user-token removeSaneShopifyDocuments.js | |
**/ |
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
const SIZE = 24; | |
const generateBoard = () => { | |
return Array.from({ length: SIZE }, () => { | |
// return a row | |
return Array.from({ length: SIZE }, () => Math.round(Math.random())); | |
}); | |
}; | |
const printBoard = board => { |
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
declare module '@xstyled/styled-components' { | |
import _styled, { | |
StyledComponent, | |
ThemedStyledInterface, | |
ThemedStyledFunction, | |
DefaultTheme, | |
FlattenSimpleInterpolation, | |
} from 'styled-components' | |
export * from 'styled-components' |
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
/** | |
* Playable at: https://repl.it/@good_idea/Sudoku-Node | |
* The repl has some issues with the input, but it still works. | |
* The repl is also limited to one board. | |
*/ | |
import * as inquirer from 'inquirer' | |
import chalk from 'chalk' | |
/** |
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
2019-09-18 16:26:02,572 INFO [88962] (deoplete.logging) --- Deoplete Log Start --- | |
2019-09-18 16:26:02,573 INFO [88962] (deoplete.logging) NVIM v0.5.0-dev, Python 3.7.4, pynvim 0.3.2 | |
2019-09-18 16:26:07,970 DEBUG [88962] (deoplete.core) initialized context: {'changedtick': 4, 'event': 'Init', 'filetype': 'typescript', 'filetypes': ['typescript'], 'input': ' ...TextBlockFragment', 'max_abbr_width': 83.33333333333333, 'max_kind_width': 83.33333333333333, 'max_info_width': 83.33333333333333, 'max_menu_width': 83.33333333333333, 'next_input': '', 'position': [0, 30, 34, 0], 'same_filetypes': [], 'bufnr': 1, 'bufname': 'views/Homepage/homepageQuery.ts', 'bufpath': '/Users/joseph/Sites/jemmawynne/jemmawynne.com/app/src/views/Homepage/homepageQuery.ts', 'camelcase': False, 'complete_str': '', 'custom': {'filter': {}, 'source': {'_': {}}, 'option': {'check_stderr': True, 'camel_case': False, 'on_text_changed_i': True, 'max_list': 16, 'candidate_marks': [], 'skip_multibyte': False, 'auto_refres |
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
Simple Traffic Light | |
Green* | |
tick -> Yellow | |
Yellow | |
tick -> Red | |
Red | |
tick -> Green |
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
<select name="country"> | |
<option value="AF">Afghanistan π¦π«</option> | |
<option value="AO">Angola π¦π΄</option> | |
<option value="AL">Albania π¦π±</option> | |
<option value="AD">Andorra π¦π©</option> | |
<option value="AE">United Arab Emirates π¦πͺ</option> | |
<option value="AR">Argentina π¦π·</option> | |
<option value="AM">Armenia π¦π²</option> | |
<option value="AG">Antigua and Barbuda π¦π¬</option> | |
<option value="AU">Australia π¦πΊ</option> |
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
Editable Text* | |
Normal* | |
hover -> Hover | |
Normal-Initial* | |
Normal-Success | |
Hover | |
leaveHover -> Normal | |
click -> Active |
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
Map Editor* | |
Welcome* | |
Lesson | |
clickedDropPin -> DropPin | |
Browse* | |
clickedItem -> Inspect | |
DropPin |
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
Map Editor* | |
Welcome* | |
Lesson | |
clickedDropPin -> DropPin | |
Browse* | |
clickedItem -> InspectItem | |
DropPin |