Skip to content

Instantly share code, notes, and snippets.

@NoelOConnell
NoelOConnell / DataStoreItem.cs
Last active July 27, 2020 21:10
IDataStore using Azure Table Storage for google-api-dotnet-client
public class DataStoreItem: TableEntity
{
public string Value { get; set; }
}
{
'grouping': '', // Options: 'country', 'category'
'target': '_top' // Options: '_top', '_self'
'countryCode': '' // Only display jobs from a certain Country: Two-letter country codes defined in ISO 3166-1. eg 'US', 'IE', 'CA',
'category': // Only display jobs from a certain Category: 'tech', 'sales and marketing'
}
@NoelOConnell
NoelOConnell / list.css
Last active March 4, 2016 21:40
NativeScript margin not taking effect on Android
SearchBar {
background-color: white;
margin: 8;
}
GridLayout {
margin: 7;
}
.wrapper {
@NoelOConnell
NoelOConnell / insensitiveIndexOf.js
Created October 12, 2015 11:03
Insensitive indexOf
String.prototype.indexOfInsensitive = function (s, b) {
return this.toLowerCase().indexOf(s.toLowerCase(), b);
}
@NoelOConnell
NoelOConnell / digests.js
Last active October 12, 2015 11:02
Count AngularJs Digests
var nbDigest = 0;
$rootScope.$watch(function () {
nbDigest++;
console.log(nbDigest);
});