- Download 360Controller for Mac
- Run the installer
- Restart the Mac. When it restarts, it should work.
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
<!DOCTYPE html> | |
<html> | |
<body> | |
| |
<h2>HTML Buttons</h2> | |
<p>HTML buttons are defined with the button tag:</p> | |
| |
<button>Click me</button> | |
| |
</body> |
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/python3 | |
import os, hashlib, urllib.request, optparse, json | |
def get_remote_info(url): | |
remote = urllib.request.urlopen(url) | |
#Hash types | |
hash1 = hashlib.sha1() | |
hash256 = hashlib.sha256() | |
#Download data into buffer | |
data = remote.read() |
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
#!/bin/bash | |
#File: installobs.sh (sudo chmod +x installobs.sh) | |
WORK_DIR=~/obs-build | |
PREFIX=/usr | |
APT_DEPS=(build-essential | |
checkinstall | |
cmake | |
git | |
libmbedtls-dev |
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
/* | |
* Really nasty code to make sure the 'run_once' is only run once. | |
* JSHint (the VidCode linter) hates it, so I turned it off. | |
* | |
* VidCode has this weird quirk where it will run everything | |
* multiple times in a quick succession, and sharing the variables | |
* between sessions. This is the only way to make the timers work right. | |
*/ | |
/* jshint ignore:start */ |
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/python3 | |
import socket | |
class bcolors: | |
HEADER = '\033[95m' | |
OKBLUE = '\033[94m' | |
OKCYAN = '\033[96m' | |
OKGREEN = '\033[92m' | |
WARNING = '\033[93m' | |
FAIL = '\033[91m' |
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
package main | |
import ( | |
"bufio" | |
"crypto/tls" | |
"log" | |
"strings" | |
//"io" | |
"encoding/json" |
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
# Select the Broadcom SPI interface for Raspberry Pi (SWD transport) | |
interface bcm2835spi | |
# Set the SPI speed in kHz | |
bcm2835spi_speed 31200 # 31.2 MHz | |
# Select correct chip | |
set CHIPNAME at91samd21g18 | |
source [find target/at91samdXX.cfg] |
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
import argparse, requests, urllib, os | |
from pyquery import PyQuery as pq | |
# CLI arguments | |
parser = argparse.ArgumentParser(description='OverDrive helper script') | |
parser.add_argument('--session', | |
help='manually set the session id (overrides \'OD_SESSION\' env)') | |
parser.add_argument('book', |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title> | |
Tic-Tac-Toe | |
</title> | |
<style> | |
body { | |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; |
OlderNewer