Skip to content

Instantly share code, notes, and snippets.

View chasewri's full-sized avatar
💭
Graphic Design is my passion

Chase chasewri

💭
Graphic Design is my passion
View GitHub Profile
@chasewri
chasewri / random_color.js
Created December 17, 2021 15:59
Random Hex color
var color = Math.floor(Math.random() * 16777215).toString(16)
color = "#" + ("000000" + color).slice(-6)
@chasewri
chasewri / docker-compose.yml
Created December 14, 2021 21:53
Docker -- Postgres and Adminer
version: '3.8'
services:
db:
container_name: pg_container
image: postgres
restart: always
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: root
POSTGRES_DB: test_db
@chasewri
chasewri / .prettierrc
Last active November 10, 2021 23:09
Basic Prettier
{
"singleQuote": true,
"trailingComma": "none",
"semi": false,
"tabWidth": 2,
"arrowParens": "avoid"
}
@chasewri
chasewri / aemTouchCheckboxDialog.xml
Created February 10, 2021 17:21 — forked from nateyolles/aemTouchCheckboxDialog.xml
AEM Touch UI component dialog checkboxes
<!-- Checked checkbox will result in a String property of "true" -->
<myCheckbox
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/form/checkbox"
text="My Checkbox"
name="./myCheckbox"
value="true"/>
<!-- Checked checkbox will result in a Boolean property of true-->
<myBooleanCheckbox