Skip to content

Instantly share code, notes, and snippets.

Avatar

Arnab Animesh Das arnabanimesh

  • Student
  • Haldia
View GitHub Profile
@arnabanimesh
arnabanimesh / player.bat
Created Nov 22, 2020
Side by side audioless video player
View player.bat
@ECHO OFF
where /q ffplay
IF ERRORLEVEL 1 (
ECHO ffplay.exe not found.
ECHO Download ffmpeg from https://ffmpeg.org and add the ffplay executable to the PATH
PAUSE
) ELSE (
ECHO Side by side audioless video player
ECHO.
ECHO Enter the names with extension. e.g.: sample video.mp4
@arnabanimesh
arnabanimesh / settings.json
Last active Nov 20, 2020
Windows Terminal Settings
View settings.json
// This file was initially generated by Windows Terminal 1.3.2651.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
@arnabanimesh
arnabanimesh / README.md
Created Aug 26, 2020
Cargo tasks in vscode
View README.md

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 Aug 3, 2020
Latex table using tabular
View tabular.tex
\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 Jun 26, 2020
Happy Birthday in python3
View birthday.py
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)
You can’t perform that action at this time.