Skip to content

Instantly share code, notes, and snippets.


Serge Rybalchenko fisher

  • Kyiv, Ukraine
Block or report user

Report or block fisher

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
fisher / apns-pem
Created Nov 16, 2017 — forked from fahied/apns-pem
Create pem file for apple push notifications
View apns-pem
Development Phase:
Step 1: Create Certificate .pem from Certificate .p12
Command: openssl pkcs12 -clcerts -nokeys -out apns-dev-cert.pem -in apns-dev-cert.p12
Step 2: Create Key .pem from Key .p12
Command : openssl pkcs12 -nocerts -out apns-dev-key.pem -in apns-dev-key.p12
Step 3: Optional (If you want to remove pass phrase asked in second step)
Command : openssl rsa -in apns-dev-key.pem -out apns-dev-key-noenc.pem
fisher /
Created Feb 26, 2016
script to run VM with custom networking
NAME=`basename -s .sh $0`
MAC="52:54:00:`echo $NAME |md5sum |perl -ne 's/^(..)(..)(..).*$/$1:$2:$3/; print $_'`"
OPTS="-enable-kvm -no-fd-bootchk -name ${NAME} -smp 8,cores=4,sockets=2 -m 1024"
NET="-net nic, macaddr=${MAC},vlan=3 -net tap,vlan=3,ifname=${IFNAME},script=no"
fisher / gist:04d6966491748efa5ad3
Last active Dec 5, 2015
emacs cursor change in insert/overwrite modes
View gist:04d6966491748efa5ad3
;; vertical bar cursor by default
(set-default 'cursor-type 'bar)
;; don't stop blinking at all
(setq blink-cursor-blinks 0)
;; override insert key to change cursor in overwrite mode
(defvar cursor-mode-status 0)
(global-set-key (kbd "<insert>")
(lambda () (interactive)
You can’t perform that action at this time.