Skip to content

Instantly share code, notes, and snippets.

@yozik04
yozik04 / .vscode\c_cpp_properties.json
Last active November 9, 2023 09:16
Visual Studio Code to work with STM8 Cosmic compiler.
{
"configurations": [
{
"name": "STM8",
"includePath": [
"${workspaceFolder}/**",
"C:/Program Files (x86)/COSMIC/FSE_Compilers/CXSTM8/Hstm8/**"
],
"defines": [
"_DEBUG",

Keybase proof

I hereby claim:

  • I am yozik04 on github.
  • I am yozik04 (https://keybase.io/yozik04) on keybase.
  • I have a public key ASBoNOLllavQujf8KfG6gcDHjlPCwZ9vrN4riEISZFoD3wo

To claim this, I am signing this object:

@yozik04
yozik04 / presence.sh
Created May 9, 2017 08:25
Presence detection service on Asus Merlin (should work on DD-WRT as well)
#!/bin/sh
### CONFIG
INTERFACES="eth1 eth2"
### DO NOT EDIT BELOW
LAST_MACS=""
assoclist()
@yozik04
yozik04 / Dockerfile
Created November 24, 2016 14:32
PHP 7 fpm, alpine, mongodb and composer
FROM php:7-fpm-alpine
RUN apk --update add --virtual build-dependencies build-base openssl-dev autoconf \
&& pecl install mongodb \
&& docker-php-ext-enable mongodb \
&& apk del build-dependencies build-base openssl-dev autoconf \
&& rm -rf /var/cache/apk/*
# Time Zone
RUN echo "date.timezone=${PHP_TIMEZONE:-UTC}" > $PHP_INI_DIR/conf.d/date_timezone.ini