Skip to content

Instantly share code, notes, and snippets.

View TrongTan124's full-sized avatar

Nguyễn Trọng Tấn TrongTan124

  • VNPT-IT
  • Hà Nội, Việt Nam
View GitHub Profile
@TrongTan124
TrongTan124 / it-ebooks.md
Created June 23, 2020 08:12 — forked from baiwfg2/it-ebooks.md
Download ebooks as you want
Byobu is a suite of enhancements to tmux, as a command line
tool providing live system status, dynamic window management,
and some convenient keybindings:
F1 * Used by X11 *
Shift-F1 Display this help
F2 Create a new window
Shift-F2 Create a horizontal split
Ctrl-F2 Create a vertical split
Ctrl-Shift-F2 Create a new session
@TrongTan124
TrongTan124 / byobuCommands
Created July 10, 2017 09:29 — forked from jshaw/byobuCommands
Byobu Commands
Byobu Commands
==============
byobu Screen manager
Level 0 Commands (Quick Start)
------------------------------
<F2> Create a new window
@TrongTan124
TrongTan124 / mos-websso.rst
Created May 24, 2017 09:00 — forked from bretonium/mos-websso.rst
How to configure Mirantis OpenStack for WebSSO via Okta
  • To use openstack cli you need to switch it to using v3 API. Do this:
    1. cp openrc openrc.v3
    2. edit openrc.v3 and
      • add there this line: export OS_IDENTITY_API_VERSION=3
      • change OS_AUTH_URL to point to v3.
  • Create an identity provider

    openstack identity provider create idp_1 # idp_1 is an id. Use any you like. I like idp_1

@TrongTan124
TrongTan124 / slackpost
Created May 5, 2017 02:53 — forked from dopiaza/slackpost
Post a message to a Slack channel
#!/bin/bash
# Usage: slackpost <token> <channel> <message>
# Enter the name of your slack host here - the thing that appears in your URL:
# https://slackhost.slack.com/
slackhost=PUT_YOUR_HOST_HERE
token=$1
@TrongTan124
TrongTan124 / elasticsearch.yml
Created April 27, 2017 04:18 — forked from reyjrar/elasticsearch.yml
ElasticSearch config for a write-heavy cluster
##################################################################
# /etc/elasticsearch/elasticsearch.yml
#
# Base configuration for a write heavy cluster
#
# Cluster / Node Basics
cluster.name: logng
# Node can have abritrary attributes we can use for routing