Skip to content

Instantly share code, notes, and snippets.

Javier Díaz Gómez dazjavier

View GitHub Profile
View gist:f9a6aa72f47ba3f51cc2ed45ceb0ff8e
$ code --list-extensions
Angular.ng-template
Tyriar.sort-lines
CoenraadS.bracket-pair-colorizer
cssho.vscode-svgviewer
dbaeumer.vscode-eslint
dracula-theme.theme-dracula
eamodio.gitlens
eg2.tslint
View info.json
{
"install_link": "https://syslint.com/blog/tutorial/how-to-install-laravel-php-framework-on-a-centos-7-or-rhel-7/",
"requiriements": {
"php": ">=5.6.4",
"mysql": ">=5.5.42",
"composer": ">=1.3.1"
}
}
View CountryCodes.json
[
{
"name": "Afghanistan",
"dial_code": "+93",
"code": "AF"
},
{
"name": "Aland Islands",
"dial_code": "+358",
"code": "AX"
View routes.php
<?php
Route::group(['prefix' => 'configuracion'], function(){
Route::controller('/perfil', [
'uses' => 'ConfigController@perfil',
'as' => 'config.perfil'
]);
Route::controller('/password', [
'uses' => 'ConfigController@password',
'as' => 'config.perfil'
View autoload.php
<?php
define('LARAVEL_START', microtime(true));
/*
|--------------------------------------------------------------------------
| Register The Composer Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader
View metodos.java
public JOptionPane validarLetra(java.awt.event.KeyEvent evt) {
char c = evt.getKeyChar();
if (Character.isDigit(c)) {
getToolkit().beep();
evt.consume();
JOptionPane.showMessageDialog(rootPane, "Digite sólo letras.");
}
return null;
}
You can’t perform that action at this time.