start new:
tmux
start new with session name:
tmux new -s myname
#Model | |
@user.should have(1).error_on(:username) # Checks whether there is an error in username | |
@user.errors[:username].should include("can't be blank") # check for the error message | |
#Rendering | |
response.should render_template(:index) | |
#Redirecting | |
response.should redirect_to(movies_path) |
Write a program that does what it’s supposed to do | |
Write idiomatic code | |
Debug a program that you wrote | |
Debug a program someone else wrote | |
Debug the interaction between a system you wrote and one you didn’t | |
File a good bug report | |
Modify a program you didn’t write | |
Test a program you wrote | |
Test a program you didn’t write | |
Learn a new programming language |
Domains | |
s=Symbol* | |
c=s(Symbol,Symbol,Symbol,Symbol,Symbol) | |
c1=c* | |
Predicates | |
perm(s1, s1) | |
e1(Symbol, s1, s1) | |
r(INTEGER, c1) | |
solutie(c1) |
Domains | |
s=Symbol* | |
c=s(Symbol,Symbol,Symbol,Symbol,Symbol) | |
c1=c* | |
Predicates | |
perm(s1, s1) | |
e1(Symbol, s1, s1) | |
r(INTEGER, c1) | |
solutie(c1) |
This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.
###Array ####Definition: