https://wandb.ai/rom1504/dalle2_train_decoder/runs/mic5buox/files/decoder_config.json
get dalle2
get the config file
get these 2 .sh
run sbatch start_big.sh
compute_environment: LOCAL_MACHINE | |
deepspeed_config: {} | |
distributed_type: 'NO' | |
downcast_bf16: 'no' | |
machine_rank: 0 | |
main_process_ip: null | |
main_process_port: null | |
main_training_function: main | |
mixed_precision: 'no' | |
num_machines: 1 |
https://wandb.ai/rom1504/dalle2_train_decoder/runs/mic5buox/files/decoder_config.json
get dalle2
get the config file
get these 2 .sh
run sbatch start_big.sh
Find the official macOS wallpapers complied in a neat Google Photos album.
This setup relies on a few GNOME shell extensions, all of which are available from the AUR.
COLOR_RED="\033[0;31m" | |
COLOR_YELLOW="\033[0;33m" | |
COLOR_GREEN="\033[0;32m" | |
COLOR_OCHRE="\033[38;5;95m" | |
COLOR_BLUE="\033[0;34m" | |
COLOR_WHITE="\033[0;37m" | |
COLOR_RESET="\033[0m" | |
function git_color() { | |
local git_status="$(git status 2>/dev/null)" |
# normal brew nvm shell config lines minus the 2nd one | |
# lazy loading the bash completions does not save us meaningful shell startup time, so we won't do it | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "/usr/local/opt/nvm/etc/bash_completion" ] && . "/usr/local/opt/nvm/etc/bash_completion" # This loads nvm bash_completion | |
# add our default nvm node (`nvm alias default 10.16.0`) to path without loading nvm | |
export PATH="$NVM_DIR/versions/node/v$(<$NVM_DIR/alias/default)/bin:$PATH" | |
# alias `nvm` to this one liner lazy load of the normal nvm script | |
alias nvm="unalias nvm; [ -s "/usr/local/opt/nvm/nvm.sh" ] && . "/usr/local/opt/nvm/nvm.sh"; nvm $@" |
const moo = require('moo') | |
function compileClass(constructor, indent) { | |
let s = '' | |
s += indent + 'var ' + constructor.name + ' = ' + constructor | |
for (let key in constructor.prototype) { | |
s += '\n\n' | |
const value = constructor.prototype[key] | |
if (typeof value === 'function') { | |
s += indent + constructor.name + '.prototype.' + key + ' = ' + value |
function logColor(color, args) { | |
console.log(`%c ${args.join(' ')}`, `color: ${color}`); | |
} | |
const log = { | |
aliceblue: (...args) => { logColor('aliceblue', args)}, | |
antiquewhite: (...args) => { logColor('antiquewhite', args)}, | |
aqua: (...args) => { logColor('aqua', args)}, | |
aquamarine: (...args) => { logColor('aquamarine', args)}, | |
azure: (...args) => { logColor('azure', args)}, |
const admin = require('firebase-admin'); | |
function buildHtmlWithPost (post) { | |
const title = post.title + ' | Example Website'; | |
var head = { | |
title: title, | |
meta: [ | |
// This may not be a valid combination of tags for the services you need to support; |
chrome.runtime.onMessageExternal.addListener(function(request, sender, sendResponse) { | |
console.log('incomming'); | |
if (request.getTargetData){ | |
console.log('We have target data'); | |
sendResponse({targetData: {}}); | |
} else { | |
if (request.activateLasers) { | |
var success = true; | |
console.log('lazers active'); | |
sendResponse({activateLasers: success}); |
# Version key/value should be on his own line | |
PACKAGE_VERSION=$(cat package.json \ | |
| grep version \ | |
| head -1 \ | |
| awk -F: '{ print $2 }' \ | |
| sed 's/[",]//g' \ | |
| tr -d '[[:space:]]') | |
echo $PACKAGE_VERSION |