Skip to content

Instantly share code, notes, and snippets.

Azilet Beishenaliev bazi

View GitHub Profile
View vimrc
" settings for vim
" 2016-20xx, Azilet
" set tab width and replace it with spaces
set tabstop=4
set shiftwidth=4
set expandtab
set nu
set ruler " not set on macos
bazi / bash_aliases.bash
Last active Sep 18, 2019
Configuration files
View bash_aliases.bash
# some more ls aliases
alias ll='ls -lGF'
alias la='ls -AG'
# commented out in preference to using GREP_OPTIONS
#alias grep='grep --color=auto'
#alias fgrep='fgrep --color=auto'
#alias egrep='egrep --color=auto'
bazi /
Last active Jun 30, 2016
Generating certificates and keys for SSL to used in Jetty

Generate key pair, pass phrase will be asked

openssl genrsa -aes128 -out jetty.key

Generate a certificate for the key generated above (you should know the pass phrase for the key). You will be asked to enter some info about you/your org to build a Distinguished Name (DN). The only mandatory response to provide is the fully qualified host name of the server at the "Common Name". Note that i used -days 365 option to make certificate valid for one year, change as needed

bazi / java.gitignore
Last active Oct 21, 2019
gitignore file for java projects
View java.gitignore
# virtual machine crash logs, see
# jetbrains related ignores
bazi /
Last active Mar 18, 2017
Disable key binding in Ubuntu (Unity)
# to disable default key bindings, here Alt+F7(move window) and Alt+F8(resize window)
gsettings set org.gnome.desktop.wm.keybindings begin-resize []
gsettings set org.gnome.desktop.wm.keybindings begin-move []
# to revert
gsettings reset org.gnome.desktop.wm.keybindings begin-move
gsettings reset org.gnome.desktop.wm.keybindings begin-resize
bazi /
Last active Jun 16, 2016
Keybase proof

Keybase proof

I hereby claim:

  • I am bazi on github.
  • I am azilet ( on keybase.
  • I have a public key whose fingerprint is 791F 1BDC 9C50 54D2 CED1 5D72 2515 193D E2DB 58B4

To claim this, I am signing this object:

bazi / MultipartSignedTemplateEngine
Created Mar 26, 2015
A try to implement MIME multipart/signed content type generator aka template engine in Ninja framework
View MultipartSignedTemplateEngine
package controllers.helper;
import java.util.Base64;
import java.util.UUID;
bazi / first
Created Jan 19, 2015
Some gist
View first
Hello Gist World!
You can’t perform that action at this time.