Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Ankit Goyal goyalankit

🏠
Working from home
View GitHub Profile
View assembly
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
View je_example_steps.md
#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
View c
#!/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 Aug 29, 2015
Results using the macpo compiler. Trace comparison.
View results.md
simple loop with single variable being written + vectorization.
for(i=0; i<n; i++){
  c[i] = a[i] + b[i]
}
View opt-report-results.md

Notes:

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

Case 1

View test.js
{
TexasAustin: {
address: {
City: "Austin"
Pincode: 12345
},
details: {
Strength: 250
Project: 20
}
View .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>
View reload.html
<script>document.write('<script src="http://' + (location.host || 'localhost').split(':')[0] + ':35729/livereload.js?snipver=1"></' + 'script>')</script>
View keybase.md

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:

View error.log
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