Skip to content

Instantly share code, notes, and snippets.

☁️

kcaabishkar avidit

☁️
Block or report user

Report or block avidit

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View aeotec_z_stick_disco_light.sh
# Aeotec Z-Stick Disco Light
# disable disco light
echo -e -n "\x01\x08\x00\xF2\x51\x01\x01\x05\x01\x50" > /dev/serial/by-id/usb-0658_0200-if00
# enable disco light
echo -e -n "\x01\x08\x00\xF2\x51\x01\x00\x05\x01\x51" > /dev/serial/by-id/usb-0658_0200-if00
View bash_prompt.sh
function bash_prompt {
# color
GREEN='\[\e[0;32m\]'
BLUE='\[\e[0;34m\]'
RESET='\[\e[0m\]'
# working dir
PROMPT="\W"
View keybase.md

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

View happy_birthday.groovy
name = "YOUR_NAME_HERE"
(1..4).collect{"Happy Birthday " + ((it == 3)? "dear $name": 'to You')}.each{println it}
You can’t perform that action at this time.