create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
#!/bin/sh | |
# disable/enable touchpad | |
# working for Ubuntu 14.04 on Dell 3000/Lenovo G50-80 | |
# @author Engit | |
status=$(synclient -l | grep TouchpadOff | awk '{print $3}') | |
#if synclient returns nothing use xinput | |
synclient=1 | |
if [ -z $status ]; then |
#!/bin/sh | |
# disable/enable integrated webcam | |
# working for Ubuntu 14.04 on Dell 3000/Lenovo G50-80 | |
# @author Engit | |
status="$(lsmod | grep uvcvideo)" | |
message='' | |
if [ -z "$status" ];then | |
modprobe uvcvideo | |
message="Enabled" |
############################## | |
# | |
# RPI bar code reader | |
# @author github.com/john-e | |
# | |
# @lib | |
# zbar - https://github.com/npinchot/zbar | |
############################## | |
import sys |
function curry (fn, ...args) { | |
if (fn.length == args.length) return fn(...args); | |
return (...args2) => { | |
return curry(fn, ...[...args, ...args2]); | |
}; | |
}; |
const path = require('path'); | |
const webpack = require('webpack'); | |
module.exports = { | |
entry: './src/index.ts', | |
module: { | |
rules: [ | |
{ | |
test: /\.tsx?$/, | |
use: 'ts-loader', |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
#!/usr/bin/env bash | |
set -e | |
if [[ -z $AWS_MFA_DEVICE ]]; then | |
MFA_DEVICE=${1} | |
MFA_TOKEN=$2 | |
else | |
MFA_DEVICE=${AWS_MFA_DEVICE} | |
MFA_TOKEN=${1} |