Skip to content

Instantly share code, notes, and snippets.

View goyalankit's full-sized avatar
🏠
Working from home

Ankit Goyal goyalankit

🏠
Working from home
View GitHub Profile
simple.o: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <main>:
0: 55 push %rbp
1: 48 89 e5 mov %rsp,%rbp
4: 48 83 e4 80 and $0xffffffffffffff80,%rsp
8: 48 81 ec 80 00 00 00 sub $0x80,%rsp
#Berkley db env variables
export JE_HOME=/Users/ankit/UT/sem2/database-systems/je-5.0.103
export CLASSPATH=$JE_HOME/lib/je-5.0.103.jar:$JE_HOME/examples

#compile
javac je/gettingStarted/*.java

#make the env directory
mkdir gsgEnv
@goyalankit
goyalankit / c
Created February 11, 2014 07:58
#!/usr/bin/env sh
VBM=VBoxManage
VMID=8f8d7a7e-7aba-466f-a28f-3cf87100a58e
start(){
$VBM startvm $VMID --type headless
}
stop() {
@goyalankit
goyalankit / results.md
Last active August 29, 2015 13:57
Results using the macpo compiler. Trace comparison.
simple loop with single variable being written + vectorization.
for(i=0; i<n; i++){
  c[i] = a[i] + b[i]
}

Notes:

All optimization reports were obtained using `icc -opt-report 3` 
with the default optimization level(2).

Case 1

{
TexasAustin: {
address: {
City: "Austin"
Pincode: 12345
},
details: {
Strength: 250
Project: 20
}
@goyalankit
goyalankit / .vimrc
Created July 3, 2014 19:42
Latest vimrc
" use pathogen to take care of vim plugins
execute pathogen#infect()
syntax on
filetype plugin indent on
" i like the solarized theme
color solarized
" map <\>n to nerdtree
map <Leader>n :NERDTreeToggle<CR>
<script>document.write('<script src="http://' + (location.host || 'localhost').split(':')[0] + ':35729/livereload.js?snipver=1"></' + 'script>')</script>

Keybase proof

I hereby claim:

  • I am goyalankit on github.
  • I am goyalankit (https://keybase.io/goyalankit) on keybase.
  • I have a public key whose fingerprint is BECF 8CAF 4DD5 71C4 764B 8971 7F70 AF04 3123 0FD0

To claim this, I am signing this object:

init: plymouth main process (80) killed by SEGV signal
init: plymouth-splash main process (312) terminated with status 2
mountall: Plymouth command failed
mountall: Plymouth command failed
mountall: Plymouth command failed
mountall: Plymouth command failed
mountall: Disconnected from Plymouth
init: plymouth-log main process (323) terminated with status 1