Skip to content

Instantly share code, notes, and snippets.

View raphaelcosta's full-sized avatar

Raphael Costa raphaelcosta

View GitHub Profile
192.168.129.2 0:20:6b:8e:ec:5e UHLWI 0 0 en0 1121
192.168.129.17 0:25:0:47:e8:7c UHLWI 0 0 en0 747
192.168.129.28 c0:ce:cd:d8:75:11 UHLWI 0 0 en0 755
192.168.129.48 8c:29:37:ee:34:2c UHLWI 0 0 en0 849
192.168.129.123 c8:f7:33:98:52:88 UHLWIi 1 25 en0 1168
192.168.129.162 98:5a:eb:8c:2b:54 UHLWI 0 0 en0 962
192.168.129.174 5c:97:f3:43:ad:6d UHLWI 0 0 en0 1171
192.168.129.184 b0:34:95:3d:f8:8b UHLWI 0 14 en0 917
192.168.129.190 3c:15:c2:43:3e:99 UHLWI 0 0 en0 1060
192.168.129.200 2c:be:8:ad:9a:7c UHLWI 0 0 en0 1055
@raphaelcosta
raphaelcosta / gist:6dac144f26d2203cbddf
Created March 23, 2015 17:15
Exemplo de tag home_page
{{#list_page}}
{{if home_page}}
É Home page!
{{else}}
Não é home page
{{/if}}
{{/list_page}}
<img src="http://d2e3vlurz5kmh0.cloudfront.net/media/W1siZiIsIm15d2F5L3Byb2R1Y3RzLzU2MzgvaW1hZ2VzLzYxMjU0OWE3LTVmZTctNGJjMy1hZmUxLWI1ZGVhNzliZmY1NS1jdXJpdGliYV9yZWdpYW8ucG5nIl0sWyJwIiwidGh1bWIiLCI1MDB4Il1d" width="266" height="40">
HTTP/1.1 200 OK
Server: Apache
Set-Cookie: ci_session_transacao=qW%2FT9p7Typ7mqtO6ukwqAS17OJ1I6NjB7BjRObLTHRi%2BYwQoEt%2FuhIdAioXaqBJPtGBfga2cYGo%2FO123%2BnpTtA%2B7tI%2BQK4UPmcACQWCx4y6KDHdnqpftwfY%2FBMW3tO8Rkie01UnXVEYxCr2YEuGlWTKIj1QSUFcHG9xbbNDv51ogiFw1ROkiIYn8v69t2OUigj0zNzV6O0gJuBCFtZzXkEJGI%2BPvLkF3oH6CTg%2Fkxv1PcsK15CQS5VNbm8ptQSgi6%2F09EVur%2BDFH71TuFFe%2F%2FUFyP7mEa%2F47RRjVodrd%2F%2BxicWs69mRYqJZVdt4VHWR5EBf8%2F4ont2HxxFyVyul8otu%2FrgrMlS0Rnuu9tMe7UH0qkElJipvsTEzrsyYYvEcA6Jcbbwcfdp0Sba8T1llWt7rtwvQMTGcPdT56xDpWT87jS6lTYbvLt58nD0A%2BhlWlbMq9M0quMdcDHkRBg3L6azlAF8CNF2uRfhZE%2BzliQoMYK124CqDMxTSWCPUnYbMnR9iPWhFmOejsjek66O3n8oBh1%2ByP0Qz%2BlNi5rwGto8yCrPn%2FBv1Yo5%2Fpw3zkC6pcb3LqdOrykED9uBYNRfPK5OMtfXstt1ymmLPThFYMTd5GZbAD3fgVlyVwLNjazHGaxR1q%2FYf9N6YOmVK2b2k24EGMKix0X2S%2BliwlBSHMOYG4UMKwQ3x7GDAns0Tr54dZ5N1UWvvjC%2Fxjyu9Wovj5gQ%3D%3D; expires=Mon, 19-Jan-2015 16:16:17 GMT; path=/; secure; httponly
Content-Type: text/html
Transfer-Encoding: Identity
Connection: Close
p3p: CP="CAO PSA OUR"
Date: Mon, 19
@media (-webkit-min-device-pixel-ratio: 1.3),
(-o-min-device-pixel-ratio: 1.3),
(min--moz-device-pixel-ratio: 1.3),
(min-device-pixel-ratio: 1.3),
(min-resolution: 1.3dppx) {
.nivo-lightbox-theme-default .nivo-lightbox-content.nivo-lightbox-loading {
// background-image: asset-url('lightbox/loading@2x.gif');
// background-size: 32px 32px;
@raphaelcosta
raphaelcosta / lists.txt
Created August 3, 2012 14:56
Raphael Lists
1. List of things you want to gain from the company (ex. experience)
- startup experience
- english
- rails and tdd experience
2. List of things you want in order to feel succesful and productive (ex. good feedback)
- autonomy
- weekly feedback
indexer
{
mem_limit = 1524M
}
searchd
{
listen = 127.0.0.1:9312
log = /Users/raphaelwc/Ruby Projects/ngforms/log/searchd.log
query_log = /Users/raphaelwc/Ruby Projects/ngforms/log/searchd.query.log
define_index('entry_with_morph') do
indexes entry_values.value_string , :as => :values_string
has entry_values.value_decimal, :as => :values_decimal
has entry_values.value_integer, :as => :values_integer
has entry_values.value_date, :as => :values_date
has entry_values.database_field(:id),:as => :values_database_field_id
has database(:id), :as => :database_id
has has_error, entry_number , merged, merged_entry_id
set_property :morphology => 'metaphone'
where "(`merged` = '0' OR `merged` = 'false')"
@raphaelcosta
raphaelcosta / pt-BR.yml
Created October 19, 2010 01:11
Tradução do Spree
---
pt-BR:
'no': "No"
'yes': "Yes"
5_biggest_spenders: "5 Biggest Spenders"
a_copy_of_all_mail_will_be_sent_to_the_following_addresses: A copy of all mail be sent to the following addresses
abbreviation: Abbreviation
access_denied: "Access Denied"
account: Account
account_updated: "Account updated!"
Association named 'databases' was not found; perhaps you misspelled it?
Rails.root: /Users/raphaelwc/Ruby Projects/ngforms
Application Trace | Framework Trace | Full Trace
meta_where (0.9.4) lib/meta_where/join_dependency.rb:19:in `build'
meta_where (0.9.4) lib/meta_where/join_dependency.rb:27:in `build'
meta_where (0.9.4) lib/meta_where/join_dependency.rb:26:in `each'
meta_where (0.9.4) lib/meta_where/join_dependency.rb:26:in `build'
activerecord (3.0.0) lib/active_record/associations.rb:1849:in `initialize'
meta_search (0.9.4) lib/meta_search/builder.rb:155:in `new'