Skip to content

Instantly share code, notes, and snippets.

View akatz's full-sized avatar

Avrohom Katz akatz

  • ShopKeep POS
  • Brooklyn, NY
View GitHub Profile
1241 def validate
1242 if self.scheme != nil &&
1243 (self.host == nil || self.host == "") &&
1244 (self.path == nil || self.path == "")
1245 raise InvalidURIError,
1246 "Absolute URI missing hierarchical segment."
1247 end
$('#button-submit-login').click(function(){
if($('#form-login-fields').is(':hidden')){
$('#button-register').hide();
$('#form-login-fields').show("slide",{
direction: "right"
},1500, fucntion(){
// callback function goes here
});
}
else{
* Checking nginx' configuration ...
2008/09/24 15:10:20 [warn] 28705#0: conflicting server name "_" on 0.0.0.0:80, ignored
2008/09/24 15:10:20 [warn] 28705#0: conflicting server name "_" on 0.0.0.0:80, ignored
2008/09/24 15:10:20 [info] 28705#0: the configuration file /etc/nginx/nginx.conf syntax is ok
2008/09/24 15:10:20 [info] 28705#0: the configuration file /etc/nginx/nginx.conf was tested successfully [ ok ]
* Stopping nginx ... [ ok ]
* Checking nginx' configuration ...
2008/09/24 15:10:21 [warn] 28742#0: conflicting server name "_" on 0.0.0.0:80, ignored
2008/09/24 15:10:21 [warn] 28742#0:
$ merb-gen resource file
Generating with resource generator:
[IDENTICAL] spec/models/file_spec.rb
[CONFLICT] app/models/file.rb
1. skip
2. overwrite
3. render
4. diff
5. abort
How do you wish to proceed with this file?
The SSL Process goes like this:
1. You provide us with the following details, which I use in step 2:
1.1 Domain name, company name, city, state, country, contact email address
2. We generate you a certificate signing request (CSR) and private key.
3. You go to a signing authority (we recommend GeoTrust) and pay for a certificate, giving them the CSR when requested. If asked for server type, specify Apache.
4. You receive a signed certificate, which you pass on to us in a ticket (or place on one of your slices).
5. We set up Nginx to use that certificate.
Gem::Exception: can't activate activerecord (>= 1.10.1, runtime), already activated activerecord-2.1.1
location / {
index index.php;
if (!-e $request_filename) {
rewrite ^([_0-9a-zA-Z-]+)?(/wp-.*) $2 break; # NOTE BREAK
rewrite ^([_0-9a-zA-Z-]+)?(/.*\.php)$ $2 last;
rewrite ^ /index.php last;
}
}
01010111011001010010011101110010
01100101001000000110111001101111
00100000011100110111010001110010
01100001011011100110011101100101
01110010011100110010000001110100
01101111001000000110110001101111
01110110011001010000110100001010
01011001011011110111010100100000
01101011011011100110111101110111
00100000011101000110100001100101
01010111011001010010011101110010
01100101001000000110111001101111
00100000011100110111010001110010
01100001011011100110011101100101
01110010011100110010000001110100
01101111001000000110110001101111
01110110011001010000110100001010
01011001011011110111010100100000
01101011011011100110111101110111
00100000011101000110100001100101