- Peter Collingridge SVG Editor + Optimizer
http://www.petercollingridge.appspot.com/svg-editor - Draw SVG
http://www.drawsvg.org/drawsvg.html - Vecteezy
https://www.vecteezy.com/editor - SVG Edit
https://svg-edit.github.io/svgedit/editor/svg-editor.html
This file contains hidden or 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
//browser push notification "onClick" event heandler | |
self.addEventListener('notificationclick', function(event) { | |
console.log('[Service Worker] Notification click Received.'); | |
event.notification.close(); | |
/** | |
* if exists open browser tab with matching url just set focus to it, | |
* otherwise open new tab/window with sw root scope url | |
*/ | |
event.waitUntil(clients.matchAll({ |
This file contains hidden or 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
var AWS = require('aws-sdk'); | |
AWS.config.update({ region: 'us-east-1' }); | |
var s3 = new AWS.S3(); | |
var obj = { | |
firstname: "Navjot", | |
lastname: "Dhanawat" | |
}; | |
var buf = Buffer.from(JSON.stringify(obj)); |
To add SSH keys for accessing your Ubuntu workstation from your Windows 11 machine, follow these steps:
- Generate an SSH key on Windows 11:
- Open PowerShell or Command Prompt.
- Run the following command to generate a new SSH key pair:
ssh-keygen -t rsa -b 4096 -C "username@server_host"
- Follow the prompts to save the key (default location is usually fine) and set a passphrase if desired.