Skip to content

Instantly share code, notes, and snippets.

View ivanpaulovich's full-sized avatar
🔀
#CleanArchitecture Manga 🍄

Ivan Paulovich ivanpaulovich

🔀
#CleanArchitecture Manga 🍄
View GitHub Profile
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active July 21, 2024 16:06
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@kevin-smets
kevin-smets / iterm2-solarized.md
Last active July 21, 2024 08:34
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

@garystafford
garystafford / helpful-docker-commands.sh
Last active July 1, 2024 06:57
My list of helpful docker commands
###############################################################################
# Helpful Docker commands and code snippets
###############################################################################
### CONTAINERS ###
docker stop $(docker ps -a -q) #stop ALL containers
docker rm -f $(docker ps -a -q) # remove ALL containers
docker rm -f $(sudo docker ps --before="container_id_here" -q) # can also filter
# exec into container
@epcim
epcim / update-ca-certificates.md
Last active March 6, 2024 10:38
trusted certificates system update-ca-certificates

Adding trusted root certificates to the server

Mac OS X

sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ~/new-root-certificate.crt
sudo security delete-certificate -c "<name of existing certificate>"

Windows

certutil -addstore -f "ROOT" new-root-certificate.crt

@brandon93s
brandon93s / vs_code_context_menus.reg
Created October 8, 2017 19:39
Add context menu options for Visual Studio Code installed via scoop
Windows Registry Editor Version 5.00
; Open files
[HKEY_CLASSES_ROOT\*\shell\Open with VS Code]
@="Edit with VS Code"
"Icon"="C:\\Users\\Brandon\\scoop\\apps\\vscode\\current\\Code.exe,0"
[HKEY_CLASSES_ROOT\*\shell\Open with VS Code\command]
@="\"C:\\Users\\Brandon\\scoop\\apps\\vscode\\current\\Code.exe\" \"%1\""
@mjackson
mjackson / travis.yml
Last active May 25, 2022 13:56
Travis CI + google-cloud-sdk + updated kubectl + Docker
# The Google Cloud SDK on Travis is pretty old (2014). So if
# you want to use an up-to-date version, you have to install
# your own. This config is the bare minimum you'll need to
# get an updated version of the SDK + kubectl.
cache:
directories:
# We cache the SDK so we don't have to download it again on subsequent builds.
- $HOME/google-cloud-sdk
services:
# Include the docker service so you can roll your own images.
@elix22
elix22 / sdl-metal-example.m
Created July 10, 2018 07:16 — forked from slime73/sdl-metal-example.m
SDL + Metal example
/**
* This software is in the public domain. Where that dedication is not recognized,
* you are granted a perpetual, irrevokable license to copy and modify this file
* as you see fit.
*
* Requires SDL 2.0.4.
* Devices that do not support Metal are not handled currently.
**/
#import <UIKit/UIKit.h>
@MaximRouiller
MaximRouiller / Program.cs
Last active March 27, 2024 22:45
GitHub API access with Personal Access Token using C# HttpClient and .NET Core
public class Program
{
public static void Main(string[] args)
{
Task.WaitAll(ExecuteAsync());
Console.ReadLine();
}
public static async Task ExecuteAsync()
{
@subnetmarco
subnetmarco / webinar.md
Last active October 18, 2021 15:14
These are the instruction executed on the Kong webinar demonstrating Kong + Ingress + Prometheus/Grafana + Zipkin/Jaeger

Start Kong

helm install stable/kong --name kong --namespace kong --values https://bit.ly/2RgSRio --version 0.9.0

To check status: watch -n 1 kubectl get pod -n kong

Expose Kong

Start Kong

helm install stable/kong --name kong --namespace kong --values https://bit.ly/2RgSRio --version 0.9.0

To check status: watch -n 1 kubectl get pod -n kong

Expose Kong