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
class Account < ActiveRecord::Base | |
[ | |
:discovery, | |
:list_connect_tokens, | |
:get_connect_token, | |
:add_connect_token, | |
:delete_connect_token, | |
:list_oauth_providers, | |
:get_oauth_provider, | |
:add_oauth_provider, |
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
# Stores and retrieves messages to be expired on a given date | |
# | |
# Messages can be added, removed, and expired. The actual removal | |
# of the messages from the user's account is not handled here. | |
# | |
class MessageExpiration | |
attr_reader :eea_id | |
def inititialize(eea_id) | |
@eea_id = eea_id |
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
vegas_chatter | brisbane_times_league_hq | |
---|---|---|
the_dees_nursery | brisbane_times_league_hq | |
the_dees_nursery | vegas_chatter | |
wine_enthusiast | wineexpresscom | |
national_times | wa_today_league_hq | |
toysrus | babiesrus | |
oshkoshbgosh | carters | |
womenshealth | prevention | |
casualmalexl | livingxl | |
mtv | nickelodeon |
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
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
</head> | |
<body style="width: 100% !important; margin: 0; padding: 0; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%;"> | |
<table cellpadding="0" cellspacing="0" border="0" align="center"> | |
<tbody> | |
<tr> | |
<td valign="top"><h1 style="color: black !important;">Welcome to our AWESOME NEW WEB SERVICE!</h1></td> | |
</tr> |
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
# Option 1 | |
if eea_exists? | |
if eea_uses_something? | |
if eea_ever_used_application? | |
if eea_currently_uses_application? | |
recreate_eea; reactivate_application_for_eea; create_session; #13S | |
else | |
recreate_eea; reactivate_application_for_eea; create_session; #13S | |
end |
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
/* Handle content. */ | |
while (http.connected()) | |
{ | |
while (http.available() > 0) | |
{ | |
uint8_t byte = http.read(); | |
if (!success) | |
Serial.write(byte); |
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 <Arduino.h> | |
String resp; | |
void setup() { | |
Serial.begin(9600); | |
Serial.write("\r\n"); | |
Serial.println("-----------------------"); | |
Serial.println("Arduino Context.IO demo"); |
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
void set_color(int color, int redPin, int greenPin) | |
{ | |
int centrality = abs(128 - color); | |
int augmentation = floor((128 - centrality) / 5); | |
analogWrite(redPin, color+augmentation); | |
analogWrite(greenPin, 255-color+augmentation); | |
} |
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
context "current user exists, user is not currently using this application" do | |
# Redirects to Application > Email Addresses, prompts to activate application | |
end | |
context "current user exists, user is currently using this application" do | |
# Redirects to Application > (root) | |
end | |
context "no current user, EEA doesn't exist (8L)" do | |
# Redirects to account_to_found |
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
set default_parallel 12; | |
sls_watchlist = LOAD 's3://oib-mapreduce-rmichael/sls_watchlist_dumps' AS ( | |
domain: chararray, | |
subject_line: chararray, | |
campaign_group: chararray, | |
mail_campaign_id: chararray, | |
hour: int | |
); |
OlderNewer