Skip to content

Instantly share code, notes, and snippets.

View gonzafernan's full-sized avatar
🎯
Focusing

Gonzalo G. Fernández gonzafernan

🎯
Focusing
View GitHub Profile
@ocean90
ocean90 / box-shadow.html
Last active September 3, 2024 16:56
CSS3 Box Shadow, only top/right/bottom/left and all
<!DOCTYPE html>
<html>
<head>
<title>Box Shadow</title>
<style>
.box {
height: 150px;
width: 300px;
margin: 20px;
@huzhifeng
huzhifeng / 90-tty-usb.rules
Created August 22, 2016 03:28
udev rule for usb serial
/etc/udev/rules.d/90-tty-usb.rules
# CP210x
SUBSYSTEMS=="usb", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", MODE="0666"
How to add udev rule for usb serial device
[huzhifeng@CentOS72 ~]$ minicom
Cannot create lockfile for /dev/ttyUSB0: 权限不够
[huzhifeng@CentOS72 ~]$ su root -l
[root@CentOS72 ~]# ls -al /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 0 8月 22 08:59 /dev/ttyUSB0
@GinoAvanzini
GinoAvanzini / Makefile
Last active May 29, 2020 19:07 — forked from mcous/Makefile
Simple AVR Makefile template
# Simple AVR Makefile
#
# written by michael cousins (http://github.com/mcous)
# released to the public domain
# edited by Gino Avanzini (http://github.com/GinoAvanzini)
# tailored to atmega328p with an arduino programmer
# Makefile