rm ~/.config/monitors.xml
after that reboot OS, to reset to defaults
rm ~/.config/monitors.xml
after that reboot OS, to reset to defaults
Javascript, add trailing zeroes to float number
Number.parseFloat(x).toFixed(2)
to iterate over both key and value in for loop
{% for key, value in listOfKeyValueArray %}
location.reload();
window.location.href = u.toString();
to generate URL you can use url.js library
to prevent google docs, from editing document, even if viewer has edit rights, add following suffix to URL:
/preview
use this suffix in replacement of
/edit*
or at at the end if /edit is not present
other options you can force are
– Preview mode
– Force copy
– Force copy with comments
– Create template
– PDF
/preview
/copy
/copy?copyComments=true
/template/preview
/export?format=pdf
/export/pdf
to remove duplicates within file, when duplicates are not one after another (adjacent duplicate lines), and preserver order so that last duplicate line is last in file
awk '!visited[$0]++' YOUR_FILE_HERE > YOUR_FILE_HERE.temp && mv YOUR_FILE_HERE.temp YOUR_FILE_HERE
$('form').attr('novalidate', 'novalidate');
ALTER TABLE featured_package AUTO_INCREMENT = 1;
to quickly get values of href attribute of a link in web page
[].map.call(document.links,String)
new line separated, and copy to clipboard:
copy([].map.call(document.links,String).join('\n'))