Skip to content

Instantly share code, notes, and snippets.

View anudeepmk's full-sized avatar

Anudeep Koliwad anudeepmk

View GitHub Profile

Screen Quick Reference

Basic

Description Command
Start a new session with session name screen -S <session_name>
List running sessions / screens screen -ls
Attach to a running session screen -x
Attach to a running session with name screen -r
@anudeepmk
anudeepmk / nginx-config-1.yaml
Created March 16, 2019 14:24 — forked from pleshakov/nginx-config-1.yaml
Demo files from NGINX Conf 2018 Using NGINX as a Kubernetes Ingress Controller talk
kind: ConfigMap
apiVersion: v1
metadata:
name: nginx-config
namespace: nginx-ingress
data:
worker-processes: "1"
log-format: '[$time_local] $remote_addr "$request" $status "$upstream_response_time"'
@anudeepmk
anudeepmk / setup-ip.yml
Created December 7, 2017 10:49 — forked from glennswest/setup-ip.yml
Ansible automatically create /etc/hosts file for all host - to give nice short names using dnsmasq
---
- hosts: all
tasks: []
- hosts: all
gather_facts: True
tasks:
- name: check connection
ping:
- name: setup
setup:
@anudeepmk
anudeepmk / install_jenkins_plugin.sh
Created October 16, 2017 16:20 — forked from micw/install_jenkins_plugin.sh
Script to install one or more jenkins plugins including dependencies while jenkins is offline
#!/bin/bash
set -e
if [ $# -eq 0 ]; then
echo "USAGE: $0 plugin1 plugin2 ..."
exit 1
fi
plugin_dir=/var/lib/jenkins/plugins
@anudeepmk
anudeepmk / links.md
Created July 1, 2017 10:37 — forked from g0t4/links.md
Starting Point Files for Jenkins2 Getting Started course