This package allows CSV based seeds.
initialize git depository in the current directory
git init .
display the git remote/origin
cat .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
//add function to Controller | |
public function uploadFiles(Request $request){ | |
$tipo_factura = $request->input('tipo_factura'); | |
$file = $request->file('files'); | |
$fileName = $file->getClientOriginalName(); | |
$path = "uploads/facturas/"; | |
$expediente_id = $request->input('expediente_id'); | |
if ($file->move($path, $fileName)) { | |
echo "se movio correctamente el archivo"; |
Dumping ground for Links
- https://gist.github.com/cjthomp/1455c39d4a14292676ea
- https://www.agvision.ro/building-api-starter-pack-laravel/
- https://deliciousbrains.com/react-laravel-lumen-company-status-board/
- http://mguimaraes.co/creating-a-fully-testable-books-review-app-from-the-ground-with-laravel-part-1/
- http://www.programmerfort.com/php-code-optimization-tips-and-tricks/
- http://blog.pisyek.com/create-room-booking-system-laravel-fullcalendar/
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
—– BEGIN LICENSE —– | |
eldon | |
Single User License | |
EA7E-1122628 | |
C0360740 20724B8A 30420C09 6D7E046F | |
3F5D5FBB 17EF95DA 2BA7BB27 CCB14947 | |
27A316BE 8BCF4BC0 252FB8FF FD97DF71 | |
B11A1DA9 F7119CA0 31984BB9 7D71700C | |
2C728BF8 B952E5F5 B941FF64 6D7979DA | |
B8EB32F8 8D415F8E F16FE657 A35381CC |
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
***************************************** | |
*HTTP VERB | ACTION * | |
***************************************** | |
* GET | READ * | |
***************************************** | |
* POST | CREATE * | |
***************************************** | |
* PUT | UPDATE * | |
***************************************** | |
* DELETE | DELETE * |
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
# | |
# REQUIRES: | |
# - server (the forge server instance) | |
# - event (the forge event instance) | |
# - sudo_password (random password for sudo) | |
# - db_password (random password for database user) | |
# - callback (the callback URL) | |
# |
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
function parseJwt (token) { | |
var base64Url = token.split('.')[1]; | |
var base64 = base64Url.replace('-', '+').replace('_', '/'); | |
return JSON.parse(window.atob(base64)); | |
}; |
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
# -m = Cree el directorio de inicio del usuario si no existe. | |
# -G = Nombre del Grupo | |
# -p = Asignar password | |
# -s = Asignar Bash "/bin/bash" | |
useradd -m -G forge newuser -p Password | |
useradd -m -G forge -s /bin/bash newuser | |
# agregar contraseña a un usuario | |
passwd newuser |
OlderNewer