If you don't know anything about JSON, please, spend some time on learning JSON structure.
Recommended sources:
If you don't know anything about JSON, please, spend some time on learning JSON structure.
Recommended sources:
/** | |
* VH and VW units can cause issues on iOS devices: http://caniuse.com/#feat=viewport-units | |
* | |
* To overcome this, create media queries that target the width, height, and orientation of iOS devices. | |
* It isn't optimal, but there is really no other way to solve the problem. In this example, I am fixing | |
* the height of element `.foo` —which is a full width and height cover image. | |
* | |
* iOS Resolution Quick Reference: http://www.iosres.com/ | |
*/ | |
/** | |
* Fix for vw, vh, vmin, vmax on iOS 7. | |
* http://caniuse.com/#feat=viewport-units | |
* | |
* This fix works by replacing viewport units with px values on known screen sizes. | |
* | |
* iPhone 6 and 6 Plus cannot run iOS 7, so are not targeted by this fix. | |
* Target devices running iOS 8+ will incidentally execute the media query, | |
* but this will still produce the expected result; so this is not a problem. |
# Main | |
deb https://deb.debian.org/debian bullseye main contrib non-free | |
deb-src https://deb.debian.org/debian bullseye main contrib non-free | |
# Security | |
deb https://security.debian.org/debian-security bullseye-security main contrib non-free | |
deb https://deb.debian.org/debian-security/ bullseye-security main contrib non-free | |
deb-src https://deb.debian.org/debian-security/ bullseye-security main contrib non-free | |
# Updates |
#!/usr/bin/env bash | |
# To fix the " gpg: WARNING: unsafe permissions on homedir '/home/path/to/user/.gnupg' " error | |
# Make sure that the .gnupg directory and its contents is accessibile by your user. | |
chown -R $(whoami) ~/.gnupg/ | |
# Also correct the permissions and access rights on the directory | |
chmod 600 ~/.gnupg/* | |
chmod 700 ~/.gnupg |
I have two Github accounts: oanhnn (personal) and superman (for work). I want to use both accounts on same computer (without typing password everytime, when doing git push or pull).
Use ssh keys and define host aliases in ssh config file (each alias for an account).
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/id_rsa | |
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/github_rsa | |
ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/mozilla_rsa |
// Install a specific version number | |
nvm install 8.0.0 | |
// Install the latest LTS version | |
nvm install --lts | |
// Use the latest available 8.0.x release | |
nvm use 8.0 | |
// Use the latest LTS version | |
nvm use --lts | |
// Run app.js using node 6.10.3 | |
nvm run 6.10.3 app.js |
{ | |
//VSCode | |
"extensions.ignoreRecommendations": true, | |
"files.autoSave": "onFocusChange", | |
"liveServer.settings.donotVerifyTags": true, | |
"redhat.telemetry.enabled": true, | |
"rsp-ui.enableStartServerOnActivation": [ | |
{ | |
"id": "redhat.vscode-community-server-connector", | |
"name": "Community Server Connector", |