Skip to content

Instantly share code, notes, and snippets.

View segfaultlabs's full-sized avatar

Segfault segfaultlabs

  • SegFaultLabs
  • 40 west 77 south
View GitHub Profile
@segfaultlabs
segfaultlabs / hc06config.ino
Created July 24, 2020 01:17 — forked from racerxdl/hc06config.ino
HC-06 Module Configurator - Arduino Code
/*
HC-06 Module Configurator
This Arduino Code Configures the Baudrate, name and PIN to a HC-06 Bluetooth module on Serial port 0
By: Lucas Teske
*/
#define BAUDRATE 115200 // Valid values: 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200.
@Akkiesoft
Akkiesoft / profile-image.py
Created August 7, 2017 13:28
ツイッターの情報で名札画像を作る(電子ペーパー向け)
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import json
import tweepy
import urllib3
from StringIO import StringIO
from PIL import Image,ImageDraw,ImageFont,ImageOps
@Akkiesoft
Akkiesoft / waveshare-2.13-epaper-png.py
Created August 2, 2017 15:19
The script that showing PNG image for waveshare 2.13 Inch e-Paper module.
# The script that showing PNG image for waveshare 2.13 Inch e-Paper module.
import time
import spidev as SPI
import EPD_driver
import datetime
from PIL import Image
xDot = 122
yDot = 250
@naholyr
naholyr / _service.md
Created December 13, 2012 09:39
Sample /etc/init.d script

Sample service script for debianoids

Look at LSB init scripts for more information.

Usage

Copy to /etc/init.d:

# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)