Skip to content

Instantly share code, notes, and snippets.

View danielmacuare's full-sized avatar

Daniel Macuare danielmacuare

View GitHub Profile
@sdondley
sdondley / tmux split-window subcommand.md
Last active November 16, 2024 20:52
Super Guide to the split-window tmux Subcommand (and Beyond)

Super Guide to the split-window tmux Subcommand (and Beyond)

Guide overview

tmux, like other great software, is deceptive. On the one hand, it's fairly easy to get set up and start using right away. On the other hand, it's difficult to take advantage of tmux's adanced features without spending some quality alone time with the manual. But the problem with manuals is that they aren't geared toward beginners. They are geared toward helping seasoned developers and computer enthusiasts quickly obtain the

@dhgouveia2
dhgouveia2 / Vagrantfile
Last active March 27, 2024 18:41
Kube 3cluster lab - vmware_desktop provider
Vagrant.configure("2") do |config|
#VM settings
config.vm.provider "vmware_desktop" do |v|
v.vmx["memsize"] = "2048"
v.vmx["numvcpus"] = "2"
end
config.vm.box = "bento/ubuntu-22.04"
@cl4u2
cl4u2 / phpipamapitest.py
Created May 7, 2017 15:29
PHPIPAM API usage basic example in Python
import requests
import json
server = "https://ipam.ninux.org"
appid = "appid"
username = "username"
password = "password"
baseurl = server + "/api/" + appid
@hayd
hayd / sns-to-slack.py
Created May 5, 2016 06:47
sns to slack aws lambda python
#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
Follow these steps to configure the webhook in Slack:
1. Navigate to https://<your-team-domain>.slack.com/services/new
2. Search for and select "Incoming WebHooks".