Skip to content

Instantly share code, notes, and snippets.

View markunsworth's full-sized avatar

Mark Unsworth markunsworth

View GitHub Profile
@markunsworth
markunsworth / tweetcounts.json
Last active December 6, 2018 15:12
Tweet Counts Resource
{
"tweet_counts": {
"positive": 12,
"negative": 67,
"neutral": 123,
"total": 202
}
}
@markunsworth
markunsworth / hosts.erb
Created March 21, 2016 11:42
Hosts Template override for opsworks_stack_state_sync cookbook.
# This file was generated by OpsWorks
# any manual changes will be removed on the next update.
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
<html>
<body>
<div class="container">
<div class=" app-container">
<div id="ARMH " class="tweets-view-container ">
<ul class="tweets-list ">
<li class="tweet-container">
<div class="tweet-title-container">
<a href="https://twitter.com/intent/user?screen_name=HalftimeReport">
name:ARM Holdings PLC
identifier:ARM.L
tweet:id:114749583439036416
tweet:id_str:114749583439036416
tweet:id:114749583439036414
tweet:id_str:114749583439036414
<response>
<name>Netflix Inc</name>
<identifier>$NFLX</identifier>
<tweets>
<tweet>
<id>114749583439036416</id>
<id_str>114749583439036416</id_str>
</tweet>
<tweet>
<id>114749583439036416</id>
{
"name": "Netflix Inc",
"identifier": "$NFLX",
"tweets": [
{
"id": 114749583439036416,
"id_str": "114749583439036416",
},
{
"id": 114749583439036336,
{
"error": {
"errorCode": "400",
"errorMessages": [
"Missing parameter OAuth Consumer",
"Missing parameter OAuth Nonce",
"Missing parameter OAuth Signature"
]
}
}
name:ARM Holdings PLC
identifier:ARM.L
startdate:2013-01-01T00:00:00Z
enddate:2013-01-01T00:00:00Z
date:2013-01-01T00:00:00Z
theme:title:this is the title of the theme
theme:title:this is another theme’s title
date:2013-01-02T00:00:00Z
<response>
<name>ARM Holdings PLC</name>
<identifier>$ARMH</identifier>
<startdate>2013-01-01T00:00:00Z</startdate>
<enddate>2013-01-01T00:00:00Z</enddate>
<dailythemes>
<dailytheme>
<date>2013-01-01T00:00:00Z</date>
<themes>
<theme>
{
"name": "ARM Holdings PLC",
"identifier": "$ARMH",
"startdate": "2013-01-01T00:00:00Z",
"enddate": "2013-01-01T00:00:00Z",
"dailythemes": [
{
"date": "2013-01-01T00:00:00Z",
"themes": [
{