Skip to content

Instantly share code, notes, and snippets.

@tandyuk
Created January 21, 2016 17:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tandyuk/3cc6805095500026c4a7 to your computer and use it in GitHub Desktop.
Save tandyuk/3cc6805095500026c4a7 to your computer and use it in GitHub Desktop.
Make observium full width on 1920x screens again
#!/bin/bash
cd /opt/observium
svn up
perl -i -lne 's/1874px/2000px/g; print' html/css/bootstrap.css
perl -i -lne 's/1875px/2001px/g; print' html/css/bootstrap.css
perl -i -lne 's/^(\@media \(min-width: 2001px\) {)/\@media \(min-width: 1800px\) {.container { width: 1950px; max-width: 1950px; } }\n$1/g; print' html/css/bootstrap.css
./discovery.php -u
./poller-wrapper.py 32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment