Skip to content

Instantly share code, notes, and snippets.

View sruslanas's full-sized avatar
🎯
Focusing

Ruslanas Sobolevas sruslanas

🎯
Focusing
View GitHub Profile
@stewartmcgown
stewartmcgown / takeout-discovery.json
Last active March 20, 2024 20:34
Google Takeout API
{
"title": "Takeout API",
"discoveryVersion": "v1",
"ownerName": "Google",
"version_module": true,
"resources": {
"exports": {
"methods": {
"get": {
"flatPath": "v2/{service}/exports/{exportId}",
@fredrike
fredrike / __note.md
Last active September 22, 2021 14:16
hass.io on Synology
@hitman99
hitman99 / k8s_alias.sh
Last active November 9, 2022 12:54
kubernetes aliases
## Autoexport kubernetes configs
KUBECONFIG=""
for config in $(ls ~/.kube/*.yaml); do
if [[ ! -z $KUBECONFIG ]]; then
KUBECONFIG=$KUBECONFIG:$config
else
KUBECONFIG=$config
fi
done

FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.


Effective Engineer - Notes

What's an Effective Engineer?

@leonardofed
leonardofed / README.md
Last active April 24, 2024 01:47
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.


/*
* ****************************************************************************
* Copyright VMware, Inc. 2010-2016. All Rights Reserved.
* ****************************************************************************
*
* This software is made available for use under the terms of the BSD
* 3-Clause license:
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@orlando
orlando / mac-setup.md
Last active January 27, 2024 21:18 — forked from todc/mac-setup.md
Fresh Mac OS Setup

1. Run Software Update

Make sure everything is up to date in the App Store

2. Install Homebrew

  1. Open a terminal window and execute the Homebrew install script:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
@jage
jage / check_zookeeper.sh
Last active January 7, 2018 14:11
Consul (Nagios) compatible script to check ZooKeeper node
#!/bin/sh
test "$(echo ruok | nc 127.0.0.1 2181)" = "imok" || $(exit 2)
@jirutka
jirutka / -README.md
Last active October 31, 2023 09:07
How to use terminal on Windows and don’t go crazy…

How to use terminal on Windows without going crazy…

Windows is really horrible system for developers and especially for devops. It doesn’t even have a usable terminal and shell, so working with command line is really pain in the ass. If you really don’t want to switch to any usable system (OS X, Linux, BSD…), then this guide should help you to setup somewhat reasonable environment – usable terminal, proper shell, ssh client, git and Sublime Text as a default editor for shell.

Install stuff

  1. Download and install Git for Windows* with:
    • [✘] Use Git from the Windows Command Prompt
  • [✘] Checkout as-is, commit Unix-style line endings

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: