Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Bhupen Singh bsingh

🎯
Focusing
View GitHub Profile
View line_mgr.erl
-behaviour(gen_server).
-export([init/1, handle_call/3, handle_cast/2, handle_info/2, terminate/2, code_change/3]).
-export([start/0, start_link/0, get_line/0, get_line/1, free_line/1, dump/0, get_lines_info/0]).
-export([get_local_fs_node/0, get_fs_node/0]).
-include("records.hrl").
-record(data, {
total_lines :: integer(), % Represents total lines
used_lines :: integer(), % Represents used lines; for tracking purpose only
View keybase.md

Keybase proof

I hereby claim:

  • I am bsingh on github.
  • I am bsingh (https://keybase.io/bsingh) on keybase.
  • I have a public key ASDjzfwCYoXdjSgNJ0nRub83s7cZtqjwklhej0wEgR92Tgo

To claim this, I am signing this object: