Skip to content

Instantly share code, notes, and snippets.

View konono's full-sized avatar
💫

kon0n0 konono

💫
  • Red Hat
  • Japan
View GitHub Profile
@fosterseth
fosterseth / awx_how_a_job_runs.md
Last active October 20, 2025 10:20
How a job runs
@sbailliez
sbailliez / vagrant-vmware-fusion-13-apple-m1-pro.md
Last active December 21, 2025 21:09
Vagrant and VMWare Fusion 13 on Apple M1 Pro

Vagrant and VMWare Fusion 13.6.x and 25H2 on Apple M1 Pro

This document summarizes notes taken to make VMWare Fusion 13 Player work on Apple M1 Pro. It builds upon a previous deprecated document.

VMWare Fusion 13 was released on November 17, 2022.

@ettingshausen
ettingshausen / convert.sh
Created November 27, 2019 12:21
How to convert mov to mp4 on macOS
brew install ffmpeg
ffmpeg -i /path/to/input/file /path/to/output.mp4
@wido
wido / mac2eui64.py
Created December 21, 2016 11:56
Python 3 48-bit MAC to EUI-64 IPv6
#!/usr/bin/env python3
import ipaddress
import re
def mac2eui64(mac, prefix=None):
'''
Convert a MAC address to a EUI64 address
or, with prefix provided, a full IPv6 address
'''
@summerwind
summerwind / wireshark_and_http2_over_tls.md
Last active August 17, 2024 00:50
Wireshark で HTTP/2 over TLS の通信をダンプする方法

HTTP/2 over TLS の通信をダンプする方法

全体の流れ

  • 環境変数 SSLKEYLOGFILE に TLS の鍵をダンプするファイルを指定します
  • ブラウザを起動します
  • Wireshark や tshark に環境変数 SSLKEYLOGFILE に指定したファイルを設定します
  • ブラウザで HTTP/2 通信をおこないます
  • Wireshark や tshark で通信のダンプ内容を確認します
@trusktr
trusktr / DefaultKeyBinding.dict
Last active March 12, 2026 00:19
My DefaultKeyBinding.dict for Mac OS X
/* ~/Library/KeyBindings/DefaultKeyBinding.Dict
This file remaps the key bindings of a single user on Mac OS X 10.5 to more
closely match default behavior on Windows systems. This makes the Command key
behave like Windows Control key. To use Control instead of Command, either swap
Control and Command in Apple->System Preferences->Keyboard->Modifier Keys...
or replace @ with ^ in this file.
Here is a rough cheatsheet for syntax.
Key Modifiers
@dims
dims / gist:59be0c075f29e7ec26a8
Created June 2, 2014 12:03
Expect script for logging into VPN using Anyconnect client (works on osx and linux)
#!/usr/bin/expect
set timeout 20
spawn "/opt/cisco/anyconnect/bin/vpn"
expect "VPN>" { send "connect server.ip.address.or.hostname\r" }
expect "*sername*" { send "MY_USERID\r" }
expect "*assword*" { send "MY_PASSWORD\r" }
expect "state: Connected" { send "exit\r" }
@p120ph37
p120ph37 / vpn.expect
Last active December 19, 2021 23:08
Expect script to connect to an AnyConnect VPN server on OSX using only oathtool and openconnect (not the Cisco AnyConnect client)
!/usr/bin/expect -f
set timeout 30
log_user 0
puts stderr "Generating OTP"
spawn oathtool --totp YOUR_SECRET_KEY_HERE
expect -re \\d+
set otp $expect_out(0,string)
puts stderr "Connecting to VPN server $server"