https://markus.oberlehner.net/blog/setting-up-tailwind-css-with-vue/
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
Alimentos e Bebidas | |
Arte e Antiguidades | |
Artigos Religiosos | |
Assinaturas e Revistas | |
Automóveis e Veículos | |
Bebês e Cia | |
Blu-Ray | |
Brindes / Materiais Promocionais | |
Brinquedos e Games | |
Casa e Decoração |
I hereby claim:
- I am samir on github.
- I am samirbraga (https://keybase.io/samirbraga) on keybase.
- I have a public key ASABzoxpWPW2ysmE2rf8--mmFKjWSxtyQcUCrFXMPh_JhAo
To claim this, I am signing this object:
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
module BusinessDay | |
def next_business_day | |
self.skip_weekends self, 1 | |
end | |
def previous_business_day | |
self.skip_weekends self, -1 | |
end | |
protected | |
def skip_weekends(date, inc) | |
date += inc |
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
CREATE DATABASE dbname CHARACTER SET utf8 COLLATE utf8_general_ci; |
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
#!/bin/bash | |
find . -name "*.php" -type f -exec sed -i 's/<?php \/\*\*\/ eval(base64_decode(\"[a-z0-9A-Z\/\+]*\"));?>//g' {} \; | |
# or | |
find . -name "*.php" -type f -exec sed -i 's/<?php \/\*\*\/ eval(base64_decode(\"[^"]*\"));?>//g' {} \; |
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
# -*- encoding : utf-8 -*- | |
# Commonly used email steps | |
# | |
# To add your own steps make a custom_email_steps.rb | |
# The provided methods are: | |
# | |
# last_email_address | |
# reset_mailer | |
# open_last_email | |
# visit_in_email |
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
# Unicorn tasks | |
namespace :unicorn do | |
def pid_path | |
"#{shared_path}/pids/unicorn.pid" | |
end | |
def socket_path | |
"#{shared_path}/sockets/unicorn.sock" | |
end |
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
<th><%= link_to "Name</th> | |
<th><%= link_to "First</th> | |
<th><%= link_to "Last and pum</th> | |
Selecionar de Name (sem a aspa inicial) até antes do Last (inclusive a aspa inicial) | |
Digitar Command + Option + a | |
O cursor irá par ao final da primeira linha da seleção, |
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
zend_extension="/usr/local/Cellar/xdebug/2.1.0/xdebug.so" | |
[xdebug] | |
;xdebug.max_nesting_level=10 | |
xdebug.collect_params=3 | |
xdebug.show_local_vars=5 | |
xdebug.dump.GET=* | |
xdebug.dump.POST=* | |
xdebug.default_enable = On |
NewerOlder