Mathmatic-like function
(a: int) : int => 1 + a
Q1: What if a can be NULL
1 + NULL ???
Q2: What if 1 + a can be NULL
| <# | |
| Create Unix VM's. | |
| PREREQUISITES: | |
| - A VM that has been installed with an OS that supports cloud-init | |
| - cloud-init is installed on the vm | |
| How it works: | |
| - Asks for a bunch of parameters | |
| - Creates a disk from parent vhdx for speed |
| echo hello world |
| /* | |
| # Start an Express Server | |
| - Requests to install `express` and `detect-port` | |
| - Starts an express server | |
| - Opens the local url once server is running | |
| */ | |
| // Name: Express Server | |
| // Description: Start an Express server |
| { | |
| "apps": [ | |
| { | |
| "Info": "", | |
| "Source": "main", | |
| "Name": "7zip", | |
| "Version": "23.01", | |
| "Updated": "2023-07-06T20:45:52.7720128+07:00" | |
| }, | |
| { |
| auth_basic "Restricted"; | |
| auth_basic_user_file /etc/nginx/htpasswd; |
Mathmatic-like function
(a: int) : int => 1 + a
Q1: What if a can be NULL
1 + NULL ???
Q2: What if 1 + a can be NULL
| /* | |
| * WebDriver Dispatcher router | |
| * Register to express: | |
| * app.use('/session', this_module); | |
| */ | |
| var process = require('process'); | |
| var express = require('express'); | |
| var request = require('request'); | |
| var router = module.exports = express.Router(); |
| { "foo" : "Foo", "bar": "Bar"} |
Support for keeping an audit trail for any state machine, borrowed from the Ruby StateMachine audit trail gem. Having an audit trail gives you a complete history of the state changes in your model. This history allows you to investigate incidents or perform analytics, like: “How long does it take on average to go from state a to state b?”, or “What percentage of cases goes from state a to b via state c?”
| set -g default-terminal "screen-256color" | |
| set -g utf8 on | |
| set status-utf8 on | |
| set -g status-bg black | |
| set -g status-fg white | |
| set -g status-position top | |
| set -w -g window-status-current-bg white | |
| set -w -g window-status-current-fg black |