Skip to content

Instantly share code, notes, and snippets.

@koushik2506
koushik2506 / gist:588201da6065c5c30bcfc7802b0ea787
Last active June 19, 2018 11:27
Git to SVN migration with History
svn mkdir <directory>
cd <directory>
svn commit -m "Adding directory"
git clone ssh://<git-repo>/proj
vi proj/.git/config
[svn-remote "svn"]
url = https://svn-location
fetch = :refs/remotes/git-svn
git svn fetch svn
git checkout -b svn git-svn
curl 'http://portal.actcorp.in/web/blr/home/-/act/login' -H 'Content-Type: application/x-www-form-urlencoded' --data 'userIP=<IP>&_login_WAR_BeamPromotionalNDownloadsportlet_uname=<user>&pword=<pw>
@koushik2506
koushik2506 / gist:054596826371e62d2945926a791a3f0c
Created April 4, 2018 08:59
Convert base64 OCTETSTRING ldap data to LDAP filter format
echo -n "OSMCDMCoOGc="|base64 -d|xxd -g1|cut -f2 -d:|sed -re "s/\ {2,}/#/g"|cut -f1 -d#|tr ' ' '\\'
@koushik2506
koushik2506 / keybase.md
Last active June 1, 2022 06:22
Key base verification

Keybase proof

I hereby claim:

  • I am koushik2506 on github.
  • I am koushik (https://keybase.io/koushik) on keybase.
  • I have a public key ASCwf7dDtsoLAv6bzAZZpOvqtJ0fwVHP1qNapig07scjvwo

To claim this, I am signing this object:

{error_logger,{{2009,6,15},{1,1,34}},"~s~n",["beam/beam_load.c(1733): Error loading function global:check_sync_nodes/0: op test_heap a u:\n no specific operation found\n"]}
{error_logger,{{2009,6,15},{1,1,34}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,{'EXIT',{undef,[{global,start_link,[]},{supervisor,do_start_child,2},{supervisor,start_children,3},{supervisor,init_children,2},{gen_server,init_it,6},{proc_lib,init_p,5}]}}},{offender,[{pid,undefined},{name,global_name_server},{mfa,{global,start_link,[]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}
{error_logger,{{2009,6,15},{1,1,34}},crash_report,[[{pid,<0.7.0>},{registered_name,[]},{error_info,{exit,{shutdown,{kernel,start,[normal,[]]}},[{application_master,init,4},{proc_lib,init_p,5}]}},{initial_call,{application_master,init,[<0.5.0>,<0.6.0>,{appl_data,kernel,[application_controller,erl_reply,auth,boot_server,code_server,disk_log_server,disk_log_sup,erl_prim_loader,error_logger,file_server_2,f