Skip to content

Instantly share code, notes, and snippets.

perl cloc-1.53.pl ~/Dropbox/NetBeansProjects/giftingapp
386 text files.
376 unique files.
115 files ignored.
http://cloc.sourceforge.net v 1.53 T=2.0 s (135.5 files/s, 20357.5 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
PHP 245 3613 6167 25340
perl cloc-1.53.pl ~/Dropbox/NetBeansProjects/fangiftshop
1377 text files.
1305 unique files.
718 files ignored.
http://cloc.sourceforge.net v 1.53 T=5.0 s (150.8 files/s, 42064.2 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
PHP 486 13638 26543 75465
perl cloc-1.53.pl --progress=100 ~/Dropbox/
29731 text files.
16843 unique files.
60355 files ignored.
http://cloc.sourceforge.net v 1.53 T=163.0 s (74.2 files/s, 20218.9 lines/s)
--------------------------------------------------------------------------------
Language files blank comment code
--------------------------------------------------------------------------------
PHP 4011 90440 245040 726947
@matthusby
matthusby / gist:1169211
Created August 24, 2011 20:58
AppController.j
/*
* AppController.j
* animationTest
*
* Created by Matthusby on June 23, 2011.
*/
@import <Foundation/CPObject.j>
@import <AppKit/AppKit.j>
@import "MyView.j"
@matthusby
matthusby / gist:1169217
Created August 24, 2011 20:59
MyView.j
@implementation MyView : CPView
{
CALayer _rootLayer;
}
- (id)initWithFrame:(CGRect)aFrame
{
self = [super initWithFrame:aFrame];
if (self)
{
lists:foreach(fun([Meeting]) ->
lists:foreach(fun([Participant])) ->
spawn(twilio,make_call, ["4143759009", Participant:phone_number(), [{"Url", "http://3anc.localtunnel.com/twilio/call/id/" ++ Meeting:id()}]]),
end, Meeting:participants())
end, Meetings).
<iframe
src="//www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwww.meet-meme.com%2Fcards%2Fholiday%2F&amp;send=false&amp;layout=box_count&amp;width=50&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;appId= 126758570707850"
scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px; height:70px;" allowTransparency="true"></iframe>
success: function(data){
setTimeout(function(){
for (var i = 0; i < data.objects.length; i++){
var t = new Todo({
id: data.objects[i].id,
text: data.objects[i].text,
done: data.objects[i].done,
order: data.objects[i].order
});
if(typeof(Todos.get(t.id)) != "object"){
success: function(data){
setTimeout(function(){
for (var i = 0; i < data.objects.length; i++){
var t = new Todo({
id: data.objects[i].id,
text: data.objects[i].text,
done: data.objects[i].done,
order: data.objects[i].order
});
if(typeof(Todos.get(t.id)) != "object"){
-module(general_lib).
-compile(export_all).
-define(SECRET, "SOMETEXTHERE").
time_as_string() ->
{MegaSeconds, Seconds, MicroSeconds} = erlang:now(),
integer_to_list(MegaSeconds) ++ integer_to_list(Seconds) ++ integer_to_list(MicroSeconds).
time_as_seconds() ->