Skip to content

Instantly share code, notes, and snippets.

{
"following" : 2000,
"followers" : 105,
"username" : "EddyKo1",
"percent" : 0.0525
}
{
"following" : 2001,
"followers" : 129,
"username" : "MDavidBerry",
driver.FindElement(By.Id("Button_To_Click")).Click();
var wait = new WebDriverWait(driver, TimeSpan.FromSeconds(15)); //just make it longer then you think the Ajax call will take
//if this ajax call is seen before 15 seconds are up, the driver will stop waiting and create the ajaxItem object
var ajaxItem = wait.Until(driver => driver.FindElement(By.Id("Data_Holder_Name")));
<section class="admin" ng-class="{'shoved': siteNavService.navOpen}">
<ul class="collapsible popout" data-collapsible="expandable">
<li>
<div class="collapsible-header active"><i class="material-icons">verified_user</i>Accounts</div>
<div class="collapsible-body">
<div class="twitter-login-button">
<table class="hoverable centered">
<thead>
<tr>
<th>Account Name</th>
@jme900
jme900 / rule.js
Last active August 29, 2015 14:26 — forked from Samstiles/rule.js
(function () {
'use strict';
angular.module('eyesover')
.directive('rule', function () {
return {
scope: {
rule: '=ruleset'
},
replace: true,
@jme900
jme900 / rule.js
Last active August 29, 2015 14:26
(function () {
'use strict';
angular.module('eyesover')
.directive('rule', function () {
return {
scope: {
rule: '=ruleset'
},
replace: true,
@jme900
jme900 / facebook_comment.json
Last active August 29, 2015 14:20
MongoDB data structure
{
"comment_id" : "10153177244357110_10153177317587110",
"post_id" : "9106562109_10153177244357110",
"author" : {
"author_name" : "Kate Smith",
"perma_link" : "https://www.facebook.com/10154674411600425",
"thumbnail_link" : "https://graph.facebook.com/v2.1/10154674411600425/picture?type=small"
},
"content" : "When the Canadian Taxpayers Federation gives praise, it's a good budget.",
"date_published" : "2015-04-22T22:52:38+0000",
@jme900
jme900 / facebook.json
Last active August 29, 2015 14:20
UI data structure
{
"type" : "facebook",
"content" : "When the Canadian Taxpayers Federation gives praise, it's a good budget.",
"author" : {
"username" : "Kate Smith",
"profile_url" : "https://www.facebook.com/10154674411600425",
"image_url" : "https://graph.facebook.com/v2.1/10154674411600425/picture?type=small"
},
"date_submitted" : "2015-04-22T22:52:38+0000",
"like_count" : 40,