This file contains hidden or 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
    
  
  
    
  | <script type="text/javascript" src="http://localhost:8000/faye/client.js"></script> | |
| <script type="text/javascript"> | |
| /* | |
| ** Script to handle notifications | |
| */ | |
| var client = new Faye.Client('http://localhost:8000/faye',{ | |
| timeout: 120 | |
| }); | |
  
    
      This file contains hidden or 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
    
  
  
    
  | NORMAL=$(tput sgr0) | |
| GREEN=$(tput setaf 2; tput bold) | |
| YELLOW=$(tput setaf 3) | |
| RED=$(tput setaf 1) | |
| function red() { | |
| echo -e "$RED$*$NORMAL" | |
| } | |
| function green() { | 
  
    
      This file contains hidden or 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
    
  
  
    
  | SELECT * FROM tablename WHERE date <= UNIX_TIMESTAMP(STR_TO_DATE('Apr 07 2015 09:00AM', '%M %e %Y %h:%i%p')) | 
  
    
      This file contains hidden or 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
    
  
  
    
  | /** | |
| * You must enable to Query Log when using Lumen. | |
| */ | |
| DB::connection()->enableQueryLog(); | |
| $queries = DB::getQueryLog(); | |
| $last_query = end($queries); | 
  
    
      This file contains hidden or 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
    
  
  
    
  | daemon off; | |
| pid /tmp/nginx.pid; | |
| error_log /dev/stderr info; | |
| worker_processes auto; | |
| events { | |
| worker_connections 1024; | |
| } | |
| http { | 
  
    
      This file contains hidden or 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
    
  
  
    
  | git branch --merged | egrep -v "(^\*|master|dev)" | xargs git branch -d | 
  
    
      This file contains hidden or 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
    
  
  
    
  | func BytesToString(data []byte) string { | |
| return string(data[:]) | |
| } | 
  
    
      This file contains hidden or 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
    
  
  
    
  | Feb 3 19:27:50 user-api-*-* user-api WARNING [03-Feb-2018 19:27:50] WARNING: [pool www] child 958 said into stderr: "[2018-02-03 19:27:50] lumen.DEBUG: user.api.view.user.error.user-details {"action":"user.api.view.user.error.user-details","userData":{"forename":"Alex","surname":"Richards","fullname":"Alex Richards","email":"[email protected]","username":"[email protected]","enabled":true,"earn":"earn:user/users:A-UUID-4"}} []" | 
  
    
      This file contains hidden or 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
    
  
  
    
  | ### Keybase proof | |
| I hereby claim: | |
| * I am ajtrichards on github. | |
| * I am alexrichards (https://keybase.io/alexrichards) on keybase. | |
| * I have a public key ASDv_Nt0itWm_BtpceiaxDWHtvVxEmNbt-THZBG5DSQDkgo | |
| To claim this, I am signing this object: | 
  
    
      This file contains hidden or 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
    
  
  
    
  | SELECT id, TIMEDIFF(ended_at, started_at) as timediff FROM ... | 
OlderNewer