Skip to content

Instantly share code, notes, and snippets.

View imvickykumar999's full-sized avatar
Allow Room for Error.

Vicky Kumar imvickykumar999

Allow Room for Error.
View GitHub Profile
@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)
# }
# 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 / subplot.ipynb
Last active November 21, 2020 12:44
subplot.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@imvickykumar999
imvickykumar999 / kivyapp-to-apk.ipynb
Last active May 24, 2022 09:23
KivyApp to APK.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@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 / get-cell-value.js
Created December 6, 2022 10:24 — forked from prasanthmj/get-cell-value.js
How to get cell value in Google Sheets using apps script. See article here: http://blog.gsmart.in/google-sheet-script-get-cell-value/
function onOpen()
{
var ui = SpreadsheetApp.getUi();
ui.createMenu('GetValues')
.addItem('get current', 'getCurrentCellValue')
.addItem('get by row col', 'getByRowAndColumn')
.addItem('get by address a1', 'getByCellAddressA1Notation')
.addToUi();
@imvickykumar999
imvickykumar999 / 2d-rubix-cube.ipynb
Created February 25, 2023 11:43
2D Rubix Cube.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@imvickykumar999
imvickykumar999 / sql-tutorial.ipynb
Created March 16, 2023 16:09
SQL Tutorial.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@imvickykumar999
imvickykumar999 / add-vba-macro-in-powerpoint.py
Created April 3, 2023 09:58 — forked from aspose-com-gists/add-vba-macro-in-powerpoint.py
Work with VBA Macros in PowerPoint PPT/PPTX in Python
# Create or load a presentation
with slides.Presentation() as presentation:
# Create new VBA project
presentation.vba_project = slides.vba.VbaProject()
# Add empty module to the VBA project
module = presentation.vba_project.modules.add_empty_module("Module")
# Set module source code
module.source_code = "Sub Test(oShape As Shape) MsgBox ""Test"" End Sub"