Skip to content

Instantly share code, notes, and snippets.

View iBobX's full-sized avatar

Roberto Antonio Berrospe Machin iBobX

View GitHub Profile
@douglashill
douglashill / KeyboardTableView.swift
Last active March 30, 2023 22:01
A UITableView that allows navigation and selection using a hardware keyboard.
// Douglas Hill, December 2018
// Made for https://douglashill.co/reading-app/
// Find the latest version of this file at https://github.com/douglashill/KeyboardKit
import UIKit
/// A table view that allows navigation and selection using a hardware keyboard.
/// Only supports a single section.
class KeyboardTableView: UITableView {
// These properties may be set or overridden to provide discoverability titles for key commands.
@dybber
dybber / connectToWifi.py
Last active September 5, 2022 18:40
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)
@sandeepgill
sandeepgill / MoodleValetDriver.php
Last active April 13, 2024 20:50
Laravel Valet Moodle driver
<?php
class MoodleValetDriver extends BasicValetDriver
{
protected $isStyleUri = false;
protected $baseUri = '';
protected $moodleStaticScripts = [
'styles.php',
'javascript.php',
'jquery.php',
@aculich
aculich / remove-empty-columns.csv
Last active April 5, 2022 16:57
remove-empty-columns
foo bar baz
a 1
b 2
c
4
e 5
@zziuni
zziuni / stuns
Created September 18, 2012 08:05
STUN server list
# source : http://code.google.com/p/natvpn/source/browse/trunk/stun_server_list
# A list of available STUN server.
stun.l.google.com:19302
stun1.l.google.com:19302
stun2.l.google.com:19302
stun3.l.google.com:19302
stun4.l.google.com:19302
stun01.sipphone.com
stun.ekiga.net