Skip to content

Instantly share code, notes, and snippets.

View beyonddream's full-sized avatar
🎯
Focusing

Arun beyonddream

🎯
Focusing
View GitHub Profile
@beyonddream
beyonddream / software_whitepapers_for_implementation.md
Last active January 2, 2024 23:16
good software-engineering papers to implement

Overview

Over a period of time, I started collecting technical papers that I would, given time and energy, like to implement an open source version of it. I use this to collect some such papers with the status of implementation for each. These papers have only one constraint and that is they should be simplistic enough to be able to implement within < 5000 LOC. I have also captured whether a paper has been implemented or not and if yes then in which language.

Papers

Papers Implemented ? Language Repo
Automatic Keyword Extraction from Individual Documents by Rose et.al. Yes Java https://github.com/beyonddream/JRAKE
@beyonddream
beyonddream / easyperf_book_index.md
Last active October 24, 2023 06:35
Index for the book Performance Analysis and Tuning on Modern CPU's

Index for Book Version 1

  • bypassing - p42
  • register renaming - p42
  • dynamic branch prediction and speculative execution - p44, p46
  • retired instruction - p44
  • issue width - p45
  • VLIW - p46
  • SMT (Hyper threading) - p48
  • virtual memory - p54
@beyonddream
beyonddream / binary_search.py
Last active November 16, 2022 05:42
binary search in python
#!/usr/bin/env python3
from typing import List
def binary_search(arr: List[int], target: int) -> int:
"""
>>> arr = [3, 6, 12, 18]
>>> target = 12
>>> binary_search(arr, target)
"""
@beyonddream
beyonddream / bulk_move_forks.py
Last active June 26, 2022 04:40
Bulk move forks from one owner to another owner under a given user account
#!/usr/bin/env python3
# Tested with python 3.8.5
# Dependency:
#
# pip install PyGithub
#
# Usage:
#
# chmod +x bulk_move_forks.py
@beyonddream
beyonddream / py_virtual_env.md
Last active October 19, 2023 04:39
create a python virtual env
@beyonddream
beyonddream / clipboard
Created February 14, 2021 03:58
clipboard (macos/linux)
macos - pbcopy
linux - xclip -selection clipboard
@beyonddream
beyonddream / change_author_info.md
Last active July 29, 2020 06:15
change author info on already existing commits
@beyonddream
beyonddream / custom_vim.sh
Last active June 6, 2019 06:12
custom vim installation (Ubuntu 16)
# needed below dependencies to be installed (cmake, libcurses)
sudo apt-get install cmake libncurses5-dev libncursesw5-dev
# from https://github.com/Valloric/YouCompleteMe/wiki/Building-Vim-from-source
# make
git clone https://github.com/vim/vim.git
cd vim
./configure --with-features=huge \
--enable-multibyte \
@beyonddream
beyonddream / py_coding_tips.md
Last active July 4, 2023 19:02
Python Coding cheat sheet

Python Coding Tips for intermediate programmers

Note: Most of the example codes are adapted from the excellent 'Learning Python' by Fabrizio Romano

Python code style

Refer to PEP8 - https://www.python.org/dev/peps/pep-0008/