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
image_pixels = list(image.getdata()) | |
avg_pixel_value = float(sum(pixels)) / len(pixels) |
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
import hashlib | |
bin1 = '1111' | |
bin2 = '1110' | |
bin1_as_char = chr(int(bin1, 2)) | |
bin2_as_char = chr(int(bin2, 2)) | |
print hashlib.md5(bin1_as_char).hexdigest() | |
print hashlib.md5(bin2_as_char).hexdigest() |
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
{ | |
"status": 0, | |
"substatus": 0, | |
"value": { | |
"dimensions": [{ | |
"name": "app", | |
"display_name": "App", | |
"values": [{ | |
"display_name": "APP 1", | |
"name": "app-1" |
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
https://api.singular.net/api/v2.0/reporting?api_key={ENTER_YOUR_API_KEY}&app=Fun-App1,Fun-App2&source=facebook,twitter,pinterest |
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
&app=Fun-App1,Fun-App2&source=facebook,twitter,pinterest |
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
&app=Fun-App1,Fun-App2&source=facebook,twitter,pinterest |
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
<script> | |
$urx.setApiKey("Rd1519_TuwzGQZkbDtQESD9gOKlOb6tN2NX9KsMbntOiAaybLRWUAnsNlA_ZpHE=.Rd1519_TuwzGQZkbDtQESD9gOKlOb6tN"); | |
var domainFilter = " domain:lyft.com" | |
$urx.search(domainFilter, function(response) { | |
var searchResult = response.results[0]; | |
}, function(req, errorMessage){ | |
// SEARCH FAILURE HANDLER | |
console.log(errorMessage); | |
}); | |
</script> |
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
result": [ | |
{ | |
"@context": "http://schema.org", | |
"@type": "Thing", | |
"description": "Allegedly \"shrouded in mystery\" despite a social media presence (with accompanying photos) on Twitter, Tumblr, Facebook, Soundcloud, and YouTube, as well as major support from fellow Torontonian Drake, alternative R&B act the Weeknd -- a solo outlet for vocalist Abel Tesfaye -- surfaced in March 2011 with House of Balloons.", | |
"image": "https://img.urx.io/img?url=http%3A%2F%2Fo.scdn.co%2Fcover%2F2adb640684adf725303a89f6e132f036f30c82e0", | |
"name": "The Weeknd", | |
"potentialAction": { | |
"@type": "ListenAction", | |
"description": "Listen", |
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": [ | |
"http://schema.org/", | |
"http://vocabs.urx.io/" | |
], | |
"@type": "SearchAction", | |
"actionStatus": "CompletedActionStatus", | |
"query": "ed sheeran domain:spotify.com", | |
"result": [ | |
{ |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
</head> | |
<body> | |
<div class="aritcle-title"> | |
<h1>Drake Releases New Album</h1> | |
</div> | |
<img src="http://static.urx.io/units/web/urx-unit-loader.gif" style="display:none;" onload=" | |
var a=document.createElement('script');a.setAttribute('src','//static.urx.io/units/web/1bff0e8c-7440-4227-8d9c-bd89518d33e9.min.js'),this.parentNode.insertBefore(a,this);"> |
NewerOlder