Skip to content

Instantly share code, notes, and snippets.

@sayar
sayar / app.js
Created June 5, 2016 00:45
Emotion API Node.js Sample Code
var request = require('request');
request({
method: 'POST',
url: 'https://api.projectoxford.ai/emotion/v1.0/recognize',
headers: {
'Content-Type': 'application/json',
'Ocp-Apim-Subscription-Key': 'PUT KEY HERE'
},
body: JSON.stringify({
@sayar
sayar / filter.css
Created March 13, 2015 19:00
Standard CSS3 Filters Example
img {
filter: grayscale(50%) opacity(10%);
}
@keyframes filter-animation {
0% {
filter: opacity(0);
}
50% {
filter: opacity(100%);
@sayar
sayar / yammer-group-download-all-images.js
Last active November 28, 2016 18:19 — forked from Saturate/yammer-group-download-all-files.js
Download all files in a Yammer.com group. You have to enable popups. Only tested in chrome.
/*
# How to use:
1. Navigate to the files tab (https://www.yammer.com/COMPANY/groups/GROUP/uploaded_files)
2. Press F12.
3. Paste script in console and run it.
4. Enjoy downloading files!
# Not working?
1. Enable popups