Skip to content

Instantly share code, notes, and snippets.

View amazingandyyy's full-sized avatar
🦄

Andy Chen amazingandyyy

🦄
View GitHub Profile
merge_config_json() {
local src=$1
local target=$2
local temp_file
temp_file=$(mktemp)
if [[ -f "$target" ]]; then
jq -s '.[0] * .[1]' "$src" "$target" > "$temp_file" && mv "$temp_file" "$target"
else
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta content="width=device-width, initial-scale=1" name="viewport"/><script type="text/javascript">if (/MSIE|Trident/.test(window.navigator.userAgent)) { window.location.href = '/unsupported-browser'; }</script><title>Honda CR-V 2021 rental in Dublin, CA by Andy C. | Turo</title><meta content="text/html; charset=UTF-8" http-equiv="content-type"/><meta content="Need a SUV rental alternative for your next trip? Book instantly Andy C.’s Honda CR-V for $62/day on Turo today!" name="description"/><link href="https://resources.turo.com/next-js/0.0.1/favicon.png" rel="icon" type="image/png"/><link href="https://turo.com/us/en/suv-rental/united-states/dublin-ca/honda/cr-v/1589934" rel="canonical"/><link href="https://turo.com/au/en/suv-rental/united-states/dublin-ca/honda/cr-v/1589934" hrefLang="en-AU" rel="alternate"/><link href="https://turo.com/ca/fr/vus-location/etats-unis/dublin-ca/honda/cr-v/1589934" hrefLang="fr-CA" rel="alternate"/><link href="https
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 8.
Transaction Date,Clearing Date,Description,Merchant,Category,Type,Amount (USD),Purchased By
07/30/2023,07/31/2023,"IMPARK00270155U 766 VALLEJO STREET SAN FRANCISCO94133 CA USA","Impark","Other","Purchase","4.00","good person"
07/29/2023,07/31/2023,"TCB*MTA METER MTA P 1 SOUTH VAN NESS 8TH FLR SAN FRANCISCO94103 CA USA","Tcb*Mta Meter Mta P","Other","Purchase","10.00","good person"
07/31/2023,07/31/2023,"ACH DEPOSIT INTERNET TRANSFER FROM ACCOUNT ENDING IN 2325","Ach Deposit Internet Transfer From Account Ending In 2325","Payment","Payment","-638.74","good person"
07/29/2023,07/30/2023,"SQ *LIGHT & FLICKER 1691 KENTFIELD AVE REDWOOD CITY 94061 CA USA","Light & Flicker","Grocery","Purchase","17.38","good person"
07/29/2023,07/30/2023,"BUN LOVE 450 TOWNSEND ST #211 SAN FRANCISCO94107 CA USA","Bun Love","Restaurants","Purchase","20.58","good person"
07/29/2023,07/30/2023,"GROCERY WEEE! 47467 FREMONT BLVD FREMONT 94538 CA USA","Grocery Weee!","Grocery","Purchase","69.40","good person"
07/28/2023,07/29/2023,"SNACK*
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "bento/ubuntu-20.04"
config.vm.box_version ='202012.21.0'
config.vm.hostname = 'network-lab'
config.vm.define vm_name = 'net'
config.vm.provision "shell", privileged: false, inline: <<-SHELL
@amazingandyyy
amazingandyyy / .releaserc.json
Last active November 9, 2022 03:43
Build container to ECR and deploy to ECS
{
"branches": [
"main",
{
"name": "(f|b|c)/*",
"channel": "next",
"prerelease": "beta-<%= (/^\\w+-\\d+/.exec(name.substr(2)) || [])[0] %>"
}
],
"plugins": [
name: Release
on:
push:
branches: [main]
workflow_dispatch:
jobs:
lint:
name: Lint
#!/usr/bin/env bash
if ! [ -x "$(command -v gsed)" ]; then
echo "insall gsed"
brew install gnu-sed
fi
set -e
export SERVICE_NAME=$1
export CLUSTER_VERSION=$2
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
// contract C {
// uint private data;
// uint public info;
// constructor() {
// info = 10;
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
contract Auction {
address payable public beneficiary; // the highest auctioneer
address public winner;
uint public endingTimestamp;
uint public highestBid;
mapping (address => uint) public PendingWithdrawal;
#!/bin/sh
# install code-server service system-wide
export HOME=/root
curl -fsSL https://code-server.dev/install.sh | sh
# add our helper server to redirect to the proper URL for --link
git clone https://github.com/bpmct/coder-cloud-redirect-server
cd coder-cloud-redirect-server