Skip to content

Instantly share code, notes, and snippets.

Avatar

Cassiano Surdi Franco CassianoSF

View GitHub Profile
@CassianoSF
CassianoSF / readme.md
Created Jan 7, 2021 — forked from rometsch/BH456A_linux_driver.md
MPOW BH456A Bluetooth USB Adapter Kernel Module Adjustements (Realtek RTL8761B chip)
View readme.md

Problem

The MPOW Bluetooth 5 dongle (Model: BH456A) does not work out of the box on Ubuntu 20.04 (kernel 5.4.0-42).

Solution

Patch the bluetooth kernel module and copy the firmware binaries to /lib/firmware.

Copy the fimware

@CassianoSF
CassianoSF / Makefile
Last active Jul 27, 2019
javacc MIPS syntactic analyzer
View Makefile
all:
javacc *.jj
javac *.java
clean:
rm -f *.java *.class
@CassianoSF
CassianoSF / mecanismo.html
Last active Jul 7, 2018
mecanismo com dois graus de liberdade
View mecanismo.html
<!doctype html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<title>Trabalho ACC VII</title>
<style>
.axis path, .axis line{
fill: none;
stroke: black;
@CassianoSF
CassianoSF / jogo_da_velha.asm
Last active Dec 10, 2019
Jogo da velha feito em mips
View jogo_da_velha.asm
.data
turno: .word 0
array: .word -15, -15, -15, -15, -15, -15, -15, -15, -15
linha: .asciiz " | | \n" # index 1, 5, 9 sao modificados
separador: .asciiz "---+---+---\n"
player1: .byte 'x'
player2: .byte 'o'
vazio: .byte ' '
insira_linha: .asciiz "\n\nInsira a linha:"
insira_coluna: .asciiz "Insira a coluna:"