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 src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | |
| <script> | |
| $(document).ready(function() { | |
| var shortcut = document.location.hash.replace('#',''); | |
| if (shortcut.length) { | |
| $.getJSON("http://api.getchute.com/v1/assets/" + shortcut + "?callback=?", function(data){ | |
| $('body').html('<img src=' + data.data.url + ' />') | |
| }); | |
| } | |
| }); |
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
| #memeModal{ | |
| border-radius: 0; | |
| background-image: none; | |
| padding: 0; | |
| margin-left: -210px; | |
| width: 420px; | |
| padding: 5px; | |
| background-color: #fff; | |
| } | |
| #memeModal .meme-image-container{ |
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
| <!-- This HTML can be used as a base page --> | |
| <html> | |
| <body> | |
| <select id='trays'></select> | |
| <div class="stage"> | |
| <div id='tray'> | |
| </div> | |
| <div class="preview canvas"> |
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> | |
| <head> | |
| <title>TinyMeme: Lenovo</title> | |
| <script id="traysTemplate" type="text/x-jquery-tmpl"> | |
| {{#data}} | |
| <option value="{{id}}" data-name="{{name}}">{{name}}</option> | |
| {{/data}} | |
| </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
| 'data' => { | |
| 'files' => [ | |
| { | |
| 'filename' => 'file.name', | |
| 'md5' => 'MD5', | |
| 'size' => 12345 | |
| } | |
| ], | |
| 'chutes' => [] | |
| } |
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
| { | |
| "data": { | |
| "chute": { | |
| "id": 285406, | |
| "user": { | |
| "id": 729, | |
| "name": null, | |
| "username": null, | |
| "avatar": "http://static.getchute.com/v1/images/avatar-100x100.png" | |
| }, |
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
| 'x-client_id' : 'ABCDEFGHIJKLMNOPQRSTUV' // Your Apps Client ID | |
| 'Authorization': 'OAuth ABCDEFGHIJKLMNOPQRSTUV' // Your OAuth Access Token |
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
| // ----------------------------------------------------------- | |
| // Sample Upload Data | |
| // ----------------------------------------------------------- | |
| // time - Timestamp for the upload | |
| // moderated - Boolean indicating if upload was moderated | |
| // asset - Array of Asset Hashes | |
| // ----------------------------------------------------------- | |
| { | |
| time: 1335624522.467072, // Timestamp | |
| moderated: false, // Boolean indicating if the asset has been published |
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
| { | |
| "data": { | |
| "id": 972079, | |
| "url": "http://media.getchute.com/media/44SHdnlc", | |
| "is_portrait": true, | |
| "name": "", | |
| "created_at": "2012-04-18T21:15:35Z", | |
| "updated_at": "2012-04-18T21:15:35Z", | |
| "height": 453, | |
| "width": 604, |
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
| { | |
| "data": { | |
| "id": 285406, | |
| "user": { | |
| "id": 729, | |
| "name": null, | |
| "username": null, | |
| "avatar": null | |
| }, | |
| "name": "Samples", |
NewerOlder