Skip to content

Instantly share code, notes, and snippets.


Saadh Shehzed inoicouldalwaysturn2u

View GitHub Profile
View dupe zoom

Duplicate/Copy app to a 2nd location. I did /Users/Shared/Applications.

In current GUI account, open Zoom from /Users/Shared/Applications aka 2nd location.

In terminal, I did su second_standard_user. Ran /Applications/

Things from Safari will open up via this 2nd user zoom. To open things from your current GUI user. In terminal: open -a /Users/Shared/Applications/ '’

inoicouldalwaysturn2u /
Last active Oct 4, 2020
Zoomers -- Try to force create local user's Keychains folder
# Open up. Enter these commands in there.
# For sudo commands, enter your current mac user admin password and press enter. No text will show up as you enter it.
# Verify there's nothing that comes up. It should say "No such file or directory" both times
ls -la ~/Library/Keychains
sudo ls -la ~/Library/Keychains
# Try to force create the folder and give it usual permissions
sudo mkdir ~/Library/Keychains
inoicouldalwaysturn2u /
Last active Apr 22, 2020
Install Papertrail App's remote_syslog2[0] on macOS for a specific NodeJS project. [0]
cd ~/tmp-moi
tar -xvzf remote_syslog_darwin_amd64.tar.gz
cd ./remote_syslog
## OG
# sudo cp ./remote_syslog /usr/local/bin
# sudo cp example_config.yml /etc/log_files.yml
# sudo vim /etc/log_files.yml
inoicouldalwaysturn2u / screencapture-obs-agent.plist
Created Apr 20, 2020
I'm doing this on Mac using launchctl. Can include the actual plist as well. Really basic though. Runs every 10 seconds. I turn it off when not running OBS. (launchctl unload screencapture-obs-agent.plist)
View screencapture-obs-agent.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
inoicouldalwaysturn2u / reddit-sb-minimal-html-common-search-bonus-terms-and-links.html
Created Apr 19, 2020
View reddit-sb-minimal-html-common-search-bonus-terms-and-links.html
View History|-102085b1|entries.json
inoicouldalwaysturn2u / javascript-nested-ternary-vs-switch-case.js
Last active Jul 5, 2019
Javascript nested ternary vs switch case. Which is better?
View javascript-nested-ternary-vs-switch-case.js
# Easier to copy paste from what I was doing. Working on a React Component.
# Was working with React and d3. So the functions are imported from d3.
import { axisTop, axisRight, axisBottom, axisLeft } from 'd3-axis';
# Ternary example as a small function
ternaryEx = ( bootstrap ) => bootstrap === 'top' ? axisTop :
bootstrap === 'right' ? axisRight :
bootstrap === 'bottom' ? axisBottom :

Keybase proof

I hereby claim:

  • I am inoicouldalwaysturn2u on github.
  • I am chase_ats ( on keybase.
  • I have a public key ASDnT4Kj1NyrLglQz8Un2DUb84JO8U_MJ8Pxbp3Qv5oB0go

To claim this, I am signing this object:

View shop-css-overwrite.css
.shopify-buy__layout-horizontal:not(.no-image) .shopify-buy__product-img-wrapper {
float: none !important;
width: 100% !important;
.shopify-buy__product-img-wrapper {
float: none !important;
width: 100% !important;
View Shazam all songs to youtube and spotify.js
// change this variable to change timeout for async scroll load
var TIMEOUT_IN_MS = 1000
// script from
// start from
// print all shazam songs loaded on the page
// TODO: Change format to JSON
function printShazamSongs(){
var artist = $(this).find(".artist meta").attr("content");