Skip to content

Instantly share code, notes, and snippets.

View ldelcampof's full-sized avatar

Luis Javier del Campo Flores ldelcampof

View GitHub Profile
{
"body": {
"background": {
"type": "html",
"url": "https://www.google.com",
"action": {
"type": "$default"
}
}
}
@ldelcampof
ldelcampof / LICENCE SUBLIME TEXT
Created May 23, 2018 23:29 — forked from PackyXu/LICENCE SUBLIME TEXT
Sublime Text 3 Serial key build is 3143
## 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
// 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;
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
ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\ -f1