Skip to content

Instantly share code, notes, and snippets.

Person Load (0.4ms) SELECT * FROM `people` LIMIT 1
Tag Load (0.2ms) SELECT * FROM `tags` WHERE (`tags`.person_id = 1 AND (person_id IN('--- !ruby/object:Proc {}
')))
# == Schema Information
#
# Table name: person_login_logs
#
# id :integer(4) not null, primary key
# person_id :integer(4)
# login :datetime
# logout :datetime
# created_at :datetime
# updated_at :datetime
No route matches {:action=>"detail", :controller=>"admin/orders", :order_id=>1}
namespace :admin do
root :to => "dashboards#index"
resources :orders do
member do
get :detail
end
Adresa MX serveru Priorita
ASPMX.L.GOOGLE.COM. 10
ALT1.ASPMX.L.GOOGLE.COM. 20
ALT2.ASPMX.L.GOOGLE.COM. 20
ASPMX2.GOOGLEMAIL.COM. 30
ASPMX3.GOOGLEMAIL.COM. 30
ASPMX4.GOOGLEMAIL.COM. 30
ASPMX5.GOOGLEMAIL.COM. 30
## php
function CSignature($privatni, $heslo){
$fp = fopen($privatni, "r");
$this->privatni = fread($fp, filesize($privatni));
fclose($fp);
$this->heslo=$heslo;
}
function sign($text){
Pupca@Pupcas-Mac:~/projects/orlik test$ heavenly push branch test to test
[error] Could not find any configuration for branch test.
Pupca@Pupcas-Mac:~/projects/orlik test$ git branch
devel
master
* test
require "rubygems"
require 'httparty'
require 'json'
class NilClass
def method_missing(method, *args)
p method
method = method.to_s.gsub("_",".")
method = method.to_s.gsub(/\/(.?)/) { "::#{$1.upcase}" }.gsub(/(?:^|_)(.)/) { $1.upcase } #Thanks for the gsub, Rails
method = method[0].chr.downcase + method[1..-1].gsub(/aim$/i, 'AIM')
pupca:~/projects/aaa master$ rvm list
rvm rubies
ruby-1.8.7-p330 [ x86_64 ]
=> ruby-1.9.2-p0 [ x86_64 ]
ruby-1.9.2-p136 [ x86_64 ]
pupca:~/projects/aaa master$ rails console
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:827:in `report_activate_error': Could not find RubyGem rails (>= 0) (Gem::LoadError)
<%= link_to("show", admin_sale_path(@sale), :class => "with-tip", :title => "show") %>
No route matches {:action=>"show", :controller=>"admin/sales"}
namespace :admin do
root :to => "dashboards#index"
resources :sales do
collection do
get :future
get :past
<div id="fb-root"></div>
<script src="http://connect.facebook.net/cs_CZ/all.js#appId=177612428923560&amp;xfbml=1"></script>
<fb:comments xid="<%= @sale.id%>" numposts="15" width="450" url="<%= sale_url(@sale) %>" style="float: left;" id="fb_comment"></fb:comments>
<fb:like-box href="http://www.facebook.com/slevomor" height="600" width="305" show_faces="true" stream="false" header="false"></fb:like-box>