Skip to content

Instantly share code, notes, and snippets.

View imvickykumar999's full-sized avatar
Learning Deployments.

Vicky Kumar imvickykumar999

Learning Deployments.
View GitHub Profile
@imvickykumar999
imvickykumar999 / bluetooth_kivy.py
Created May 22, 2022 22:43 — forked from cuibonobo/bluetooth_kivy.py
Bluetooth example with Kivy. A more fleshed-out example here: https://github.com/tito/android-demo. A more modern way of doing it: https://github.com/kivy/plyer. And this guy used Kivy to connect to an Arduino: https://github.com/brean/arduino-kivy-bluetooth. Native Kivy code (?): https://groups.google.com/d/msg/kivy-users/n_cMbFzf_1A/5edKgQgycx0J
# Same as before, with a kivy-based UI
'''
Bluetooth/Pyjnius example
=========================
This was used to send some bytes to an arduino via bluetooth.
The app must have BLUETOOTH and BLUETOOTH_ADMIN permissions (well, i didn't
tested without BLUETOOTH_ADMIN, maybe it works.)
@imvickykumar999
imvickykumar999 / kivyapp-to-apk.ipynb
Last active May 24, 2022 09:23
KivyApp to APK.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@imvickykumar999
imvickykumar999 / subplot.ipynb
Last active November 21, 2020 12:44
subplot.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# https://github.com/imvickykumar999/vixtor/blob/master/Subplot.ipynb
import numpy as np, math
import matplotlib.pyplot as plt
def subplot(
l1=False, a1=[1,0,1], b1=[4,9,4],
ul1=30, colorl1='blue', two_pointsl1=False,
l2=False, a2=[-1,9,2], b2=[2,4,7],
@imvickykumar999
imvickykumar999 / threeDvector.py
Last active May 24, 2022 09:26
from vixtor import threeDvector as vix
# This is `python package` for calculating and visualizing 3D geometry questions from class 12 maths NCERT.
# {
# try... https://imvickykumar999.github.io/vixtor/
# from vixtor import threeDvector as vix
# angle = vix.angbwlineandplane(printing=True)
# print(angle)
# }