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 sh | |
# checks to see if running | |
launchctl list | grep mongo | |
launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.mongodb.plist | |
launchctl remove homebrew.mxcl.mongodb | |
pkill -f mongod |
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
// Run this in your chrome console to add every recommendation LinkedIn has provided | |
// Change scroll and timeout to your liking and screen/browser window size | |
// Keep in mind that this will mass add people to your network. Use it wisely | |
let scroll = 800; | |
let timeout = 300; | |
setInterval (() => { | |
$(".mn-pymk-list__card:first-child").find(".button-secondary-small").click(); | |
window.scrollTo(0, scroll); |
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
// Script to mass unfollow friends on Facebook | |
// Make sure you are in "News Feed Preferences" -> “Unfollow people to hide their posts” | |
let d = document.getElementsByClassName("_5u3n"); | |
for (let i = 0; i < d.length; i++){ | |
d[i].click(); | |
} |
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
{ | |
"success": 1, | |
"data": [{ | |
"name": "Southern California to Baja", | |
"screensavers": [{ | |
"identifier": "7719B48A-2005-4011-9280-2F64EEC6FD91", | |
"urls": { | |
"h264": "https://sylvan.apple.com/Videos/comp_A114_C001_0305OT_v10_SDR_FINAL_22062018_SDR_2K_AVC.mov" | |
}, | |
"timedCaptions": { |
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
// create a bookmark and use this code as the URL, you can now toggle the css on/off | |
// thanks+credit: https://dev.to/gajus/my-favorite-css-hack-32g3 | |
javascript: (function() { | |
var elements = document.body.getElementsByTagName('*'); | |
var items = []; | |
for (var i = 0; i < elements.length; i++) { | |
if (elements[i].innerHTML.indexOf('* { background:#000!important;color:#0f0!important;outline:solid #f00 1px!important; background-color: rgba(255,0,0,.2) !important; }') != -1) { | |
items.push(elements[i]); | |
} | |
} |
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/sh | |
set -e | |
set -x | |
for package in $(npm -g outdated --parseable --depth=0 | cut -d: -f3) | |
do | |
npm -g install "$package" | |
done |
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
code --install-extension Angular.ng-template | |
code --install-extension CoenraadS.bracket-pair-colorizer | |
code --install-extension IBM.output-colorizer | |
code --install-extension Tyriar.sort-lines | |
code --install-extension WallabyJs.quokka-vscode | |
code --install-extension adamwalzer.string-converter | |
code --install-extension alexkrechik.cucumberautocomplete | |
code --install-extension Arjun.swagger-viewer | |
code --install-extension atlassian.atlascode | |
code --install-extension auchenberg.vscode-browser-preview |
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
{ | |
"autoimport.doubleQuotes": true, | |
"breadcrumbs.enabled": true, | |
"css.lint.important": "warning", | |
"debug.node.autoAttach": "on", | |
"debug.toolBarLocation": "docked", | |
"editor.codeLens": false, | |
"editor.colorDecorators": true, | |
"editor.cursorBlinking": "phase", | |
"editor.cursorStyle": "line", |
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
{ | |
"Set Local Environment Vars" : true, | |
"Working Directory" : "\/Users\/Parwinder", | |
"Prompt Before Closing 2" : 0, | |
"Selected Text Color" : { | |
"Green Component" : 0.70916998386383057, | |
"Red Component" : 0.70916998386383057, | |
"Blue Component" : 0.70916998386383057 | |
}, | |
"Rows" : 45, |
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
pm uninstall -k --user 0 com.android.providers.partnerbookmarks | |
pm uninstall -k --user 0 com.facebook.appmanager | |
pm uninstall -k --user 0 com.facebook.katana | |
pm uninstall -k --user 0 com.facebook.services | |
pm uninstall -k --user 0 com.facebook.system | |
pm uninstall -k --user 0 com.google.android.partnersetup | |
pm uninstall -k --user 0 com.google.ar.core | |
pm uninstall -k --user 0 com.microsoft.appmanager | |
pm uninstall -k --user 0 com.microsoft.skydrive | |
pm uninstall -k --user 0 com.netflix.mediaclient |
OlderNewer