Skip to content

Instantly share code, notes, and snippets.

@ng
ng / resp.json
Created February 14, 2023 17:47
This file has been truncated, but you can view the full file.
{
"meta": {
"disclaimer": "Do not rely on openFDA to make decisions regarding medical care. While we make every effort to ensure that data is accurate, you should assume all results are unvalidated. We may limit or otherwise restrict your access to the API in line with our Terms of Service.",
"terms": "https://open.fda.gov/terms/",
"license": "https://open.fda.gov/license/",
"last_updated": "2023-02-08",
"results": {
"skip": 0,
"limit": 1000,
"total": 23392
<?xml version="1.0"?>
<User_CustomSensor>
<e c="Sensor" i="20170217_143050_24395">
<p n="DATE_TIME">2017/02/17 22:30:50</p>
<p n="Gain">1</p>
<p n="Hi">360</p>
<p n="In">mV</p>
<p n="InitValue">0</p>
<p n="Lo">-360</p>
<p n="MaxHz">1000</p>
#include "FastLED.h"
// How many leds in your strip?
#define NUM_LEDS 168
// For led chips like Neopixels, which have a data line, ground, and power, you just
// need to define DATA_PIN. For led chipsets that are SPI based (four wires - data, clock,
// ground, and power), like the LPD8806 define both DATA_PIN and CLOCK_PIN
#define DATA_PIN 11
#define CLOCK_PIN 13
#include "FastLED.h"
#define ANALOG_MODE_AVERAGE 0
#define ANALOG_MODE_LAST_LED 1
/**************************************
S E T U P
set following values to your needs
**************************************/
// Automatically generated configuration file for Hyperion ambilight daemon
// Notice: All values are explained with comments at our wiki: wiki.hyperion-project.org (config area)
// Generated by: HyperCon (The Hyperion deamon configuration file builder)
// Created with HyperCon V1.03.1 (11.06.2016)
{
// DEVICE CONFIGURATION
"device" :
{
"name" : "P51HyperionConfig",
<!doctype>
<html>
<head>
<title>CL Queries</title>
<style>
#container {
display: flex;
}
iframe {;
[root@adtrap ~]# iptables -t nat -nL
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
REDIRECT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 redir ports 3128
DNAT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:8176 to:192.168.211.7
DNAT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:1723 to:192.168.211.200
DNAT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:47 to:192.168.211.200
DNAT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:51413 to:192.168.211.7
DNAT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:5006 to:192.168.211.200
DNAT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:5000 to:192.168.211.200
<h2><a name="Top 10 Ad Networks Blocked" id="Top 10 Ad Networks Blocked"></a>Top 10 Ad Networks Blocked</h2>
<html>
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("visualization", "1", {packages:["corechart"]});
google.setOnLoadCallback(drawChart);
function drawChart() {
var data = google.visualization.arrayToDataTable([
['', 'google-analytics.com (ads)', 'ad.insightexpressai.com (ads)', 'static.chartbeat.com (ads)', 'js.revsci.net (ads)', 'cnn.com (ads)', 'i.cdn.turner.com (ads)', 'gizmodo.com (ads)', 'cnn.com (ads)', 'ssl.google-analytics.com:443... (ads)', 'b.scorecardresearch.com (ads)'],
<h2><a name="Top 10 Ad Networks Blocked" id="Top 10 Ad Networks Blocked"></a>Top 10 Ad Networks Blocked</h2>
<html>
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("visualization", "1", {packages:["corechart"]});
google.setOnLoadCallback(drawChart);
function drawChart() {
var data = google.visualization.arrayToDataTable([
['', 'google-analytics.com (ads)', 'ad.insightexpressai.com (ads)', 'static.chartbeat.com (ads)', 'js.revsci.net (ads)', 'cnn.com (ads)', 'i.cdn.turner.com (ads)', 'gizmodo.com (ads)', 'cnn.com (ads)', 'ssl.google-analytics.com:443... (ads)', 'b.scorecardresearch.com (ads)'],
@ng
ng / snippet.txt
Created September 23, 2011 21:32
[alias]
st = status
ci = commit
co = checkout
br = branch
[user]
name = Jonathan Ng
email = jon@jonathansng.com
[color]
branch = auto