This file contains hidden or 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
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Teste Gist</title> | |
| </head> | |
| <body> | |
| <p>Estrutura básica de html enviada ao Gist direto do sublime.</p> | |
| <p>Isso é muito foda...</p> | |
| </body> |
This file contains hidden or 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
Show hidden characters
| [ | |
| // Comando para abrir o console usando Ctrl+' | |
| { "keys": ["ctrl+'"], "command": "show_panel", "args": {"panel": "console", "toggle": true} }, | |
| // Comando para comentar e descomentar código usando Ctrl+; | |
| { "keys": ["ctrl+;"], "command": "toggle_comment", "args": { "block": false } } | |
| ] |
This file contains hidden or 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
| { | |
| // Oculta a exibição do caminho absoluto do arquivo. | |
| "show_full_path": false, | |
| // Mostra que o arquivo foi alterado e não foi salvo ainda. | |
| "highlight_modified_tabs": true, | |
| // Remover espaços em branco na hora de salvar o arquivo. | |
| "trim_trailing_white_space_on_save": true, |
This file contains hidden or 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
| <?php | |
| /* | |
| Template Name: Print Processing Orders :) | |
| */ | |
| if (!is_user_logged_in() || !current_user_can('manage_options')) wp_die('This page is private.'); | |
| ?> | |
| <!DOCTYPE HTML> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
This file contains hidden or 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
| class CreateUsers < ActiveRecord::Migration | |
| def self.up | |
| create_table :users do |t| | |
| t.string :username | |
| t.string :email | |
| t.string :password_hash | |
| t.string :password_salt | |
| t.timestamps | |
| end |
This file contains hidden or 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
| <div class="content-art"> | |
| <ul> | |
| <li> | |
| <div class="competence-circle competence-circle-red"> | |
| <div class="competence-circle-inner"> | |
| <h6> | |
| Organização | |
| </h6> | |
| </div> | |
| </div> |
This file contains hidden or 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 | |
| # Script for remove Virtual Servers On Apache | |
| # Check for the correct parameters | |
| if [ $# -eq 0 ]; then | |
| echo 'Você precisa passar o domínio a ser removido como parâmetro' | |
| echo 'Uso: remove-site your-domain.com' | |
| exit 0 | |
| fi |
This file contains hidden or 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
| $(document).ready(function(){ | |
| $('.inputs[placeholder]').each(function(){ | |
| var ph = $(this).attr('placeholder') | |
| $(this).val(ph).focus(function(){ | |
| if($(this).val() == ph) $(this).val('') | |
| }).blur(function(){ | |
| if(!$(this).val()) $(this).val(ph) | |
| }) | |
| }) | |
| }) |
This file contains hidden or 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 | |
| # Script for creating Virtual Servers On Apache | |
| # Check for the correct parameters | |
| if [ $# -eq 0 ]; then | |
| echo 'Você precisa passar o domínio a ser criado como parâmetro' | |
| echo 'Uso: create-site your-domain.com' | |
| exit 0 | |
| fi |
This file contains hidden or 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
| [color] | |
| branch = auto | |
| diff = auto | |
| interactive = auto | |
| status = auto | |
| ui = true | |
| [color "status"] | |
| added = yellow | |
| changed = cyan | |
| untracked = red |