- Run
diskutil list
to identify list - Run
ps -ax | grep <disk>
to kill all processes accessing the disk - Run
sudo fsck_exfat -d <disk>
to repair the volumen.
Vola!
const maxCount = 500; | |
const counterSelector = '.rtExYb'; | |
const checkboxSelector = '.ckGgle[aria-checked=false]'; | |
const photoDivSelector = ".yDSiEe.uGCjIb.zcLWac.eejsDc.TWmIyd"; | |
const deleteButtonSelector = 'button[aria-label="Delete"]'; | |
const confirmationButtonSelector = '#yDmH0d > div.VfPpkd-Sx9Kwc.cC1eCc.UDxLd.PzCPDd.V639qd.bvQPzd.oEOLpc.A9Uzve.VfPpkd-Sx9Kwc-OWXEXe-FNFY6c > div.VfPpkd-wzTsW.O4g5Md.iWO5td > div > div.VfPpkd-cnG4Wd.m5OsGf > div > div.VfPpkd-T0kwCb.IdSMxc > button.VfPpkd-LgbsSe.VfPpkd-LgbsSe-OWXEXe-k8QpJ.nCP5yc.AjY5Oe.LQeN7.kDryjd'; | |
async function deleteGooglePhotos() { | |
// Retrieves the current count of selected photos | |
const getCount = () => { |
"scripts": { | |
"start": "node index.js", | |
"start_azure_debug": "if [[ ${APPSVC_TUNNEL_PORT} != \"\" ]]; then node --inspect=0.0.0.0:$APPSVC_TUNNEL_PORT index.js; else npm run start; fi", | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, |
window.onwheel = function (e) { | |
e.preventDefault(); | |
if (e.ctrlKey) { | |
// Your zoom/scale factor | |
scale -= e.deltaY * 0.01; | |
} else { | |
// Your trackpad X and Y positions | |
posX -= e.deltaX * 2; | |
posY -= e.deltaY * 2; |
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "chrome", | |
"request": "launch", | |
"name": "Launch Chrome with ng serve", | |
"url": "http://localhost:4200/#", | |
"webRoot": "${workspaceRoot}" | |
}, |
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "iOS Web", | |
"type": "chrome", | |
"request": "attach", | |
"port:": 9000, | |
"url": "https://kenenth.io/*", | |
"webRoot": "${workspaceRoot}/src" |
This project aims to enable webpack logging to be surfaced in browser DevTools, through a simple extension for Webpack and/or https://github.com/webpack/webpack-dev-server
Central place for logs and errors regardless if they are client-side, server-side or coming from the build system.
{ | |
"configurations": [ | |
{ | |
"name": "Node", | |
"type": "node", | |
"request": "launch", | |
"protocol": "inspector", | |
"program": "${workspaceRoot}/server.js" | |
}, | |
] |
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Chrome", | |
"type": "chrome", | |
"request": "launch", | |
"url": "http://localhost:3000", | |
"webRoot": "${workspaceRoot}/src" | |
} |
{ | |
"version": "0.1.0", | |
"configurations": [ | |
{ | |
"name": "Node", | |
"type": "node", | |
"request": "attach", | |
"protocol": "inspector", | |
"port": 9229 | |
}, |