View login.php
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 | |
require __DIR__ . '/wp-load.php'; | |
$username = 'admin'; | |
$user = get_user_by('login', $username ); | |
// Redirect URL // | |
if ( !is_wp_error( $user ) ) | |
{ |
View gist:005ec6f248e47611a527147884f3d976
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
https://janostlund.com/2018-06-21/laravel-locale | |
sudo apt-get install language-pack-es | |
{{ $post->published->formatLocalized('%e de %B') }} | |
https://www.php.net/manual/es/function.strftime.php |
View gist:ac4b087417f1858cfeb588318b6476cf
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
Route::get('login', 'Auth\LoginController@showLoginForm')->name('login'); | |
Route::post('login', 'Auth\LoginController@login'); | |
Route::post('logout', 'Auth\LoginController@logout')->name('logout'); | |
Route::get('register', 'Auth\RegisterController@showRegistrationForm')->name('register'); | |
Route::post('register', 'Auth\RegisterController@register'); | |
Route::get('password/reset', 'Auth\ForgotPasswordController@showLinkRequestForm')->name('password.request'); | |
Route::post('password/email', 'Auth\ForgotPasswordController@sendResetLinkEmail')->name('password.email'); |
View gist:fea9eea435fd2f1a02e47a9e100b8bdb
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
https://github.com/JeffreyWay/laravel-mix/blob/master/docs/installation.md#stand-alone-project | |
https://www.sitepoint.com/use-laravel-mix-non-laravel-projects/ | |
https://github.com/LasseRafn/sitepoint-laravel-mix-without-laravel |
View gist:21a3f4167613aba63fed211cd80249d2
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
// Default max limits widths | |
$container-max-widths: ( | |
sm: 540px, | |
md: 720px, | |
lg: 960px, | |
xl: 1280px | |
) !default; | |
View gist:249dd560826e711d5d12424959b4cdbe
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
======================= | |
======================= PUBLICAR SERVICIO | |
======================= | |
Inicio | |
> |
View gist:ac54b2105543d44582c7033dad9914b5
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
<!-- Desactivar la detección automática de números de teléfono --> | |
<meta name="format-detection" content="telephone=no"> | |
<!-- Desactivar la detección automática de emails --> | |
<meta name="format-detection" content="email=no"> | |
<!-- Desactivar la detección automática de direcciones postales --> | |
<meta name="format-detection" content="address=no"> |
View gist:0bc405a4defa8569e6b787d17b7e3b05
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
<style type="text/css"> | |
.table-responsive table { | |
border-spacing: 0; | |
border-collapse: collapse; | |
} | |
.table-responsive td, .table-responsive th { | |
padding: 0; |
View iterms shourtkeys
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
FOR ACTION SEND | |
⌘← "SEND HEX CODE" 0x01 | |
⌘→ "SEND HEX CODE" 0x05 | |
⌥← "SEND ESC SEQ" b | |
⌥→ "SEND ESC SEQ" f |
View gist:fddc51a0abfc3956a1750a080e842e52
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
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p | |
Reference: https://github.com/facebook/jest/issues/3254 |
NewerOlder