I hereby claim:
- I am meabed on github.
- I am meabed (https://keybase.io/meabed) on keybase.
- I have a public key ASAvNrbN71mNb_HIQ7pdBC2khdaTS3RBuGUFi3lRSwCG9wo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| # zsh, oh-my-zsh, antigen setup for mac | |
| # on mac you need to install: | |
| # brew install zsh antigen zsh-completions | |
| # find more information @ https://meabed.com/zsh-oh-my-zsh-up-and-running | |
| source /usr/local/share/antigen/antigen.zsh | |
| export LSCOLORS='exfxcxdxbxegedabagacad' | |
| export CLICOLOR=true | |
| export SUBLIME=subl |
| curl -fsSL get.docker.com -o get-docker.sh | |
| sh get-docker.sh | |
| cat >./vpn.env <<EOL | |
| VPN_IPSEC_PSK=ipsec_shared_key | |
| VPN_USER=admin | |
| VPN_PASSWORD=vpn_pass | |
| VPN_DNS_SRV1=1.1.1.1 | |
| VPN_DNS_SRV2=1.0.0.1 | |
| VPN_DNS_SRV3=8.8.8.8 |
| - name: uname task | |
| command: "uname -a" | |
| - name: dist task | |
| command: "cat /etc/*issue" | |
| - name: lookup task | |
| command: "nslookup 10.152.152.20" | |
| - name: dig google.com |
| #!/usr/bin/env bash | |
| curl -sL https://deb.nodesource.com/setup_10.x | bash - | |
| apt-get install -y nodejs | |
| mkdir node-curl && cd node-curl && rm -rf node_modules && npm i -f node-libcurl --build-from-source | |
| echo " | |
| var Curl = require('node-libcurl').Curl; | |
| var curl = new Curl(); |
| root@c23b560300f0:/var/www/test# npm i node-libcurl | |
| > [email protected] install /var/www/test/node_modules/node-libcurl | |
| > node-pre-gyp install --fallback-to-build | |
| node-pre-gyp ERR! Tried to download(404): https://github.com/JCMais/node-libcurl/releases/download/v1.3.1/node_libcurl-v1.3.1-node-v64-linux-x64.tar.gz | |
| node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI, glibc) (falling back to source compile with node-gyp) | |
| make: Entering directory '/var/www/test/node_modules/node-libcurl/build' | |
| CXX(target) Release/obj.target/node_libcurl/src/node_libcurl.o | |
| In file included from ../src/node_libcurl.cc:25:0: |
| #!/bin/bash | |
| # | |
| # ############################################################################# | |
| # Create new SSH user (Ubuntu) | |
| # 1) Download the "raw" with - wget -O createNewSSHUser.sh | |
| # 2) Make it executable with - chmod a+x createNewSSHUser.sh | |
| # 5) Immediately set a new password by logging in once with - | |
| # su newUsrName | |
| # ############################################################################# | |
| # |