████▓
▓█▓▓▓▓▓██▒
▒██▒▒▒▒▒▒▒▓█▓
▓█▓▒▒▒▒▒▒▒▒▒▒██
██▒▒▒▒▓███▓▒▒▒▒▓█▒
▒█▓▒▓▓▓██▓░▓█▓▓▓▓▓▓█▓
▓█▓▓▓▓▓██▓ ▒██▓▓▓▓▓██▒
▒██▓▓▓▓███ ███▓▓▓▓██▓
▓██▓█████▒ ▒█████████
▒█████████ ▒▓▓▓▓▓▓▓▓▒▓█████████▒
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
: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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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=[] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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.) |