^([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+)?$
- Semantic versioning http://semver.org/
- Source of the regex npm/node-semver#32
# Install https://www.vaultproject.io/ | |
brew install vault | |
# Start dev vault server in a separate terminal | |
vault server -dev | |
# ==> Vault server configuration: | |
# ... | |
# Unseal Key: 7ACQHhLZY5ivzNzhMruX9kSa+VXCah3y87hl3dPSWFk= | |
# Root Token: 858a6658-682e-345a-e4c4-a6e14e6f7853 |
#!/bin/bash | |
set -x | |
# | |
# Purpose: Run on a workstation to make a remote IPMI controller available at http://127.0.0.2:80/ | |
# Only does port mapping. IPMI controllers may have their own taxing browser requirements. | |
# Requires that you have a shell on a host that is on the same network as your IPMI interface. | |
shell='user@ssh-host-on-ipmi-network' |
^([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+)?$
NokiaTool is a simple Bash script (nokiatool.sh
) that allows you to use an undocumented serial connection in USB-enabled MediaTek-based Nokia feature phones manufactured by Microsoft (even the most basic ones, like the new 105) in order to control them from your PC.
This project is an ongoing work and uses only some bits and pieces of information about the phone internals available to the public, so under any circumstances don't consider it stable or a replacement for official tools if any are present.
main(argc, argv) | |
int argc; | |
char *argv[]; | |
{ | |
int i; | |
argc--; | |
for(i=1; i<=argc; i++) | |
printf("%s%c", argv[i], i==argc? '\n': ' '); | |
} |
# udev rule : SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="5740", MODE="0666", SYMLINK+="lsm303agr" | |
import serial | |
import re | |
import time | |
import signal | |
import math | |
# registers |
module multiHull(){ | |
for (i = [1 : $children-1]) | |
hull(){ | |
children(0); | |
children(i); | |
} | |
} | |
module sequentialHull(){ | |
for (i = [0: $children-2]) |
#include <Wire.h> | |
#include <Servo.h> | |
#define SerialPort Serial | |
#include <SparkFunMPU9250-DMP.h> | |
MPU9250_DMP imu; | |
double roll , pitch, yaw; | |
long int pre_ts=0; | |
void setup() | |
{ |
#!/bin/bash | |
# Input | |
newhost=$1 | |
applicationStart=$2 | |
### | |
# Functions | |
### | |
updateBaseInstall() { |
Started by Thomas Hatch. Released under the Apache 2.0 license.
A good comparison of open-source configuration managements systems: [http://en.wikipedia.org/wiki/Comparison_of_open_source_configuration_management_software]
Thomas Hatch is also working on a project called butter that sits on top of salt for more complex operations such as cloud provisioning.
simplicity - At it's heart, salt is about making it easy to execute commands on a remote server...and fast.