Skip to content

Instantly share code, notes, and snippets.

View rahuldeo2047's full-sized avatar
🎯
Focusing

Rahul rahuldeo2047

🎯
Focusing
View GitHub Profile
@rahuldeo2047
rahuldeo2047 / board.h
Created October 18, 2017 18:45
Files for special untracked changes
// This file should be pasted in
// /home/<user>/.platformio/packages/framework-simba/src/boards/esp12e
/**
* @section License
*
* The MIT License (MIT)
*
* Copyright (c) 2014-2017, Erik Moqvist
*
* Permission is hereby granted, free of charge, to any person
@rahuldeo2047
rahuldeo2047 / short form dir name prompt
Last active October 14, 2017 12:50
ubuntu short form dir name prompt
if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
else
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi
#https://askubuntu.com/questions/145618/how-can-i-shorten-my-command-line-bash-prompt
@rahuldeo2047
rahuldeo2047 / concatinateSmallVideos.bash
Created September 17, 2017 12:45
download audio and images from web and create youtube downloadable videos
#!/bin/bash
basePath="/home/rahuldeo/Downloads/AudioArchive/Gita/Hindi/"
#/home/rahuldeo/Downloads/AudioArchive/Gita/Hindi/"
array_verse=(39 71 43 42 27 42 30 28 34 40 52 16 29 24 19 19 24 74)
#array_chapter=(1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18)
array_title=("Doha" "Transliteration" "Anvaya" "Translation")