Skip to content

Instantly share code, notes, and snippets.

View markunsworth's full-sized avatar

Mark Unsworth markunsworth

View GitHub Profile
<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">
@markunsworth
markunsworth / tweetcounts.json
Last active December 6, 2018 15:12
Tweet Counts Resource
{
"tweet_counts": {
"positive": 12,
"negative": 67,
"neutral": 123,
"total": 202
}
}
{
"date": "2013-01-01T00:00:00Z",
"sentiment": {
"current": -19,
"previous": -4,
"change": -15
},
"volume": {
"change": 6
},
@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
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,
{
"demographics": {
"gender": {
"Male": 64,
"Female": 8,
"unspecified": 28
},
"location": {
"North America": 23,
"South America": 0,
{
"error": {
"errorCode": "400",
"errorMessages": [
"Missing parameter OAuth Consumer",
"Missing parameter OAuth Nonce",
"Missing parameter OAuth Signature"
]
}
}
{
"name": "ARM Holdings PLC",
"identifier": "$ARMH",
"startdate": "2012-12-31T00:00:00Z",
"enddate": "2013-01-02T00:00:00Z",
"datapoints": [
{
"date": "2013-01-01T00:00:00Z",
"sentiment": {
"current": -19,