Skip to content

Instantly share code, notes, and snippets.

View myip.php
require_once '../lib/config.php';
if ($os == 'linux') {
$get_ip = shell_exec('hostname -I | cut -d " " -f 1');
if (!$get_ip) {
} else {
$IP = $get_ip;
View esp8266-dht22.ino
#include <ESP8266WiFi.h>
#include <ESP8266WebServer.h>
#include "DHT.h"
// Uncomment one of the lines below for whatever DHT sensor type you're using!
//#define DHTTYPE DHT11 // DHT 11
//#define DHTTYPE DHT21 // DHT 21 (AM2301)
#define DHTTYPE DHT22 // DHT 22 (AM2302), AM2321
/*Put your SSID & Password*/
View be-my-valentine
// beMyValentine Codebeispiel für den AZ-Delivery Blogbeitrag Valentinstag 2020
// V1.0 von AZcp 14.02.2020 - GNU Lesser General Public License v2.1
// Verwendet die Bibliothek MD_MAX72XX von Marco Colli / MajicDesigns :
// Teile dieses Codes basieren auf den Beispielen der MD_MAX72XX Bibliothek
#include <MD_MAX72xx.h>
#define HARDWARE_TYPE MD_MAX72XX::FC16_HW // falls die Darstellung fehlerhaft ist, ersetze FC16_HW durch PAROLA_HW oder GENERIC_HW
#define MAX_DEVICES 4 // Anzahl der 8x8 Module, in unserem Fall 4
View Photobooth-quick-install
sudo apt install -y git php-gd gphoto2 libimage-exiftool-perl
curl -sS | sudo apt-key add -
echo "deb stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update && sudo apt install -y yarn
sudo chown -R www-data:www-data /var/www/
cd /var/www/
sudo -u www-data -s
View replace.xml
<?xml version="1.0" encoding="UTF-8"?>
<remove-project name="platform/external/libvorbis" />
<project path="external/libvorbis" name="LineageOS/android_external_libvorbis" remote="github" revision="cm-13.0" groups="pdk-cw-fs,pdk-fs" />
View gist:084e954f857e348b5ce2aa10ba6dc54c
<?xml version="1.0" encoding="UTF-8"?>
<project name="andi34/android_device_samsung_golden" path="device/samsung/golden" remote="github" revision="kk4.4" />
<project name="andi34/android_kernel_samsung_golden" path="kernel/samsung/golden" remote="github" revision="blackhawk2" />
<project name="andi34/android_hardware_u8500" path="hardware/u8500" remote="github" revision="kk4.4" />
<project name="andi34/android_vendor_samsung_golden" path="vendor/samsung/golden" remote="github" revision="kk4.4" />
View gist:65f8fe8990c24249887d2b8df838a12c
2bf2de9 mmc: omap44XX: Fix Errata FSMR: Fix FSM reset time
38e70cd mmc: omap44XX: Fix errata FSMR: Finite State Machine reset
0e838b6 mmc: core: Update the ext-csd.rev check for eMMC5.1
2ace53c mmc: core: Detect eMMC v4.5 ext_csd entries
c505b70 mmc: core: new discard feature support at eMMC v4.5
d0cc290 Add moviNAND VHX 4.41 DISCARD feature
6ce42ab espresso: IPV4 & IPV6: enable NF_MATCH_RPFILTER
7a6063a espresso: add defconfig for KitKat
bfae5d4 espresso: enable LZ4-backed zRAM
24a8823 espresso_defconfig: enable F2FS