Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
Create free AWS Account at https://aws.amazon.com/
I would be creating a t2.medium ubuntu machine for this demo.
Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
Create free AWS Account at https://aws.amazon.com/
I would be creating a t2.medium ubuntu machine for this demo.
*update: TBC, but this new might affect how easy it is to use this technique past August 2024: Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August
This gist, based in part on a gist by Brian Hartvigsen, allows you to export from Authy your TOTP tokens you have stored there.
Those can be "standard" 6-digits / 30 secs tokens, or Authy's own version, the 7-digits / 10 secs tokens.
#!/usr/bin/env bash | |
# | |
# gh-dl-release! It works! | |
# | |
# This script downloads an asset from latest or specific Github release of a | |
# private repo. Feel free to extract more of the variables into command line | |
# parameters. | |
# | |
# PREREQUISITES | |
# |
#Source www.cze.cz | |
#This script is tested with "Cisco AnyConnect Secure Mobility Client version 3.1.00495" | |
# Usage: & '.\Cisco_Anyconnect.ps1' [-Server <server name or ip>] [-Group <group>] [-User <user>] [-Password <password>] | |
#Please change following variables | |
#IP address or host name of cisco vpn, Username, Group and Password as parameters | |
param ( | |
[string]$Server = $( Read-Host "Input server, please" ), |
[user] | |
name = Stephen Zhou | |
email = hi@hyoban.cc | |
signingkey = /Users/hyoban/.ssh/id_ed25519.pub | |
[init] | |
defaultBranch = main | |
[core] | |
excludesfile = ~/.gitignore_global | |
quotepath = false | |
[gpg] |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.IO.Compression; | |
using System.IO.MemoryMappedFiles; | |
using System.Xml; | |
namespace UnpEax | |
{ | |
class Program |
/** | |
* This program makes a static analysis in | |
* order to extract method calls of a directory containing Java bytecode . | |
* | |
* It uses the Soot library. | |
* | |
* Usage: | |
* 1. Change the classpath and the directoryToAnalyze variable | |
* 2. run java -cp bin:soot.jar mm.soot.MethodCallCollector | |
* 3. look at /tmp/data.dat |
Load .obj and .mtl in Unity at runtime |