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
describe "Using a fake server for Ajax", -> | |
server = null | |
beforeEach -> server = sinon.fakeServer.create() | |
afterEach -> server.restore() | |
context "when Ajax succeeds", -> | |
beforeEach -> respondWithJSON("/url/123", 200, '{"city": "Palm Springs"}') | |
it "does stuff", -> | |
server.respond() |
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
# Bash/terminal customization. See man bash(1) | |
export PS1="\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\n\$ " | |
export HISTCONTROL=erasedups | |
export HISTSIZE=10000 | |
# This ensures that when you exit a shell, the history | |
# from that session is _appended_ to ~/.bash_history. Without this, | |
# you might very well lose the history of entire sessions (rather weird | |
# that this is not enabled by default). | |
shopt -s histappend |
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
kardemumma |
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
gem install ripper-tags | |
rbenv rehash | |
ripper-tags -f .tags -R --exclude=.git --exclude=log . $(bundle list --paths) | |
# Relative paths may be better when only generating for project: | |
ripper-tags -f .tags -R --exclude=.git --exclude=log --tag-relative . | |
# | |
# OLD using https://github.com/fishman/ctags: |
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
diff --git a/suitescripts/models/customer.js.coffee b/suitescripts/models/customer.js.coffee | |
index d361731..e736bcd 100644 | |
--- a/suitescripts/models/customer.js.coffee | |
+++ b/suitescripts/models/customer.js.coffee | |
@@ -18,8 +18,8 @@ Hook.get('lead').validate('phone', Validator.phone) | |
Hook.get('prospect').rewrite('custentity_ssn', Validator.rewrite_org_ssn) | |
Hook.get('prospect').validate('custentity_ssn', Validator.org_ssn) | |
-Hook.get('prospect').validate(Validator.at_least_one_address) | |
-Hook.get('prospect').validate(Validator.address) |
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
commit 2232eebb66837edb93b8f96d582c645a8a91f981 | |
Author: Johan Lundström <johanlunds@gmail.com> | |
Date: Mon Feb 23 20:45:42 2015 +0100 | |
WIP breakpoints (buggy) | |
diff --git a/lib/breakpoint-manager.coffee b/lib/breakpoint-manager.coffee | |
new file mode 100644 | |
index 0000000..4ae0165 | |
--- /dev/null |
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
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Document</title> | |
</head> | |
<body> | |
<form accept-charset="UTF-8" action="http://localhost:3000/care/session/login" class="form-login simple_form new_contact" id="new_contact" method="post"> | |
<fieldset> | |
<span class="title"><img src="http://apoex.se/wp-content/themes/apoex/images/img-ico.png" width="16" height="18" alt="image description"> Logga in</span> | |
<div class="row control-group"> |
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
CONNECTED(00000003) | |
--- | |
Certificate chain | |
0 s:/C=SE/ST=Sweden/L=Stockholm/O=Stockholms Regiondjursjukhus/OU=Albano/CN=albano.lager.apoex.se | |
i:/C=SE/ST=Stockholm/L=Stockholm/O=ApoEx/OU=Kundlager/CN=ApoEx/emailAddress=helpdesk@apoex.se | |
1 s:/C=SE/ST=Stockholm/L=Stockholm/O=ApoEx/OU=Kundlager/CN=ApoEx/emailAddress=helpdesk@apoex.se | |
i:/C=SE/ST=Stockholm/L=Stockholm/O=ApoEx/OU=Kundlager/CN=ApoEx/emailAddress=helpdesk@apoex.se | |
--- | |
Server certificate | |
-----BEGIN CERTIFICATE----- |
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
depth=1 /C=SE/ST=Stockholm/L=Stockholm/O=ApoEx/OU=Kundlager/CN=ApoEx/emailAddress=helpdesk@apoex.se | |
verify error:num=19:self signed certificate in certificate chain | |
verify return:0 | |
CONNECTED(00000003) | |
--- | |
Certificate chain | |
0 s:/C=SE/ST=Sweden/L=Stockholm/O=Stockholms Regiondjursjukhus/OU=Albano/CN=albano.lager.apoex.se | |
i:/C=SE/ST=Stockholm/L=Stockholm/O=ApoEx/OU=Kundlager/CN=ApoEx/emailAddress=helpdesk@apoex.se | |
1 s:/C=SE/ST=Stockholm/L=Stockholm/O=ApoEx/OU=Kundlager/CN=ApoEx/emailAddress=helpdesk@apoex.se | |
i:/C=SE/ST=Stockholm/L=Stockholm/O=ApoEx/OU=Kundlager/CN=ApoEx/emailAddress=helpdesk@apoex.se |
OlderNewer