This file contains hidden or 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
muliscrape: | |
- name: Modem scraper | |
resource: http://192.168.100.1/cgi-bin/status_cgi | |
scan_interval: 300 | |
sensor: | |
- unique_id: cable_modem_downstream_1_power | |
name: "Cable Modem Downstream 1 Power" | |
unit_of_measurement: 'dBmV' | |
select: ".main_body > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(2) > td:nth-child(4)" | |
value_template: '{{ (value.split(" ")[0]) }}' |
This file contains hidden or 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
! 2021-07-23 https://github.com | |
github.com###dashboard > div.news .release |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
''' | |
Zerotier | |
''' | |
# Import python libs | |
from __future__ import absolute_import, generators, print_function, with_statement, unicode_literals | |
import logging | |
import json |
This file contains hidden or 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
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\Slight] | |
"Colour0"="240,240,240" | |
"Colour1"="255,255,255" | |
"Colour2"="63,63,65" | |
"Colour3"="103,103,103" | |
"Colour4"="0,0,0" | |
"Colour5"="0,255,0" | |
"Colour6"="21,23,26" |
This file contains hidden or 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
/* | |
Attribution: https://bitbucket.org/motdplayer/sm-adplugin/src | |
Parsing fixed by gamingrobot | |
*/ | |
#if defined _easyjson_included | |
#endinput | |
#endif | |
#define _easyjson_included |
This file contains hidden or 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
execute pathogen#infect() | |
filetype plugin indent on | |
set number | |
set autoindent | |
syntax enable | |
set background=dark | |
set t_Co=256 | |
colorscheme molokai | |
set background=dark | |
set mouse=a |
This file contains hidden or 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
.arch armv7-a | |
.fpu neon | |
.syntax unified | |
.global _start | |
_start: | |
mov r1, $0 | |
movt r1, $0x1002 //Primecell pl111 clcd is mapped to 0x10020000 | |
//setup primecell registers |
This file contains hidden or 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
/* | |
* Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved. | |
* | |
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@ | |
* | |
* This file contains Original Code and/or Modifications of Original Code | |
* as defined in and that are subject to the Apple Public Source License | |
* Version 2.0 (the 'License'). You may not use this file except in | |
* compliance with the License. The rights granted to you under the License | |
* may not be used to create, or enable the creation or redistribution of, |
This file contains hidden or 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
#!/bin/sh | |
# | |
# Shell script that configures gnome-terminal to use monokai.sh theme | |
# colors. Written for Ubuntu 11.10, untested on anything else. | |
# | |
# Monokai theme: https://github.com/oneKelvinSmith/monokai/blob/master/monokai.palette | |
# | |
# Adapted from these sources: | |
# https://gist.github.com/1280177 | |
# http://xorcode.com/guides/solarized-vim-eclipse-ubuntu/ |
This file contains hidden or 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 <GL/glew.h> | |
#include <GLFW/glfw3.h> | |
#include <glm/glm.hpp> | |
#include <glm/gtc/matrix_transform.hpp> | |
#include <glm/gtc/type_ptr.hpp> | |
#include <iostream> | |
// Shader sources | |
const char* vertexSource = | |
"#version 150\n" |
NewerOlder