https://maps.nextbike.net/maps/nextbike-official.json?list_cities=1
This file contains 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
from flask import Flask, request, jsonify | |
import random | |
app = Flask(__name__) | |
data = {} | |
@app.route('/') | |
def home(): |
This file contains 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
/** | |
* Google Apps Script code to close a Google Form when it reaches a maximum number of responses. | |
* Author: Jakub Andrýsek | |
* Website: https://kubaandrysek.cz | |
* Email: email@kubaandrysek.cz | |
* GitHub: https://github.com/JakubAndrysek | |
* License: MIT | |
* File: https://gist.github.com/JakubAndrysek/fbcdf78f7bc91d905d22350e7cbcdb31 | |
*/ |
This file contains 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
-- Get JSON of runnin apps + paths on macOS | |
-- Author: JakubAndrysek + (https://www.alfredforum.com/topic/11318-solved-how-to-load-an-applications-icon-with-applescript/?do=findComment&comment=59154) | |
-- Version: 1.0 | |
-- License: MIT | |
-- Link: https://gist.github.com/JakubAndrysek/2f4f4de69443fc0438ddb6320caf2349 | |
-- Description: This script lists all running non-background processes and their paths in JSON format. | |
tell application "System Events" | |
set runningProcesses to (every process whose background only is false) |
This file contains 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
#!/usr/bin/env python3 | |
# Yabai - Configure scripting addition - automation | |
# Author: Jakub Andrysek | |
# Website: https://kubaandrysek.cz | |
# License: MIT | |
# GitHub: https://github.com/JakubAndrysek | |
# https://github.com/koekeishiya/yabai/wiki/Installing-yabai-(latest-release)#configure-scripting-addition | |
import os |
- manul
- web interface
cupsctl WebInterface=yes
This file contains 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
# not work during my test | |
import sys | |
from PyQt5.QtBluetooth import QBluetoothLocalDevice, QBluetoothDeviceDiscoveryAgent, QBluetoothDeviceInfo, QLowEnergyController, QBluetoothUuid, QLowEnergyService | |
from PyQt5.QtCore import QObject, QCoreApplication, pyqtSlot | |
class BLEApp(QObject): | |
def __init__(self, parent=None): | |
super(BLEApp, self).__init__(parent) | |
self.deviceAddress = "E5:76:86:2B:B4:F8" |
NewerOlder