Download Autodesk EAGLE from https://www.autodesk.com/products/eagle/free-download and extract it to /opt
cp eagle.desktop $HOME/.local/share/applications/eagle.desktop
Download Autodesk EAGLE from https://www.autodesk.com/products/eagle/free-download and extract it to /opt
cp eagle.desktop $HOME/.local/share/applications/eagle.desktop
| package com.sam016.vsflatomation.service.ble; | |
| import java.util.HashMap; | |
| import java.util.UUID; | |
| public class AllGattCharacteristics { | |
| private static HashMap<String, String> attributes = new HashMap(); | |
| static { | |
| attributes.put("00002a00-0000-1000-8000-00805f9b34fb", "Device Name"); |
| # LICENSE: MIT, wtfpl or whatever OSS license you like | |
| function get_stack () { | |
| STACK="" | |
| local i message="${1:-""}" | |
| local stack_size=${#FUNCNAME[@]} | |
| # to avoid noise we start with 1 to skip the get_stack function | |
| for (( i=1; i<$stack_size; i++ )); do | |
| local func="${FUNCNAME[$i]}" | |
| [ x$func = x ] && func=MAIN | |
| local linen="${BASH_LINENO[$(( i - 1 ))]}" |
| //libusb+ch340 data transfer demo | |
| //gcc usb.c `pkg-config libusb-1.0 --libs --cflags` -o usb | |
| #include <errno.h> | |
| #include <signal.h> | |
| #include <string.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <stdint.h> | |
| #include <unistd.h> | |
| #include <sys/select.h> |
| // memdjpeg - A super simple example of how to decode a jpeg in memory | |
| // Kenneth Finnegan, 2012 | |
| // blog.thelifeofkenneth.com | |
| // | |
| // After installing jpeglib, compile with: | |
| // cc memdjpeg.c -ljpeg -o memdjpeg | |
| // | |
| // Run with: | |
| // ./memdjpeg filename.jpg | |
| // |
| #!/bin/bash | |
| # SPDX-License-Identifier: MIT | |
| ## Copyright (C) 2009 Przemyslaw Pawelczyk <przemoc@gmail.com> | |
| ## | |
| ## This script is licensed under the terms of the MIT license. | |
| ## https://opensource.org/licenses/MIT | |
| # | |
| # Lockable script boilerplate | |