Skip to content

Instantly share code, notes, and snippets.

View DevSecOpsGuy's full-sized avatar
🏦
Working from home

Showeb Arif Siddiquie DevSecOpsGuy

🏦
Working from home
View GitHub Profile
Red [
Title: "Red O'clock"
Author: "Gregg Irwin"
File: %analog-clock.red
Tabs: 4
Needs: View
Purpose: {
- Introduce some basic Red concepts, like functions and datatypes
- Show how the DRAW block and timer events work in the View system
}
@DevSecOpsGuy
DevSecOpsGuy / keybase.md
Last active September 12, 2019 17:04
my keybase signature

Keybase proof

I hereby claim:

  • I am DevSecOpsGuy on github.
  • I am devsecopsguy (https://keybase.io/devsecopsguy) on keybase.
  • I have a public key whose fingerprint is 6F88 2E63 DDF5 A1F4 2F12 3807 BBBD D309 CD83 CF8B

To claim this, I am signing this object:

@DevSecOpsGuy
DevSecOpsGuy / ubuntu.sh
Last active September 24, 2019 16:34
Thins to do after install Ubuntu 18.04 LTS
#!/bin/sh
sudo apt-get update && sudo apt-get upgrade --fix-missing
sudo apt-get install build-essential
sudo apt-get update && sudo apt-get upgrade --fix-missing
sudo apt-get install build-essential checkinstall
sudo apt-get update && sudo apt-get upgrade --fix-missing
sudo apt-get install ubuntu-restricted-extras
sudo apt-get update && sudo apt-get upgrade --fix-missing
sudo apt-get -s autoremove
sudo apt-get update && sudo apt-get upgrade --fix-missing
@DevSecOpsGuy
DevSecOpsGuy / vtiger.sh
Last active September 25, 2019 15:42
vTiger CRM on Ubuntu 18.04 LTS
apache2 -v
mysql --version
php --version
sudo mysql -u root -p
CREATE DATABASE vtigerdb;
CREATE USER 'vtiger'@'localhost' IDENTIFIED BY 'password';
@DevSecOpsGuy
DevSecOpsGuy / ntopng.sh
Created September 25, 2019 17:44
Ntopng on Ubuntu 18.04 LTS
In order to use this repository do (as root):
sudo apt-get install software-properties-common wget
sudo add-apt-repository universe [ unless you have done it previously ]
wget http://apt-stable.ntop.org/18.04/all/apt-ntop-stable.deb
sudo apt install ./apt-ntop-stable.deb
or
sudo dpkg -i apt-ntop-stable.deb
sudo apt-get clean all
@DevSecOpsGuy
DevSecOpsGuy / mongo.sh
Last active September 28, 2019 16:42
Install MongoDB in Ubuntu 18.04 LTS
#!/bin/bash
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4
wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | sudo apt-key add -
echo "deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.2.list
sudo apt update
sudo apt install mongodb-org
sudo systemctl enable mongod
sudo systemctl start mongod
sudo systemctl restart mongod
@DevSecOpsGuy
DevSecOpsGuy / node.sh
Created September 28, 2019 16:45
Node.js v10.x
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt-get install gcc g++ make
sudo curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
sudo echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
node --version
@DevSecOpsGuy
DevSecOpsGuy / PostgreSQL.sh
Created September 29, 2019 08:06
PostgreSQL 10 on Ubuntu 18.04
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -sc)-pgdg main" > /etc/apt/sources.list.d/PostgreSQL.list'
sudo apt update
sudo apt-get install postgresql-10
sudo systemctl stop postgresql.service
sudo systemctl start postgresql.service
sudo systemctl enable postgresql.service
sudo systemctl status postgresql.service
@DevSecOpsGuy
DevSecOpsGuy / sublime3.sh
Created October 2, 2019 15:46
sublime-text
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt-get update
sudo apt-get install sublime-text
@DevSecOpsGuy
DevSecOpsGuy / sublime-text-3-windows-shortcuts.md
Created October 6, 2019 16:02 — forked from mrliptontea/sublime-text-3-windows-shortcuts.md
Sublime Text 3 - Useful Shortcuts (Windows)

Sublime Text 3 - Useful Shortcuts (Windows)

General

Shortcut Description
Ctrl+Shift+P command prompt
Ctrl+Alt+P switch project
Ctrl+P go to file
Ctrl+G go to line