php complexity.php filename
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
| sort by avg_time | |
| avg total count method path | |
| 9.46 2753.95 291 GET /ticket/1 | |
| 5.28 1510.27 286 GET /artist/1 | |
| 4.54 1329.08 293 GET / | |
| 4.37 454.62 104 POST /buy | |
| 3.82 3.82 1 GET /admin/order.csv | |
| 1.22 2.45 2 POST /admin | |
| 0.15 0.15 1 GET /artist/2 | |
| 0.03 4.28 130 GET /js/jquery-ui-1.8.24.custom.min.js |
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
| % brew install rbenv | |
| Warning: rbenv-0.4.0 already installed | |
| /Users/atsushi/prog/coursera/ex3-003/mlclass-ex3% brew install octave [master atsushi:~/prog/coursera/ex3-003/mlclass-ex3] | |
| ==> Installing dependencies for octave: gnu-sed, texinfo, fftw, readline, tbb, suite-sparse, glpk, libtool, jpeg, libpng, freetype, graphicsmagick, szip, hdf5, pcre, cmake, qhull, gmp, mpfr, | |
| ==> Installing octave dependency: gnu-sed | |
| ==> Downloading http://ftpmirror.gnu.org/sed/sed-4.2.2.tar.bz2 | |
| ######################################################################## 100.0% | |
| ==> ./configure --prefix=/usr/local/Cellar/gnu-sed/4.2.2 --program-prefix=g | |
| ==> make install | |
| ==> Caveats |
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
| 曲線フィッティング | |
| オリジナル | |
| http://jsfiddle.net/yBHac/1/ | |
| とりあえずJSをJSペインに分割 | |
| http://jsfiddle.net/SM2Kz/ |
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
| <?php | |
| class ClosureCompraisonTest extends PHPUnit_Framework_TestCase | |
| { | |
| // passes. WTF??? | |
| public function test_assertEquals() | |
| { | |
| $f1 = function () { return 1; }; | |
| $f2 = function () { return 2; }; | |
| $this->assertEquals($f1, $f2); |
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
| diff --git a/htdocs/source/js/pre-login.js b/htdocs/source/js/pre-login.js | |
| index 2835a85..d532175 100644 | |
| --- a/htdocs/source/js/pre-login.js | |
| +++ b/htdocs/source/js/pre-login.js | |
| @@ -183,6 +183,7 @@ var brick = { | |
| function loop() { | |
| var start_position = position, i = 0, width = 0, height, r = [], w = [], list, item, data, right_margin, target, current_width = 0, top; | |
| + var rsum = 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
| /* | |
| * Apple System Management Control (SMC) Tool | |
| * Copyright (C) 2006 devnull | |
| * | |
| * This program is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU General Public License | |
| * as published by the Free Software Foundation; either version 2 | |
| * of the License, or (at your option) any later version. | |
| * This program is distributed in the hope that it will be useful, |
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 <Cocoa/Cocoa.h> | |
| #include <stdio.h> | |
| #include <time.h> | |
| #include <dispatch/dispatch.h> | |
| #include <curl/curl.h> | |
| #define MAXLINE 512 | |
| CFMachPortRef eventTap; |
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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include "librtmp/rtmp.h" | |
| int main(int argc, char *argv[]) { | |
| if (argc < 3) { | |
| printf("usage : %s url ticket\n", argv[0]); | |
| return 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
| /*** | |
| P R O C E S S I N G . J S - 1.3.0 | |
| a port of the Processing visualization language | |
| Processing.js is licensed under the MIT License, see LICENSE. | |
| For a list of copyright holders, please refer to AUTHORS. | |
| http://processingjs.org |