curl -L https://github.com/nats-io/nats-server/releases/download/v2.10.12/nats-server-v2.10.12-darwin-amd64.zip -o nats-server.zip
SSH is an integral part of a software engineer's day to day activity. You can use SSH commands to connect to a remotely hosted machine over the internet or a local network. The normal way to connect to a machine is using this syntax:
ssh -i identityfile.pem username@hostname
You could also use a password. There's always a hassle to type this complete command, so you might want to abstract it to an alias in your ~/.bashrc or ~/.bash_profile file like this:
If you have ever used Heroku to deploy an application, you'll
In those days when we Heroku still offered free dynos without exception, deploying applications was a breeze. Well, after you have figured the issue making your app show this:
Heroku allowed a Git-based deployment and only needed a Procfile in your project directory with the right command to deploy your application. Even if you could do continuous deployment when you connect to a Github repository, you'll never encounter Github Actions.
Github Actions can actually help you deploy to a platform like Heroku, or Render, or Vercel, or Azure App Service. It goes beyond this and extends to powering continuous deployment to virtual machines, serverless functions, Kubernetes services, etc. The central idea is that a workflow runs when an event occurs on your Github repository. You can see a demo of such behavior in this Github repository. If you carry out any action such as opening a new issue, making a pull request, or forking the repo, a Github actio
import socket | |
server_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
server_socket.bind(('localhost', 80)) | |
server_socket.listen(1) | |
print('Server listening on port 80...') |
#Requires -Modules Microsoft.Graph.Identity.SignIns, Microsoft.Graph.Users | |
Install-Module -Name Az -Repository PSGallery -Force | |
Connect-AzAccount | |
Install-Module -Name Microsoft.Graph | |
Connect-MgGraph -Scopes 'User.ReadWrite.All' |
from dotenv import load_dotenv | |
import os | |
from array import array | |
from PIL import Image, ImageDraw | |
import sys | |
import time | |
from matplotlib import pyplot as plt | |
import numpy as np | |
# import namespaces |
https://appsource.microsoft.com/en-us/marketplace/partner-dir |