Skip to content

Instantly share code, notes, and snippets.

View Using Minikube Locally for Development.MD

Install Minikube with virtual-box VM driver

$ brew update && brew install kubectl && brew cask install docker minikube virtualbox
$ brew cask reinstall minikube
$ minikube delete
$ rm -fr ~/.minikube/
itbj /
Created Oct 29, 2020 — forked from dexterlabora/
Meraki Webooks Demo with Google Sheets
Copy this function over the existing file in a Google Sheet
Save the Sheet/Script
Publish App
- Execute as You
- Avaiable to Anyone (including anonymous)
Authorize App when prompted
The URL will act as the Webhook URL for Meraki to send alerts
itbj / gist:28235d880291afd9ed61bc1234677d03
Created Jul 27, 2020 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup
View gist:28235d880291afd9ed61bc1234677d03


:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
itbj / Dockerfile
Created Feb 1, 2020 — forked from MichalZalecki/Dockerfile
Install oh-my-zsh in Docker
View Dockerfile
RUN ["apt-get", "update"]
RUN ["apt-get", "install", "-y", "zsh"]
RUN wget -O - | zsh || true
# docker exec -it my-app-container /bin/zsh
itbj / gist:190600e0f50875db3d1018ad5ea996ff
Created Nov 20, 2019 — forked from privateip/gist:d0fd3c6459c5e1a4c1f9dceeb018b109
playbook to backup network device running configuration to local file
View gist:190600e0f50875db3d1018ad5ea996ff
- hosts: ios
connection: local
backup_root: /tmp/backups
host: "{{ inventory_hostname }}"
username: cisco
itbj / EEM Config-change-alert
Created Jul 3, 2019 — forked from twr14152/EEM Config-change-alert
EEM Cisco - config change Alert - with email and syslog capturing user name and config commands
View EEM Config-change-alert
log config
logging enable
notify syslog contenttype plaintext
event manager applet Config_Change authorization bypass
event config
action 1.1 cli command "enable"
itbj / Setup Pivot Table
Created Jun 14, 2019 — forked from stevehenderson/Setup Pivot Table
VBA code to initialize a PivotTable
View Setup Pivot Table
'SetupPivot: The following subroutine sets up a pivot table
' author:
'I received assitance from the following site:
View Python Socket 编程详细介绍.md

Python Socket 编程详细介绍

Python 提供了两个基本的 socket 模块:

  • Socket 它提供了标准的BSD Socket API。
  • SocketServer 它提供了服务器重心,可以简化网络服务器的开发。

下面讲解下 Socket模块功能。

Socket 类型

View script 21.txt
-- user input - mode
set mode to 2 -- (2 or 3 or 4) if mode is 2, pic1 and pic2 will be used | if mode is 3, pic1,pic2 and pic3 will be used.
-- user input - pics
set pic1 to ""
set pic2 to ""
set pic3 to ""
set pic4 to ""
-- end of user input
if mode is greater than or equal to 2 then
if mode is not greater than 4 then
itbj /
Created May 8, 2017 — forked from maxivak/
Vagrant with Ubuntu 16.04 in VirtualBox

Setup Ubuntu 16.04 to be used with Vagrant and Virtualbox

Prepare Vagrant box with Ubuntu 16.04

We will use official box "ubuntu/xenial64" and modify it to work with Vagrant.

  • Vagrantfile