Skip to content

Instantly share code, notes, and snippets.

View TheZoker's full-sized avatar

Florian Gareis TheZoker

View GitHub Profile
@TheZoker
TheZoker / build.log
Created August 7, 2019 11:19
Marlin build log
> Executing task: platformio run <
Processing BIGTREE_SKR_MINI (platform: ststm32; board: genericSTM32F103RC; framework: arduino)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/genericSTM32F103RC.html
PLATFORM: ST STM32 5.5.0 > STM32F103RC (48k RAM. 256k Flash)
HARDWARE: STM32F103RCT6 72MHz, 48KB RAM, 256KB Flash
DEBUG: Current (stlink) External (blackmagic, jlink, stlink)
PACKAGES: toolchain-gccarmnoneeabi 1.70201.0 (7.2.1), framework-arduinoststm32-maple 1.10000.190719 (1.0.0)
@TheZoker
TheZoker / log.txt
Created August 6, 2019 11:22
Unused warning
Compiling .pioenvs/BIGTREE_SKR_MINI/src/src/HAL/HAL_STM32F1/HAL_timers_STM32F1.cpp.o
In file included from Marlin/src/HAL/HAL_STM32F1/HAL_spi_STM32F1.cpp:36:0:
/home/florian/.platformio/packages/framework-arduinoststm32-maple/STM32F1/libraries/SPI/src/SPI.h:171:15: warning: '_spi3_this' defined but not used [-Wunused-variable]
static void (*_spi3_this);
^~~~~~~~~~
/home/florian/.platformio/packages/framework-arduinoststm32-maple/STM32F1/libraries/SPI/src/SPI.h:168:15: warning: '_spi2_this' defined but not used [-Wunused-variable]
static void (*_spi2_this);
^~~~~~~~~~
/home/florian/.platformio/packages/framework-arduinoststm32-maple/STM32F1/libraries/SPI/src/SPI.h:165:15: warning: '_spi1_this' defined but not used [-Wunused-variable]
static void (*_spi1_this);
substitutions:
id: gosund
name: Gosund
relay_pin: '14'
button_pin: '3'
led_pin: '1'
esphome:
name: $id
platform: ESP8266
@TheZoker
TheZoker / gist:ce30f1ff289d5a4c9823
Last active February 19, 2016 17:15 — forked from Wardormeur/gist:5755649f587b2aa7ed0c
Grunt task to check phpbb theme event coverage
grunt.registerTask('getEvents', function(){
var http = require('https');
var cheerio = require('cheerio');
var fs = require('fs');
var url = 'https://wiki.phpbb.com/Event_List';
var done = this.async();
var dom = http.get(url, function(response){
var srcContents = '';
//another chunk of data has been recieved, so append it to `str`
$(document).on('pjax:send', function() {
Pace.restart();
})
$(document).on('pjax:complete', function() {
Pace.stop();
})
<?php
function free_and_premium() {
vc_map( array(
"name" => __("Premium", "js_composer"),
"base" => "premium",
"content_element" => true,
"category" => "content>",
"show_settings_on_create" => false,
"params" => array(
// add params same as with any other content element