curl -sL https://deb.nodesource.com/setup_10.x | sudo bash -
  
    
      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
    
  
  
    
  | <Files "server.js"> | |
| Order Allow,Deny | |
| Deny from all | |
| </Files> | |
| <IfModule mod_expires.c> | |
| ExpiresActive on | |
| ExpiresByType text/css "access plus 1 year" | |
| ExpiresByType application/javascript "access plus 1 year" | |
| </IfModule> | 
  
    
      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
    
  
  
    
  | ; Sample stunnel configuration file for Unix | |
| ; PID file is created inside the chroot jail (if enabled) | |
| pid = /var/run/stunnel4.pid | |
| ; Debugging stuff (may be useful for troubleshooting) | |
| ;debug = 7 | |
| ;output = /var/log/stunnel4/stunnel.log | |
| ; ************************************************************************** | |
| ; * Service defaults may also be specified in individual service sections * | 
  
    
      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
    
  
  
    
  | ; Sample stunnel configuration file for Unix by Michal Trojnara 2002-2014 | |
| ; Some options used here may be inadequate for your particular configuration | |
| ; This sample file does *not* represent stunnel.conf defaults | |
| ; Please consult the manual for detailed description of available options | |
| ; ************************************************************************** | |
| ; * Global options * | |
| ; ************************************************************************** | |
| ; A copy of some devices and system files is needed within the chroot jail | 
  
    
      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
    
  
  
    
  | <?php | |
| $the_pids = [1,2,3,4]; | |
| $filter_pids = implode(' OR ', array_map( function($pid){ return 'pid=' . $pid; }, $the_pids ) ); | 
  
    
      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
    
  
  
    
  | <?php | |
| /* | |
| @see https://stackoverflow.com/questions/2222142/how-to-find-out-where-a-function-is-defined | |
| */ | |
| $reflFunc = new ReflectionFunction('function_name'); | |
| print $reflFunc->getFileName() . ':' . $reflFunc->getStartLine(); | 
  
    
      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
    
  
  
    
  | RewriteEngine On | |
| RewriteCond %{QUERY_STRING} .* | |
| RewriteRule .* https://httpbin.org/? [R=301] | 
  
    
      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
    
  
  
    
  | @ref https://github.com/nicklockwood/SwiftFormat#git-pre-commit-hook | |
| #!/bin/bash | |
| git diff --diff-filter=d --staged --name-only | grep -e '\(.*\).swift$' | while read line; do | |
| swiftformat "${line}"; | |
| git add "$line"; | |
| done | 
  
    
      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
    
  
  
    
  | <?php | |
| ini_set('memory_limit', '256M'); | |
| function stdoutlog($msg) | |
| { | |
| fwrite(STDOUT, date('Y-m-d G:i:s') . ' '); | |
| fwrite(STDOUT, $msg); | |
| fwrite(STDOUT, PHP_EOL); | |
| } | 
  
    
      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
    
  
  
    
  | My library for very useful Linux commands |