create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
| #!/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} |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
| const path = require('path'); | |
| const webpack = require('webpack'); | |
| module.exports = { | |
| entry: './src/index.ts', | |
| module: { | |
| rules: [ | |
| { | |
| test: /\.tsx?$/, | |
| use: 'ts-loader', |
| function curry (fn, ...args) { | |
| if (fn.length == args.length) return fn(...args); | |
| return (...args2) => { | |
| return curry(fn, ...[...args, ...args2]); | |
| }; | |
| }; |
| ############################## | |
| # | |
| # RPI bar code reader | |
| # @author github.com/john-e | |
| # | |
| # @lib | |
| # zbar - https://github.com/npinchot/zbar | |
| ############################## | |
| import sys |
| #!/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" |
| #!/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 |