Skip to content

Instantly share code, notes, and snippets.

@sdebnath
sdebnath / genct.sh
Created July 11, 2015 23:50
generate cscope and tags for freebsd src
#!/bin/sh
# Copyright (c) 2015, Shawn Debnath. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this
# list of conditions and the following disclaimer.
#
@sdebnath
sdebnath / qsort.erl
Created March 15, 2015 22:38
Quicksort in Erlang
%%==============================================================================
%% Quicksort implementation in Erlang
%%
%% Author: Shawn Debnath
%%==============================================================================
%%----------------------------------------------------------------------
%% qsort_r/1
%%
%% Recursive quicksort
@sdebnath
sdebnath / keybindings.json
Last active December 4, 2023 19:57
VSCode Key Bindings
// Place your key bindings in this file to override the defaults
[
{
"key": "ctrl+q",
"command": "editor.action.peekDefinition",
"when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
},
{
"key": "alt+f12",
"command": "-editor.action.peekDefinition",