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 aim is to create a functional server monitor based on the one | |
| showed on Mark Zuckerberg's monitor on The Social Network movie. | |
| Run so: | |
| php monitor.php | |
| Notes: | |
| - The server LogFormat must be "Common Log Format" (%h %^[%d:%^] "%r" %s %b) |
This file has been truncated, but you can view the full file.
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
| . | |
| .. | |
| ........ | |
| @ | |
| * | |
| *.* | |
| *.*.* | |
| 🎠|
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
| # Create 1920x1080 resolution mode | |
| xrandr --newmode '1920x1080' 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync | |
| # Add new resolution mode to the display | |
| xrandr --addmode Virtual1 1920x1080 | |
| # Resize the display to use the new resolution mode | |
| xrandr --output Virtual1 --mode '1920x1080' --rate 60 |