Skip to content

Instantly share code, notes, and snippets.

View K0HAX's full-sized avatar

Michael Englehorn K0HAX

View GitHub Profile
Hello Github! What's going on in this thread?
@K0HAX
K0HAX / Japanese style
Created June 2, 2011 10:15 — forked from endolith/Has weird right-to-left characters.txt
Unicode smileys emoticons
⨀_⨀
⨂_⨂
(/◔ ◡ ◔)/
°ﺑ°
(¬_¬)
(´・ω・`)
(ʘ_ʘ)
(ʘ‿ʘ)
(๏̯͡๏ )
(◕_◕)
@K0HAX
K0HAX / .vimrc
Created September 25, 2014 18:43
set nocompatible
filetype off
set rtp+=~/.vim/bundle/vundle/
call vundle#begin()
Bundle 'gmarik/vundle'
Bundle 'tpope/vim-pathogen'
Bundle 'tpope/vim-rails'
source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.2.0'
# Use sqlite3 as the database for Active Record
gem 'sqlite3'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby
"1.1
loadplugins '\.(js|penta)$'
group user
command! -nargs=+ go open <args>
map -count -modes=n <C-F1> <count>:set<Space>guioptions!=m<Return>
map -count -modes=n,v <Return> <count>:noh<Return>
map -count -modes=n,v go <count>:open<Space>
map -count -modes=n,v gq <count>:q<Return>
map -count -modes=n,v gt <count>:tabopen<Space>
ּ_בּ
בּ_בּ
טּ_טּ
כּ‗כּ
לּ_לּ
מּ_מּ
סּ_סּ
תּ_תּ
٩(×̯×)۶
٩(̾●̮̮̃̾•̃̾)۶
@K0HAX
K0HAX / keybase.md
Last active February 22, 2023 19:22

Keybase proof

I hereby claim:

  • I am k0hax on github.
  • I am k0hax (https://keybase.io/k0hax) on keybase.
  • I have a public key ASDSbAE7ZpZqyLX4bu0KFzJZRvl91Bavz4jsu0q2GQwnigo

To claim this, I am signing this object:

@K0HAX
K0HAX / M-s s
Created September 16, 2016 14:56
(defun ssh-to-host (x)
"Ask for host."
(interactive "sHost: ")
(let* ((buffer-name (format "*SSH %s*" x))
(buffer (get-buffer buffer-name)))
(if buffer
(switch-to-buffer buffer)
(multi-term)
(term-send-string
(get-buffer-process (rename-buffer buffer-name))
;; Licensed under the terms of the GNU General Public Agreement
;; Version 2.0 or later
;; This work is derived from the gnus-article-html function in
;; gnus-html.el originally authored by Lars Magne Ingebrigtsen <larsi@gnus.org>
(require 'xwidget)
(defun xw-gnus-article-html (&optional handle)
(let ((article-buffer (current-buffer)))
(unless handle