Skip to content

Instantly share code, notes, and snippets.

Luis Javier del Campo Flores ldelcampof

Block or report user

Report or block ldelcampof

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View jsonet.json
{
"body": {
"background": {
"type": "html",
"url": "https://www.google.com",
"action": {
"type": "$default"
}
}
}
@ldelcampof
ldelcampof / LICENCE SUBLIME TEXT
Created May 23, 2018 — forked from PackyXu/LICENCE SUBLIME TEXT
Sublime Text 3 Serial key build is 3143
View LICENCE SUBLIME TEXT
## Sublime Text 3 Serial key build is 3103
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
B085E65E 2F5F5360 8489D422 FB8FC1AA
View Laravel: comprobación de solo una sesión
// users alter table
Schema::table('users', function(Blueprint $table){
$table->string('session_id')->nullable();
}
// on Auth/LoginController.php
// add this function
public function authenticated(Request $request,User $user){
$previous_session = $user->session_id;
View httpd vhosts
SETI theme Sublime
<VirtualHost *:80>
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot "/Users/ldelcampo/Sites/crm/public"
ServerName crm.dev
ServerAlias www.crm.dev
ErrorLog "/Users/ldelcampo/Sites/crm/error_log"
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster@dummy-host.example.com
View gist:9440598428a9d43808595db63148d665
ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1
You can’t perform that action at this time.