As easy as 1, 2, 3!
Updated:
- Aug, 08, 2022 update
config
docs for npm 8+ - Jul 27, 2021 add private scopes
- Jul 22, 2021 add dist tags
- Jun 20, 2021 update for
--access=public
- Sep 07, 2020 update docs for
npm version
# Start the old vagrant | |
$ vagrant init centos-6.3 | |
$ vagrant up | |
# You should see a message like: | |
# [default] The guest additions on this VM do not match the install version of | |
# VirtualBox! This may cause things such as forwarded ports, shared | |
# folders, and more to not work properly. If any of those things fail on | |
# this machine, please update the guest additions and repackage the | |
# box. |
#!/bin/bash | |
rm *.jks 2> /dev/null | |
rm *.pem 2> /dev/null | |
echo "====================================================" | |
echo "Creating fake third-party chain root -> ca" | |
echo "====================================================" | |
# generate private keys (for root and ca) |
<!-- ... --> | |
<uses-permission android:name="android.permission.GET_ACCOUNTS" /> | |
<uses-permission android:name="android.permission.INTERNET" /> | |
<uses-permission android:name="android.permission.USE_CREDENTIALS" /> | |
<!-- ... --> |
WebSockets is a modern HTML5 standard which makes communication between client and server a lot more simpler than ever. We are all familiar with the technology of sockets. Sockets have been fundamental to network communication for a long time but usually the communication over the browser has been restricted. The general restrictions
Go through the new issues and try to reproduce them. It’s important to get additional info, logs, and test if an issue occurs on different platforms. That helps us identify the source of the problem.
language: java | |
env: | |
global: | |
- SONATYPE_USERNAME=yourusername | |
- secure: "your encrypted SONATYPE_PASSWORD=pass" | |
after_success: | |
- python addServer.py | |
- mvn clean deploy --settings ~/.m2/mySettings.xml |
#!/usr/bin/env bash | |
# NAME: create-bridge-netif.sh | |
# AUTHOR: Marc Weisel | |
# DATE: 03/04/2014 | |
# NOTES: Tested with Mac OS X 10.9 (Mavericks); Bash v3.2.51(1)-release | |
# FUNCTIONS | |
## Is the TAP network interface available? | |
tap_exist() { |
alias dip="docker inspect -f '{{ .NetworkSettings.IPAddress }}'" | |
dssh() { | |
PID=$(docker inspect --format {{.State.Pid}} $1) | |
sudo /usr/bin/nsenter --target $PID --mount --uts --ipc --net --pid env -i - $(sudo cat /proc/$PID/environ | xargs -0) bash | |
} | |
drmiall() { | |
docker rmi `docker images -q -f dangling=true` | |
} |
p ="password" | |
#according to PKCS#5, should be at least 8 bytes. Public information, can be stored along with the pwd. | |
s = OpenSSL::Random.random_bytes(16) | |
c = 20000 # varies depending on how fast the system is, tweak until it takes "long enough" | |
digest = OpenSSL::Digest::SHA256.new | |
#should be >= the output size of the underlying hash function, but ">" doesn't improve security (says PKCS#5) | |
dk_len = digest.digest_length | |
#store the result for new passwords | |
value = OpenSSL::PKCS5.pbkdf2_hmac(p, s, c, dk_len, digest) |