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 | |
| namespace App\Http\Middleware; | |
| use Closure; | |
| class Cors | |
| { | |
| /** | |
| * Handle an incoming request. | 
  
    
      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
    
  
  
    
  | #!/bin/bash | |
| echo 'Test disk 1 (/dev/sda) :' &> /root/smarttestresult.txt | |
| /usr/sbin/smartctl -H /dev/sda | sed -n -e '/START OF READ SMART DATA SECTION/,$p' &>> /root/smarttestresult.txt | |
| echo 'Test disk 2 (/dev/sdb) :' &>> /root/smarttestresult.txt | |
| /usr/sbin/smartctl -H /dev/sdb | sed -n -e '/START OF READ SMART DATA SECTION/,$p' &>> /root/smarttestresult.txt | |
| cat /root/smarttestresult.txt | heirloom-mailx -s "[Serveur] Test Disques" email1@domain.com email2@domain.com | 
  
    
      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
    
  
  
    
  | #!/bin/bash | |
| # | |
| # http://alma.ch/scripts/linux/any2srgb | |
| # | |
| # convert any image (essentially from AdobeRGB or CMYK) to sRGB jpg | |
| # and optionally resize | |
| # | |
| # | |
| # From a IM Forum discussion... | |
| # http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=16464&start=15 | 
  
    
      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
    
  
  
    
  | adb root | |
| adb remount | |
| adb push /etc/hosts /system/etc | 
  
    
      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
    
  
  
    
  | ssh -D port user@host | 
  
    
      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
    
  
  
    
  | { | |
| "has-headers": true, | |
| "date-format": "d\/m\/y", | |
| "delimiter": ";", | |
| "import-account": 1, | |
| "specifics": [], | |
| "column-count": 7, | |
| "column-roles": [ | |
| "date-transaction", | |
| "_ignore", | 
  
    
      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
    
  
  
    
  | #!/bin/bash | |
| TOGGLE=$HOME/.display_toggler | |
| if [ ! -e $TOGGLE ]; then | |
| touch $TOGGLE | |
| ssh -ftt username@mac_ip "caffeinate -u -t 1" | |
| xrandr --output HDMI-0 --off | |
| synergys -c $HOME/.synergy.conf -n linux | |
| else | |
| rm $TOGGLE | 
  
    
      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
    
  
  
    
  | lftp -u username, sftp://hostname -e "mirror -e /distant_dir /local_dir ; quit" | 
  
    
      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
    
  
  
    
  | vlc --sout="#chromecast{ip=192.168.0.X}" | 
  
    
      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
    
  
  
    
  | #!/bin/bash | |
| #Federico Ponzi | |
| #GPLv2 | |
| usage() | |
| { | |
| echo "Usage: $0 [-all][-list][-i] xxx.xxx.xxx.xxx" | |
| } | |
| help() |