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 / gist:e903541c19311f0e7d496d293b483309
Created September 3, 2023 16:46 — forked from ajvpot/gist:3115176
Minecraft Migrated Account Session Vulnerability
                  ████▓               
               ▓█▓▓▓▓▓██▒              
             ▒██▒▒▒▒▒▒▒▓█▓             
            ▓█▓▒▒▒▒▒▒▒▒▒▒██            
           ██▒▒▒▒▓███▓▒▒▒▒▓█▒          
         ▒█▓▒▓▓▓██▓░▓█▓▓▓▓▓▓█▓         
        ▓█▓▓▓▓▓██▓   ▒██▓▓▓▓▓██▒       
      ▒██▓▓▓▓███       ███▓▓▓▓██▓      
     ▓██▓█████▒         ▒█████████     

▒█████████ ▒▓▓▓▓▓▓▓▓▒▓█████████▒

@imvickykumar999
imvickykumar999 / happy_birthday.mikrotik
Created August 20, 2023 03:19 — forked from krin-san/happy_birthday.mikrotik
Happy Birthday song played using a speaker
:beep frequency=264 length=250ms;
:delay 500ms;
:beep frequency=264 length=250ms;
:delay 250ms;
:beep frequency=297 length=1000ms;
:delay 250ms;
:beep frequency=264 length=1000ms;
:delay 250ms;
:beep frequency=352 length=1000ms;
:delay 250ms;
@imvickykumar999
imvickykumar999 / bingo_board_gui
Created May 16, 2023 03:32 — forked from hackerdem/bingo_board_gui
bingo board with gui, simpl python programming example including tkinter
import random
from tkinter import *
chosen_number_list=[]
numbers=[]
for i in range(1,101):
numbers.append(i)
def random_number_selection():
global c
c=[]
@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"
@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 / 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.)