Skip to content

Instantly share code, notes, and snippets.

View arnabanimesh's full-sized avatar

Arnab Animesh Das arnabanimesh

View GitHub Profile
@arnabanimesh
arnabanimesh / README.md
Created August 26, 2020 11:49
Cargo tasks in vscode

Source Repository

VS Code Configuration

Example configuration for debugging programs in-editor with VS Code.

Required Extensions

If you have the code command in your path, you can run the following commands to install the necessary extensions.

@arnabanimesh
arnabanimesh / tabular.tex
Last active August 3, 2020 22:09
Latex table using tabular
\documentclass[11pt]{article}
\usepackage[screen]{geometry}
\usepackage{titlesec}
\usepackage[dvipsnames,table]{xcolor}
\usepackage{array}
\newcolumntype{x}{>{\global\let\currentrowstyle\relax}}
\newcolumntype{^}{>{\currentrowstyle}}
\newcommand{\rowstyle}[1]{\gdef\currentrowstyle{#1}%
#1\ignorespaces
}
@arnabanimesh
arnabanimesh / birthday.py
Created June 26, 2020 19:26
Happy Birthday in python3
from time import sleep as z
def happy_birthday(name):
p, h = [print, 'Happy Birthday to']
d = (h, 'you')
happy = [d, d, (h, name.title()+"!"), d]
[p(' '.join(s)) or z(1) for s in happy]
p('Hip Hip Hooray\n' * 3)