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
| /Users/makoto/work/sample/ndkbox2dtest20090707/apps/box2dtest/project/src | |
| Unknown-00-21-e9-db-a7-d3:src makoto$ git status | |
| # On branch master | |
| # Changed but not updated: | |
| # (use "git add <file>..." to update what will be committed) | |
| # | |
| # modified: com/akjava/android/box2d/JBox2dControler.java | |
| # modified: com/akjava/android/box2d/NDKBox2dControler.java | |
| # modified: com/akjava/android/box2dtest/AbstractBox2dTestRender.java | |
| # modified: com/akjava/android/box2dtest/AndroidBox2dTest.java |
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
| /Users/makoto/work/sample/ndkbox2dtest20090707/apps/box2dtest/project/src | |
| Unknown-00-21-e9-db-a7-d3:src makoto$ git status | |
| # On branch master | |
| # Changed but not updated: | |
| # (use "git add <file>..." to update what will be committed) | |
| # | |
| # modified: com/akjava/android/box2d/JBox2dControler.java | |
| # modified: com/akjava/android/box2d/NDKBox2dControler.java | |
| # modified: com/akjava/android/box2dtest/AbstractBox2dTestRender.java | |
| # modified: com/akjava/android/box2dtest/AndroidBox2dTest.java |
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
| File formats: | |
| D. = Demuxing supported | |
| .E = Muxing supported | |
| -- | |
| E 3g2 3GP2 format | |
| E 3gp 3GP format | |
| D 4xm 4X Technologies format | |
| D IFF IFF format | |
| D ISS Funcom ISS format | |
| D MTV MTV format |
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
| /* MODELS */ | |
| var ProjectCollection = function(projects){ | |
| var self = this; | |
| var projects = projects; | |
| this.create = function(attrs){ | |
| projects.push(attrs) | |
| // might want to a bit of ajax here |
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 works as a bookmarklet, but I can't for the life of me work out how to capture the keypress away from Gmail's grasp */ | |
| javascript:(function(e,a,g,h,f,c,b,d){if(!(f=e.jQuery)||g>f.fn.jquery||h(f)){c=a.createElement("script");c.type="text/javascript";c.src="http://ajax.googleapis.com/ajax/libs/jquery/"+g+"/jquery.min.js";c.onload=c.onreadystatechange=function(){if(!b&&(!(d=this.readyState)||d=="loaded"||d=="complete")){h((f=e.jQuery).noConflict(1),b=1);f(c).remove()}};a.documentElement.childNodes[0].appendChild(c)}})(window,document,"1.3.2",function($,L){ | |
| var sigs = [ | |
| ['[email protected]', 'bamboo'], | |
| ['[email protected]', '5places'] | |
| ]; | |
| var iframe = $("#canvas_frame").contents(); | |
| function insert_sig() { | |
| var from = iframe.find('input[name="from"]').val(); | |
| if(from) { |
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
| jQuery.nginxUploadProgress = function(settings) { | |
| settings = jQuery.extend({ | |
| interval: 2000, | |
| progress_bar_id: "progressbar", | |
| nginx_progress_url: "/progress" | |
| }, settings); | |
| $("#upload").submit(function() { | |
| $('#'+settings['progress_bar_id']).width('0%'); |
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
| struct Panda | |
| { | |
| public static string Api_host = "api.pandastream.com"; | |
| public static string Api_version = "/v2"; | |
| public static string Cloud_ID = "yourCloudID"; | |
| public static string Access_key = "yourAccessKey"; | |
| public static string Secret_key = "yourSecretKey"; | |
| } | |
| [WebMethod] |
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
| Today we have deployed some very interesting improvements on our platform. Let's review them all. | |
| ## Custom output filename paths (store your files in subdirectories!) | |
| Many of you have requested a way to store video inside folders instead of having everything in the root of your bucket. | |
| We think we found a nice solution to solve this problem. | |
| When you upload a video there is now a new optional attribute called `path_format`. It enables you to specify destination and name of a video and it's encodings. | |
| The `path_format` variable is a string representing the complete video path without the extension name. It can be constructed using some provided keywords. |
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
| $(document).bind("afterReveal.facebox", function(){ | |
| var myOptions = { | |
| center: new google.maps.LatLng(51, 0), | |
| zoom: 11, | |
| mapTypeId: google.maps.MapTypeId.ROADMAP | |
| }; | |
| var map = new google.maps.Map(document.getElementById("map_div"), myOptions); | |
| }); |
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
| document.addEventListener('dragenter', stopPropagation, false); | |
| document.addEventListener('dragexit', stopPropagation, false); | |
| document.addEventListener('dragover', stopPropagation, false); | |
| document.addEventListener('drop', function (event) { | |
| // ALL THIS INSIDE THE "DROP" EVENT | |
| var fileReader = new FileReader(); | |