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
@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
@DevSecOpsGuy
DevSecOpsGuy / vi
Created October 6, 2019 19:29 — forked from IngmarBoddington/vi
vi shortcuts
COMMAND MODE
i = Enter insert mode
o = Insert after current line (enter insert mode)
O = Insert before current line (enter insert mode)
a = Append after current character (enter insert mode)
A = Append at end of line (enter inset mode)
u = undo
@DevSecOpsGuy
DevSecOpsGuy / minikube.sh
Created November 19, 2019 14:44 — forked from ispguru/minikube.sh
Setup Minikube on Ubuntu 18.04
sudo apt update
sudo apt-get install apt-transport-https
udo apt-get upgrade
sudo apt install virtualbox virtualbox-ext-pack
wget https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
chmod +x minikube-linux-amd64
sudo mv minikube-linux-amd64 /usr/local/bin/minikube
minikube version
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
sudo apt install curl
@DevSecOpsGuy
DevSecOpsGuy / minikube_ubuntu_installation.md
Created December 4, 2019 18:30 — forked from gonzaloplaza/minikube_ubuntu_installation.md
Minikube installation on Ubuntu 16.04 LTS

Minikube Installation on Ubuntu 16.04 LTS

Overview:

  1. Install hypervisor (Virtualbox)
  2. Get and install Kubectl (repositories)
  3. Get and install Minikube last version
  4. Start and Test Minikube local cluster and expose demo service

Install VirtualBox hypervisor

Introduction

  • C-a == Ctrl-a
  • M-a == Alt-a

General

:q        close
:w        write/saves
:wa[!]    write/save all windows [force]
:wq       write/save and close
@DevSecOpsGuy
DevSecOpsGuy / iptv.php
Created September 16, 2020 10:04 — forked from pirata23/iptv.php
test iptv
#EXTM3U
t.ami.ka.wil.kinso.n.tmp@gmail.com
Lauren Alexis
http://udq.me/get.php?username=tdnpV&password=Pz3te&type=m3u_plus&output=m3u8
http://envivo.win/telefe
#EXTINF:-1,Minha Mãe é Uma Peça 3
https://oyxed75613jvmcc.belugacdn.link/series/killingeve/leg/3/5.mp4
https://buxetaum.azureedge.net/filmes3/MNHAMAEEUMAPECA3.mp4
#EXTINF:-1,grols1
@DevSecOpsGuy
DevSecOpsGuy / BBC.m3u
Created September 16, 2020 10:06 — forked from random-robbie/BBC.m3u
BBC HLS Streams - let me know if i missed any
#EXTM3U
#EXTINF:-1 tvg-id="BBC One HD" tvg-name="BBC One HD" tvg-logo="https://s4.postimg.org/k5xl5dmf1/bbc_one.png" group-title="BBC",BBC One HD
http://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/hls/uk/abr_hdtv/ak/bbc_one_hd.m3u8
#EXTINF:-1 tvg-id="BBC One London" tvg-name="BBC One London" tvg-logo="https://s4.postimg.org/z61nj8qd9/Bbc_london_logo.jpg" group-title="BBC",BBC One London
http://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/hls/uk/hls_tablet/ak/bbc_one_london.m3u8
#EXTINF:-1 tvg-id="BBC One Northern Ireland HD" tvg-name="BBC One Northern Ireland HD" tvg-logo="https://s3.postimg.org/ltztuojqr/6y_QROLCn_400x400.png" group-title="BBC",BBC One Northern Ireland HD
http://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/hls/uk/abr_hdtv/ak/bbc_one_northern_ireland_hd.m3u8
#EXTINF:-1 tvg-id="BBC One Scotland HD" tvg-name="BBC One Scotland HD" tvg-logo="https://s3.postimg.org/ltztuojqr/6y_QROLCn_400x400.png" group-title="BBC",BBC One Scotland HD
http://a.fi
@DevSecOpsGuy
DevSecOpsGuy / makerepo.yaml
Created December 6, 2020 16:30 — forked from cecil/makerepo.yaml
ansible playbook to create a local yum http repo
---
- hosts: hou-dc-repo
tasks:
- name: confirm apache createrepo rsync installed
yum: name={{item}} state=installed
with_items:
- httpd
- createrepo
- rsync
- name: create dirs for centos6 and EPEL repo
Serial Keys:
FU512-2DG1H-M85QZ-U7Z5T-PY8ZD
CU3MA-2LG1N-48EGQ-9GNGZ-QG0UD
GV7N2-DQZ00-4897Y-27ZNX-NV0TD
YZ718-4REEQ-08DHQ-JNYQC-ZQRD0
GZ3N0-6CX0L-H80UP-FPM59-NKAD4
YY31H-6EYEJ-480VZ-VXXZC-QF2E0
ZG51K-25FE1-H81ZP-95XGT-WV2C0
VG30H-2AX11-H88FQ-CQXGZ-M6AY4
@DevSecOpsGuy
DevSecOpsGuy / ansible-reboot-and-wait.yaml
Created December 13, 2020 16:47 — forked from infernix/ansible-reboot-and-wait.yaml
Make Ansible reboot remote hosts and wait for them to return
---
- name: Reboot a host and wait for it to return
hosts: somehost
remote_user: root
tasks:
# Send the reboot command
- shell: shutdown -r now
# This pause is mandatory, otherwise the existing control connection gets reused!
- pause: seconds=30