- install lm-sensors with your package manager
sensors
If it won't show any fan/speed, continue
sensor-detect
{ | |
// Based on: https://gist.github.com/pakLebah/dab98067e9a388a3a8d2f5c0b44a7d3f#file-tasks-json | |
"version": "2.0.0", | |
"options": { | |
"cwd": "${workspaceFolder}", | |
"env": { | |
// task settings for files and folders, use full path for commands | |
"FPC_COMMAND": "fpc", | |
"PROJECTFILE": "${relativeFile}", | |
"PROJECTBASE": "${fileBasenameNoExtension}", |
After looking for alternatves to the suggested Router from Telekom (AVM FritzBox and HUawei Speedport), I've discovered the possibility of configuring my existing OpenWRT Router to act as gateway to the Telekom FTTH (Fiber To The Home) Magenta Zuhause package.
The WAN interface must be configured as follows (see your Telekom letter):
PPPoE
# Document: https://cygwin.rafaelhart.com/daemons/web-server-apache/ | |
# Updated: 2016/01/28 | |
# Install: cygrunsrv, httpd | |
# | |
# Please, run `cygserver-config` before run this script | |
usage () | |
{ | |
echo 'Usage : httpdctl <start|restart|stop>' | |
exit |
// This is free and unencumbered software released into the public domain. | |
// | |
// Anyone is free to copy, modify, publish, use, compile, sell, or distribute | |
// this software, either in source code form or as a compiled binary, for any | |
// purpose, commercial or non-commercial, and by any means. | |
// | |
// In jurisdictions that recognize copyright laws, the author or authors of this | |
// software dedicate any and all copyright interest in the software to the | |
// public domain. We make this dedication for the benefit of the public at large | |
// and to the detriment of our heirs and successors. We intend this dedication |
struct Textures { | |
static GLuint LoadPNG(const std::string& filename) { | |
if( ! FileExists(filename)) { | |
Exit("Cannot open png: %s.", filename.c_str()); | |
} | |
FILE* fp = ::fopen(filename.c_str(), "r"); | |
png_structp png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL); |
/* | |
* A simple libpng example program | |
* http://zarb.org/~gc/html/libpng.html | |
* | |
* Modified by Yoshimasa Niwa to make it much simpler | |
* and support all defined color_type. | |
* | |
* To build, use the next instruction on OS X. | |
* $ brew install libpng | |
* $ clang -lz -lpng16 libpng_test.c |