This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Prometheus | |
{ | |
private static $prefixCounter = 'php_app_counter_'; | |
private static $prefixGauge = 'php_app_gauge_'; | |
public static function incrementCounter($name) | |
{ | |
self::increment(self::$prefixCounter, $name); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <GSMSim.h> | |
#define RX 7 | |
#define TX 8 | |
#define RESET 2 | |
#define BAUD 9600 | |
GSMSim gsm; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Demo found on https://enesordek.com/?p=2515 | |
$fn=200; | |
width_inner_diff = 23.5; | |
width_innerhollow_delta = 27-width_inner_diff; | |
height_innerhollow = 16; | |
translate([-50,0,0]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
geo $limited { | |
default 1; | |
# Wordpress Jetpack ranges: | |
192.0.0.0/16 0; | |
66.135.0.0/16 0; | |
66.155.0.0/16 0; | |
76.74.0.0/16 0; | |
} |