This file contains 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
/usr/local/Library/brew.rb: loading /usr/local/Library/Taps/homebrew-science/r.rb | |
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/readline.rb | |
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/libtiff.rb | |
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/jpeg.rb | |
/usr/local/Library/Taps/homebrew-science/r.rb: loading /usr/local/Library/Formula/readline.rb | |
/usr/local/Library/Taps/homebrew-science/r.rb: loading /usr/local/Library/Formula/libtiff.rb | |
/usr/local/Library/Taps/homebrew-science/r.rb: loading /usr/local/Library/Formula/jpeg.rb | |
/usr/local/Library/Taps/homebrew-science/r.rb: loading /usr/local/Library/Formula/gfortran.rb | |
==> Using Homebrew-provided fortran compiler. | |
This may be changed by setting the FC environment variable. |
This file contains 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
# Perl keywords | |
-A | |
$END | |
length | |
setpgrp | |
-B | |
endgrent | |
link | |
setpriority | |
-b |
This file contains 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
==> Using Homebrew-provided fortran compiler. | |
This may be changed by setting the FC environment variable. | |
==> Downloading https://github.com/xianyi/OpenBLAS/archive/v0.2.9.rc2.tar.gz | |
Already downloaded: /Library/Caches/Homebrew/openblas-0.2.9-rc2.tar.gz | |
==> make FC=/usr/local/bin/gfortran libs netlib shared | |
_main in libgfortranbegin.a(fmain.o) | |
ld: symbol(s) not found for architecture x86_64 | |
collect2: ld returned 1 exit status | |
make[1]: *** [libopenblas_sandybridgep-r0.2.9.rc2.dylib] Error 1 | |
make: *** [shared] Error 2 |
This file contains 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
var fs = require('fs'), | |
os = require('os'); | |
var assert = require('assert'), | |
expect = require('expect.js'), | |
should = require('should'); | |
describe('Test on I/O', function() { | |
it('write test', function() { | |
fs.writeFile('./text.txt', "Hello Node.js" + os.EOL, function(err) { |
This file contains 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
Sat Sep 19 06:23:48 +0800 2015 | |
./configure | |
--disable-dependency-tracking | |
--disable-silent-rules | |
--prefix=/home/u00ycl03/.linuxbrew/Cellar/gdbm/1.11 | |
checking for a BSD-compatible install... /usr/bin/install -c | |
checking whether build environment is sane... yes | |
checking for a thread-safe mkdir -p... /bin/mkdir -p |
This file contains 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
/* | |
Stack Manipulations without Function | |
Author: Michael Chen, 2018. | |
License: MIT. | |
*/ | |
#include <assert.h> | |
#include <stdbool.h> | |
#include <stdio.h> | |
#include <stdlib.h> |
This file contains 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
local Vector = {} | |
package.loaded['Vector'] = Vector | |
Vector.__index = Vector | |
Vector.__eq = function (a, b) | |
if type(a) ~= type(b) then | |
return false | |
end |
This file contains 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
local Matrix = {} | |
package.loaded["Matrix"] = Matrix | |
Matrix.__index = Matrix | |
Matrix.__eq = function (a, b) | |
assert(a:col() == b:col()) | |
assert(a:row() == b:row()) | |
for i = 1, a:col() do |
This file contains 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
local List = {} | |
package.loaded["List"] = List | |
List.__index = List | |
function List:new() | |
self = {} | |
self._arr = {} | |
setmetatable(self, List) | |
return self |
This file contains 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
local Node = {} | |
Node.__index = Node | |
function Node:new(data) | |
self = {} | |
self._data = data | |
self.prev = nil | |
self.next = nil | |
setmetatable(self, Node) |
OlderNewer