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
Created September 12, 2019 17:02
Please login to GitHub and save a public gist called keybase.md. (github popup)

Keybase proof

I hereby claim:

  • I am UbuntuDevSecOps 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 / 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 / lamp.sh
Last active May 17, 2020 10:15
install LAMP + PHPMyAdmin on Ubuntu 18.04 LTS
# Install apache
sudo apt install apache2
# Install PHP
sudo nano /var/www/html/phpinfo.php
and type
<?php
phpinfo();
?>
@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 / 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 / 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 / ntopng.sh
Created September 25, 2019 17:58
Ntopng on Ubuntu 18.04 LTS
sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get install ntopng
sudo systemctl restart ntopng
sudo ntopng -h
sudo ufw enable
sudo ufw allow 3000
firefox http://localhost:3000/
@DevSecOpsGuy
DevSecOpsGuy / powershell.sh
Created September 25, 2019 18:16
Microsoft PowerShell on Ubuntu 18.04 LTS
Microsoft PowerShell on Ubuntu 18.04 LTS
Microsoft PowerShell is a shell framework used to execute commands, but primarily it is developed to perform administrative tasks such as
Automation of repetitive jobs
Configuration management
PowerShell is an open-source and cross-platform project; it can be installed on Windows, macOS, and Linux. It includes an interactive command-line shell and a scripting environment.
##Installation via Package Repository - Ubuntu 18.04