Skip to content

Instantly share code, notes, and snippets.

View PaulTR's full-sized avatar

Paul Ruiz PaulTR

  • Google
  • Boulder, Colorado, USA
View GitHub Profile
[
{
"name": "Reticulated Giraffe",
"species": "Giraffa camelopardalis reticulata",
"description": "The reticulated giraffe (Giraffa camelopardalis reticulata), also known as the Somali giraffe, is a subspecies of giraffe native to Somalia, southern Ethiopia, and northern Kenya. Reticulated giraffes can interbreed with other giraffe subspecies in captivity or if they come into contact with populations of other subspecies in the wild. \nThe reticulated giraffe is among the most well-known of the nine giraffe subspecies. Together with the Rothschild giraffe, it is by far the giraffe most commonly seen in zoos. Its coat consists of large, polygonal, liver-colored spots outlined by a network of bright-white lines. The blocks may sometimes appear deep red and may also cover the legs. The extraordinary height of giraffes is attributed to a ritual known as \"necking\", where two males fight for reproduction rights by slamming their necks into one another. The giraffes with the tallest and
[
{
"name": "Elephants",
"latitude": 39.749157,
"longitude": -104.953616
},
{
"name": "Tigers",
"latitude": 39.749817,
"longitude": -104.949195
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
android:title="This is a test">
<PreferenceCategory
android:title="Inline Preference">
<CheckBoxPreference
android:key="checkbox_preference"
android:title="CheckboxPreference"
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
mVideo = (Video) getActivity().getIntent().getSerializableExtra( EXTRA_VIDEO );
row = new DetailsOverviewRow( mVideo );
//addAction has been deprecated
row.setActionsAdapter(new SparseArrayObjectAdapter() {
private void detectBeacons() {
List<BeaconState.TypeFilter> filters = new ArrayList<>();
filters.add(BeaconState.TypeFilter.with(
//"2F234454F4911BA9FFA6",
"EDDYSTONE_UID",
"reflected-disk-355/Test2"));
Awareness.SnapshotApi.getBeaconState(mGoogleApiClient, filters )
.setResultCallback(new ResultCallback<BeaconStateResult>() {
@Override
import os
import time
import requests
from slackclient import SlackClient
# add bot id and slack bot token
BOT_ID =
SLACK_BOT_TOKEN =
# constants
AT_BOT = "<@" + BOT_ID + ">"
/*
Copyright 2016-2017 Paul Trebilcox-Ruiz
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
/*
Written by Paul Trebilcox-Ruiz
Based on code by PuzzleDuck.
Original source and explaination: https://www.instructables.com/id/-Arduinolitics-Google-Analytics-on-Arduino/
*/
#include <ESP8266WiFi.h>
//#include "floatToString.h"