function lsblk () {
/usr/bin/lsblk --sort pkname $@
This file contains 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
#!/bin/bash | |
set -euxo pipefail | |
BW_FOLDER=$(bw list folders | jq -rc ".[] | select(.name == \"$MY_FOLDER_NAME\") | .id") | |
BW_ITEMS=$(bw list items --folderid $BW_FOLDER | jq -rc '.[] | select(.organizationId == null) | .id') | |
BW_ORGANIZATION=$(bw list organizations --search $MY_ORG_NAME | jq -rc '.[].id') | |
BW_COLLECTIONS=$(bw list collections --search $MY_COLLECTION_NAME --organizationid=$BW_ORGANIZATION | jq -c '.[].id' | jq -s | bw encode) | |
echo $BW_ITEMS | xargs --replace={} bw move {} $BW_ORGANIZATION $BW_COLLECTIONS |
This file contains 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
# Requires i3lock-color: https://github.com/Raymo111/i3lock-color | |
# # catppuccin-latte | |
# COLOR_BASE="eff1f5ff" | |
# COLOR_BLUE="1e66f5ff" | |
# COLOR_FLAMINGO="dd7878ff" | |
# COLOR_GREEN="40a02bff" | |
# COLOR_RED="d20f39ff" | |
# COLOR_SKY="04a5e5ff" | |
# COLOR_TEAL="179299ff" |
This file contains 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
package main | |
import ( | |
"astuart.co/goq" | |
"fmt" | |
"github.com/gocolly/colly" | |
"io/ioutil" | |
"log" | |
"regexp" | |
"strconv" |
This file contains 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
#!/usr/bin/env python | |
# prints all nodejs 0.1 functions, which will cease to function soon | |
import logging | |
import boto3 | |
import botocore | |
def main(): |
This file contains 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
require 'watir-webdriver' | |
require 'csv' | |
require 'pry' | |
# TODO: | |
# scrape specific activities (e.g. running, cycling) | |
# plot scatter | |
# fit curve | |
begin | |
b = Watir::Browser.new :phantomjs |
This file contains 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
this is what public looks like |