- Clone the repo with the
--mirror
flag
git clone --mirror https://<URL>.git
- Create a new repo without initializing it with any files
- Clone this new repo locally
- Add a new remote to the new repo
When working from home I have my desk and webcam pointing towards my door which means sometimes someone might enter my office just to find themself to be captured on camera unwittingly. To deal with this I added a light above the outside of my door. This light switches on when my webcam is on and off when it is off. This way people know if they are on camera or not.
This is how I did it:
May this README inform you about working with Dominik Wilkowski and fostering the most productive collaboration.
My focus will always be the core business. I return to first principles and stay grounded to business realities. However, my bias is product, creating something that customers love and want to come back for.
This is a quick function that can convert a QR code generated with the rust version of QR-Code-generator into a much smaller SVG than the to_svg_string
function included in their example.
The function is made generic so that you may use this function with other qr sources. All the function needs is a method to check coordinates if they contain a block box or not besides the size and border values.
So if you have the data for your QR code, all you need is to write a method as I did in the FakeQr
struct for the tests.
The SVG optimizations:
blank_lines_upper_bound = 2 | |
max_width = 120 | |
control_brace_style = "ClosingNextLine" | |
format_code_in_doc_comments = true | |
imports_layout = "HorizontalVertical" | |
match_block_trailing_comma = true | |
newline_style = "Unix" | |
report_fixme = "Always" | |
report_todo = "Unnumbered" |
source ~/.profile | |
# homebrew PATH | |
eval "$(/opt/homebrew/bin/brew shellenv)" | |
# subl command | |
export PATH="/Applications/Sublime Text.app/Contents/SharedSupport/bin:$PATH" | |
export PATH=/usr/local/bin:$PATH |
import fetch from 'node-fetch'; | |
import twilio from 'twilio'; | |
const URL = 'https://www.apple.com/au/shop/fulfillment-messages?parts.0=Z0YQ&location=2093&mt=regular&option.0=ML8X3X%2FA%2CMKUV3FE%2FA&_=1634013871312'; | |
const ACCOUNTSID = 'XXX'; // TODO fill me | |
const AUTHTOKEN = 'XXX'; // TODO fill me | |
function alertMe({ storeName, storePickupQuote }) { | |
const client = new twilio(ACCOUNTSID, AUTHTOKEN); |
/*! Loosely derived from https://gist.github.com/jackdomleo7/55659bafe581d19cc341ef775d6a9e6b */ | |
@import ('Import normalizer stylesheet here'); | |
::selection { | |
text-shadow: none; | |
color: #fff; | |
background-color: rgba(0, 0, 255, 0.1); | |
} |
import { keyframes } from '@emotion/react'; | |
const fadeIn = keyframes` | |
from { | |
bottom: -0.5em; | |
opacity: 0; | |
} | |
to { | |
bottom: 100%; | |
opacity: 1; |
ANSI escape codes can be printed to a shell to as instructions. The below is a list of codes I have used often in my CLI programs and I find myself looking up over and over again.
A great article about it can be found here.