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
Failures: | |
1) Reek::Smells::FeatureEnvy when a smell is reported reports only that smell | |
Failure/Error: Reek::Examiner.new(src, ['FeatureEnvy']).smells | |
ArgumentError: | |
Unknown smell type Reek::Smells::IrresponsibleModule found in configuration | |
# ./lib/reek/smells/smell_repository.rb:30:in `configure' | |
# ./lib/reek/smells/smell_repository.rb:24:in `block in initialize' | |
# ./lib/reek/smells/smell_repository.rb:23:in `each' | |
# ./lib/reek/smells/smell_repository.rb:23:in `initialize' |
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
// File name: projects/02/CheckZero16.tst | |
load CheckZero16.hdl, | |
output-file CheckZero16.out, | |
compare-to CheckZero16.cmp, | |
output-list in%B1.16.1 zero%B1.1.1 nonzero%B1.1.1; | |
set in %B0000000000000000, | |
eval, |
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
// This file is part of www.nand2tetris.org | |
// and the book "The Elements of Computing Systems" | |
// by Nisan and Schocken, MIT Press. | |
// File name: projects/02/Adder16.hdl | |
/* | |
* Adds two 16-bit values. | |
* The most-significant carry bit is ignored. | |
*/ |
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
| in | zero | nonzero | | |
| 0000000000000000 | 1 | 0 | | |
| 1000000000000000 | 0 | 1 | | |
| 0100000000000000 | 0 | 1 | | |
| 0010000000000000 | 0 | 1 | | |
| 0001000000000000 | 0 | 1 | | |
| 0000100000000000 | 0 | 1 | | |
| 0000010000000000 | 0 | 1 | | |
| 0000001000000000 | 0 | 1 | | |
| 0000000100000000 | 0 | 1 | |
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
# This does not support http URIs yet | |
#due for Berkeley course note that due time should be time in Boston(Berkeley time + 3) format YYYYMMDDHHMMSS | |
#when in doubt leave Seconds portions=00 | |
assign-1-queue: | |
name: "cs169-rev-production" | |
type: WeightedRspecGrader | |
#due: 20121016031500 | |
#due: 20140128120001 | |
due: 20141016235959 | |
grace_period: 7 |
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
class Parser | |
def initialize(array=nil) | |
@array = array | |
end | |
def hasMoreCommands | |
!@array.nil? and @array.size > 0 | |
end | |
end | |
raise "default parser should not have any commands" if Parser.new().hasMoreCommands == true |
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
I did a bit of research on non-profit status in the US- it's an involved process. It will take some time and thought on how you would structure the entity. Here's a basic idea of the process: | |
-Decide on your structure. You will have to have a charter or articles of incorporation which state what your primary purpose is and what your intentions are. The basic idea is something like 'we will perform x services or produce x product for x industry'. Usually there is language that leaves an open loophole like 'in addition to our stated purposes we may pursue other legal means of revenue' or something like that (at least with for-profit companies). The articles may establish the initial board members as well as officers, or at least when and how they will be appointed/elected in the future (varies depending on state law). There are typically several clauses of legalese that establish limited liability and several other boring but necessary things. As a non-profit you will have to operate with a board of directors |
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
[sam@SamHPUMBP:~/Documents/Github/saasbook/saasbook (master)]$ make pdf WATERMARK='Indra Nurdjaja\\inurjaya@gmail.com' | |
pdflatex saasbook_pdf | |
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013) | |
restricted \write18 enabled. | |
entering extended mode | |
(./saasbook_pdf.tex | |
LaTeX2e <2011/06/27> | |
Babel <3.9f> and hyphenation patterns for 78 languages loaded. | |
(./textbook.cls | |
Document Class: textbook 2011/08/02 v0.9 Custom LaTeX document class by Armando |
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
[sam@SamHPUMBP:~/Documents/Github/LocalSupport (develop)]$ bundle exec rake spec | |
NOTICE: CREATE TABLE will create implicit sequence "categories_id_seq" for serial column "categories.id" | |
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "categories_pkey" for table "categories" | |
NOTICE: CREATE TABLE will create implicit sequence "categories_organizations_id_seq" for serial column "categories_organizations.id" | |
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "categories_organizations_pkey" for table "categories_organizations" | |
NOTICE: CREATE TABLE will create implicit sequence "organizations_id_seq" for serial column "organizations.id" | |
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "organizations_pkey" for table "organizations" | |
NOTICE: CREATE TABLE will create implicit sequence "pages_id_seq" for serial column "pages.id" | |
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "pages_pkey" for table "pages" | |
NOTICE: CREATE TABLE will create implicit sequence "us |
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
2014-05-17 18:29:13+0000 [-] 89.16.155.121 - - [17/May/2014:18:29:13 +0000] "POST /e/s?r=de3a1b7dcb8d58bcbbbb849d6d37f43b&t=39024 HTTP/1.1" 200 44 "https://cs1692x.moocforums.org:9001/?channels=%23CS_CS169.1x&nick=neumdan" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.131 Safari/537.36" | |
2014-05-17 18:29:13+0000 [TimeoutHTTPChannel (TLSMemoryBIOProtocol),1018977,68.62.27.113] Unhandled Error | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/dist-packages/twisted/protocols/basic.py", line 564, in dataReceived | |
File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 1557, in lineReceived | |
File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 1624, in allContentReceived | |
File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 773, in requestReceived |
OlderNewer