Skip to content

Instantly share code, notes, and snippets.

View iBobX's full-sized avatar

Roberto Antonio Berrospe Machin iBobX

View GitHub Profile
@iBobX
iBobX / connectToWifi.py
Created May 17, 2022 19:13 — forked from dybber/connectToWifi.py
MicroPython wifi connection w. timeout
import machine
import time
import network
import urequests
# Function to connect to a specific wifi network
def connectToWifi(wifi, essid, password, timeout):
if not wifi.isconnected():
print("Connecting to WiFi network...")
wifi.connect(essid, password)
@iBobX
iBobX / MoodleValetDriver.php
Created March 25, 2021 21:50 — forked from sandeepgill/MoodleValetDriver.php
Laravel Valet Moodle driver
<?php
class MoodleValetDriver extends BasicValetDriver
{
protected $isStyleUri = false;
protected $baseUri = '';
protected $moodleStaticScripts = [
'styles.php',
'javascript.php',
'jquery.php',