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
@servers(['production' => 'productionserver', 'local'=> 'vagrant@127.0.0.1 -p 2222']) | |
{{-- Configuration section --}} | |
@setup | |
/* | |
|-------------------------------------------------------------------------- | |
| Git Config | |
|-------------------------------------------------------------------------- | |
| |
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
[global_config] | |
always_on_top = True | |
borderless = True | |
enabled_plugins = LaunchpadCodeURLHandler, APTURLHandler, LaunchpadBugURLHandler | |
sticky = True | |
tab_position = bottom | |
[keybindings] | |
hide_window = F12 | |
[layouts] | |
[[default]] |
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
<snippet> | |
<content><![CDATA[ | |
// ${1} Resource | |
Route::get('${1}s', array('as' => '${1}s', 'uses' => '${1}s@index')); | |
Route::get('${1}s/(:any)', array('as' => '${1}', 'uses' => '${1}s@show')); | |
Route::get('${1}s/new', array('as' => 'new_${1}', 'uses' => '${1}s@new')); | |
Route::get('${1}s/(:any)/edit', array('as' => 'edit_${1}', 'uses' => '${1}s@edit')); | |
Route::post('${1}s', '${1}s@create'); | |
Route::put('${1}s/(:any)', '${1}s@update'); | |
Route::delete('${1}s/(:any)', '${1}s@destroy'); |
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
/* Smartphones (portrait and landscape) ----------- */ | |
@media only screen | |
and (min-device-width : 320px) | |
and (max-device-width : 480px) { | |
/* Styles */ | |
} | |
/* Smartphones (landscape) ----------- */ | |
@media only screen | |
and (min-width : 321px) { |
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
// Place your settings in this file to overwrite the default settings | |
{ | |
"editor.rulers": [ | |
80, | |
120 | |
], | |
"workbench.iconTheme": "vscode-icons", | |
"window.zoomLevel": 1, | |
"window.title": "${dirty}${rootName}${separator}${activeEditorMedium}${separator}${appName}", | |
"editor.fontSize": 16, |
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
zcat /path/to/file.sql.gz | mysql -u 'root' -p your_database |
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
<?php | |
/** | |
* WordPress Query Comprehensive Reference | |
* Compiled by luetkemj - luetkemj.com | |
* | |
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query | |
* Source: http://core.trac.wordpress.org/browser/tags/3.3.1/wp-includes/query.php | |
*/ | |
$args = array( |
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
<VirtualHost *:80> | |
ServerAdmin user@server | |
DocumentRoot /var/www/project | |
ServerName project.local | |
# This should be omitted in the production environment | |
SetEnv APPLICATION_ENV development | |
<Directory /var/www/project> | |
Options Indexes MultiViews FollowSymLinks |
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 | |
# This script backups every MySQL database to its own file | |
#Some variables you can set how you like | |
USER='username' | |
PASSWORD='password' | |
OUTPUTDIR='/var/backup' | |
MYSQLDUMP='/usr/bin/mysqldump' | |
MYSQL='/usr/bin/mysql' |
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
1-http://www.projetobrasil.org/#!/ | |
2-http://www.atlaspolitico.com.br/ | |
3- http://www.votehoje.com.br/home | |
4- http://www.tse.jus.br/eleicoes/estatisticas/repositorio-de-dados-eleitorais | |
5-http://www.politicos.org.br/ | |
6-http://www.excelencias.org.br/ | |
7-http://www.justicaeleitoral.jus.br/ | |
8-https://eleicoeslimpas.org.br/assine | |
9-http://super.abril.com.br/blogs/superlistas/6-sites-para-ajudar-voce- | |
a-escolher-seus-candidatos-nessas-eleicoes/ |
NewerOlder