Skip to content

Instantly share code, notes, and snippets.

View HintikkaKimmo's full-sized avatar

Kimmo Hintikka HintikkaKimmo

View GitHub Profile
@HintikkaKimmo
HintikkaKimmo / npm, global
Created August 21, 2017 10:01
Npm global package management
Updating global packages
To update global packages, you can use npm update -g <package>:
npm update -g jshint
To find out which packages need to be updated, you can use npm outdated -g --depth=0.
To update all global packages, you can use npm update -g. However, for npm versions less than 2.6.1, this script is recommended to update all outdated global packages.
@HintikkaKimmo
HintikkaKimmo / working_with_ssh.md
Last active September 1, 2017 19:43
Instrucition on working with SSH keys

Generating a new SSH key

Open Terminal.

Paste the text below, substituting in your email address.

ssh-keygen -t rsa -b 4096 -C "your_email@example.com" This creates a new ssh key, using the provided email as a label.

Generating public/private rsa key pair.

@HintikkaKimmo
HintikkaKimmo / product_list_viewed.json
Created August 3, 2023 11:51
Product List Viewed
list_id: "list1",
category: "What's New",
products: [
{
product_id: "223344ffdds3ff3",
sku: "12345",
name: "Just Another Game",
price: 22,
position: 2,
category: "Games and Entertainment",