Skip to content

Instantly share code, notes, and snippets.

View al-maisan's full-sized avatar

Muharem Hrnjadovic al-maisan

View GitHub Profile
This is an OpenPGP proof that connects my OpenPGP key to this Github account. For details check out https://docs.keyoxide.org/advanced/openpgp-proofs/
[Verifying my OpenPGP key: openpgp4fpr:753B6ECF2B458FF3D19D568C1E0A288397AE739E]
" A sensible vimrc for Go development
"
" Please note that the following settings are some default that I used
" for years. However it might be not the case for you (and your
" environment). I highly encourage to change/adapt the vimrc to your own
" needs. Think of a vimrc as a garden that needs to be maintained and fostered
" throughout years. Keep it clean and useful - Fatih Arslan
call plug#begin()
Plug 'fatih/vim-go'
liam_i0() {
mysql --protocol=tcp -h localhost -P 13306 -u liamu -pliamu liam -e "UPDATE users SET status='created', acode='SIBEX rockz\!\!' WHERE email='admin@sibex.io'"
}
liam_i1() {
curl -v -F 'acode=SIBEX rockz!!' -F "email=admin@sibex.io" http://localhost:3340/liam/v1/users/activate | jq
}
liam_usrs() {
curl -b /tmp/cookies -v -G http://localhost:3340/liam/v1/users -H "accept: application/json" | jq
@al-maisan
al-maisan / alias.sh
Last active June 28, 2018 15:54
bash function to edit files with a time stamp
vdt() {
fname=${1:-gist.txt}
bname=`basename $fname`
ext=${bname#*.}
pfix=${fname%%.*}
gvim "${pfix}-`date +'%Y-%m-%d_%H-%M'`.${ext}"
}
Verifying that "al_maisan.id" is my Blockstack ID. https://explorer.blockstack.org/name/al_maisan.id

Keybase proof

I hereby claim:

  • I am al-maisan on github.
  • I am al_maisan (https://keybase.io/al_maisan) on keybase.
  • I have a public key whose fingerprint is 753B 6ECF 2B45 8FF3 D19D 568C 1E0A 2883 97AE 739E

To claim this, I am signing this object:

Verifying that +al_maisan is my blockchain ID. https://onename.com/al_maisan
### Keybase proof
I hereby claim:
* I am al-maisan on github.
* I am muharem (https://keybase.io/muharem) on keybase.
* I have a public key whose fingerprint is A5A3 CC67 2B87 D641 103F 5602 219F 6B60 B2BB FCFC
To claim this, I am signing this object:
@al-maisan
al-maisan / jobspec
Created April 14, 2013 01:08
Python dev job spec
Rackspace is looking for full time Python developers in (Eastern)
European locations to work remotely on interesting and challenging
OpenStack projects.
We are looking for candidates with:
- a bachelor's degree in computer science or a couple of years of
relevant experience in software engineering
- knowledge of (and ideally experience with) Python
- good working knowledge of or experience with git
@al-maisan
al-maisan / gist:866412
Created March 11, 2011 19:22
Python and messaging
Messaging is a well established domain in information technology and can
greatly improve the scalability and throughput of a system when employed
appropriately. Message queues can be used to achieve
- spatial decoupling i.e. the systems that produce and consume
messages may be deployed on different machines, networks,
continents etc.
- temporal decoupling i.e. a system can enqueue a message and
carry on without waiting for the message consumer.