Skip to content

Instantly share code, notes, and snippets.

View suda's full-sized avatar
🍃

Wojtek Siudzinski suda

🍃
View GitHub Profile
[
{
"status": "Ocupado",
"price": "Gratuito"
},
{
"status": "Disponible",
"price": "0.45€/kWh"
}
]
#!/bin/sh
# PROVIDE: gitlab_runner
# REQUIRE: DAEMON NETWORKING
# BEFORE:
# KEYWORD:
. /etc/rc.subr
name="gitlab_runner"
rcvar="gitlab_runner_enable"
#!/bin/bash
# Nvidia 430.26 installer, BETA.
SERVER="http://159.203.46.64"
ETHOSVERSION="1.3.3"
VERSION="430.26"
function f.checkdpkg(){
DPKGLOCKED=$(lsof /var/lib/dpkg/lock 2>/dev/null | grep -c "/var/lib/dpkg/lock"); WAITCOUNT="0"
if [ "$DPKGLOCKED" -ge "1" ];then
until [ "$DPKGLOCKED" = "0" ] || [ "$WAITCOUNT" = "60" ]; do
DPKGLOCKED=$(lsof /var/lib/dpkg/lock 2>/dev/null | grep -c "/var/lib/dpkg/lock"); ((WAITCOUNT++))
@suda
suda / user_config_override.h
Created January 4, 2021 13:07
Tasmota custom config for 512KB flash
/*
user_config_override.h - Tasmota user configuration overrides for 512KB flash
Copyright (C) 2021 Wojtek Siudzinski
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
// This is a console to a ESP8266/ESP32 running on the device UART1.
// Allows you to type AT commands from your computer via the microcontroller.
//
// In other words:
// Your computer <--> UART0 <--> MCU <--> UART1 <--> ESP8266 <--> INTERNET
//
// More information on the Espressif AT command set at:
// https://www.espressif.com/sites/default/files/documentation/4a-esp8266_at_instruction_set_en.pdf
//
package main
@suda
suda / keybindings.json
Created December 16, 2018 11:44
VSCode Mac keybindings for Linux/Windows
// Overwrite key bindings by placing them into your key bindings file.
[
{
"key": "escape escape",
"command": "workbench.action.exitZenMode",
"when": "inZenMode"
},
{
"key": "shift+escape",
"command": "closeReferenceSearchEditor",
#cloud-config
ssh_authorized_keys:
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC+xU8Tzj7FHrTldT2SW2i3+VXO+nU+tijkSIePuxZscYMMdEv32JrsFQAIQF+4JrGCzuilqOOz/ewIAKH6v4xW0f2XTOhA6oqTaJWhIMlovIVQq8txnBpSHoldWiT8nqGElUQA6PpUgLVjwCaUUtKuGHV2JNAsKUMH724wSHqHxc9m/SHB9TksWM74fIw67rsY4GKaRv7M2pFqbr//VlEM2LxXVCxf0Zs3fiF33yiAHWHHlTm6Tu9Q8QhYu1ikpZ6/K4GOuWzyZJjt7nVRqYio4dKi/D6DpHy8LyACAQP3MlGx2gNeqKcQGZ7O63CkPVB1j87pnH1XYvG97Nc9xgCf [email protected]"
coreos:
units:
- name: "influxdb.service"
command: "start"
content: |
[Unit]

Keybase proof

I hereby claim:

  • I am suda on github.
  • I am suda (https://keybase.io/suda) on keybase.
  • I have a public key ASA5pFrAqddzxEsU4F-ohh0TB3yhQQNnzHangzdoAx4wpgo

To claim this, I am signing this object:

<html>
<HEAD>
<META HTTP-EQUIV="content-type" CONTENT="text/html;charset=UTF-8">
<TITLE>App Store Pricing Matrix</TITLE>
<style type="text/css">
body {
font-family: "Lucida Grande", Arial;
}
table {
#!/bin/bash
if [[ -z $ACCESS_TOKEN ]]; then
echo "Please set ACCESS_TOKEN env variable"
exit -1
fi
if [[ -z $PARTICLE_VERSION ]]; then
PARTICLE_VERSION=0.6.1
echo "Defaulted to version 0.6.1"
fi