Skip to content

Instantly share code, notes, and snippets.

👨‍🎓
Feeding my cravings of Open Source Contribution

Animesh Srivastava animeshsrivastava24

👨‍🎓
Feeding my cravings of Open Source Contribution
Block or report user

Report or block animeshsrivastava24

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 I-love-Mender.txt
Created by Animesh Srivastava (thickblackmark45@gmail.com)
Have you ever wondered about how to get your tools for management of your embedded device?
How to build and deploy your devices and provide them support and customization?
If I say yes, I have always been on a search for such a tool or method or technology.
But wait,
What if I say- "It's open source"
!!Wait, a minute. You said Open Source!!
View LanguageStory.scala
object Story {
object Once { def upon = (x: a.type) => x }
object a { def time = (x: languages.type) => x }
object languages { def were = (x: inflexible.type) => x }
object inflexible { def along = (x: came.type) => x }
object came { def Scala = (x: inflexible.type) => x }
implicit def string(s : String) : inflexible.type = inflexible
def main(args: Array[String]): Unit = {
Once upon a time languages were inflexible; "Then " along came Scala ". The End!"
@animeshsrivastava24
animeshsrivastava24 / Story.scala
Created Jun 14, 2018 — forked from nicerobot/Story.scala
Simple Scala "DSL" example using easy to understand constructs.
View Story.scala
object Story {
object Once { def upon = (x: a.type) => x }
object a { def time = (x: languages.type) => x }
object languages { def were = (x: inflexible.type) => x }
object inflexible { def along = (x: came.type) => x }
object came { def Scala = (x: inflexible.type) => x }
implicit def string(s : String) : inflexible.type = inflexible
def main(args: Array[String]): Unit = {
Once upon a time languages were inflexible; "Then " along came Scala ". The End!"
@animeshsrivastava24
animeshsrivastava24 / mat2csvUsingPython.py
Created Jul 4, 2017 — forked from Nixonite/mat2csvUsingPython.py
Converting .mat to .csv using python
View mat2csvUsingPython.py
import scipy.io
import numpy as np
data = scipy.io.loadmat("subject.mat")
for i in data:
if '__' not in i and 'readme' not in i:
np.savetxt(("filesforyou/"+i+".csv"),data[i],delimiter=',')
View gist:b321614c3b52585b75817bce05c5015c
from array import array
from Tkinter import *
import cv2
from PIL import Image, ImageTk
width, height = 800, 600
cap = cv2.VideoCapture(x)
root =Tk()
lmain =Label(root)
You can’t perform that action at this time.