var foo = {'bar': 1};
function overwriteFoo(obj) {
obj = {'bar': 2};
}
function overwriteFooBar(obj) {
obj.bar = 2;
}
overwriteFoo(foo)
#!/bin/bash | |
# example branch name - TEAM-1234-FEAT-btn-revamp | |
# Select branch type | |
branch_type_options=("FEAT" "FIX" "CHORE" "HOTFIX") | |
echo "Select branch type:" | |
select branch_type in "${branch_type_options[@]}" | |
do | |
if [[ -n $branch_type ]]; then | |
break |
var foo = {'bar': 1};
function overwriteFoo(obj) {
obj = {'bar': 2};
}
function overwriteFooBar(obj) {
obj.bar = 2;
}
overwriteFoo(foo)
prompt:
A [nationality] woman sitting on a couch, 24 year old, social media, cute sweater over dress, big smile, beautiful dark hair, shot on iPhone, no filter, plant blurred in background, hands or palm not in frame
Negative prompt: >(no hands visible, bad hands, worst quality, low quality, normal quality, lowres, low details, oversaturated, undersaturated, overexposed, underexposed, grayscale, bw, bad photo, bad photography, bad art:1.4), (watermark, signature, text font, username, error, logo, words, letters, digits, autograph, trademark, name:1.2), (blur, blurry, grainy), morbid, ugly, asymmetrical, mutated malformed, mutilated, poorly lit, bad shadow, draft, cropped, out of frame, cut off, censored, jpeg artifacts, out of focus, glitch, duplicate, (airbrushed, cartoon, anime, semi-realistic, cgi, render, blender, digital art, manga, amateur:1.3), (3D ,3D Game, 3D Game Scene, 3D Character:1.1), (bad hands, bad anat
JetBrains Mono - https://www.jetbrains.com/lp/mono | |
Fira Code - https://github.com/tonsky/FiraCode | |
Cascadia Code - https://github.com/microsoft/cascadia-code | |
Iosevka - https://github.com/be5invis/Iosevka | |
Hasklig - https://github.com/i-tu/Hasklig | |
Monoid - https://larsenwork.com/monoid/ | |
Victor Mono - https://rubjo.github.io/victor-mono |
{ | |
"editor.defaultFormatter": "esbenp.prettier-vscode", | |
"[javascript]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"editor.formatOnSave": true, | |
"workbench.colorTheme": "GitHub Dark Dimmed", | |
"editor.fontLigatures": true, | |
"editor.fontFamily": "'JetBrains Mono', Menlo, Monaco, 'Courier New', monospace", | |
"editor.wordWrap": "on", |
'use strict'; | |
const crypto = require('crypto'); | |
const ENC_KEY = "bf3c199c2470cb477d907b1e0917c17b"; // set random encryption key | |
const IV = "5183666c72eec9e4"; // set random initialisation vector | |
// ENC_KEY and IV can be generated as crypto.randomBytes(32).toString('hex'); | |
const phrase = "who let the dogs out"; | |
var encrypt = ((val) => { |