October 23, 2020 in Tips and Tricks
Using the jQuery prop() Method The jQuery prop() method provides a simple, effective, and reliable way to track down the current status of a checkbox. It works pretty well in all conditions because every checkbox has a checked property which specifies its checked or unchecked status. Do not misunderstand it with the checked attribute. The checked attribute only define the initial state of […]
October 22, 2020 in Tips and Tricks
Vignette ads now support a larger range of screen sizes. For sites that have vignettes turned on, vignette ads will soon start to appear on wider screens such as desktop. Our experiments show that vignette ads perform well on wider screens. If you’d prefer not to show vignettes on desktop, you can turn this option […]
October 9, 2020 in Tips and Tricks
You can do this without GUI: On your terminal, navigate to .config/autostart directory. .config/autostart may be in your home directory: 2. Open the (new) gnome-terminal.desktop file with your favourite text editor. I use vi: 3. Paste the following code in the file. Update some lines if you like as you find suitable, or simply use as is: 4. Save the file, and […]
October 9, 2020 in Tips and Tricks, Ubuntu
Create a script file, e.g. named my_file.sh, in the /etc/profile.d/ directory. Put #!/bin/bash as the first line. Write whatever command(s) you want to be executed immediately after logging in, e.g. pgrep udhcpd. Mark your file as executable: chmod +x /etc/profile.d/my_file.sh *It should get executed after login. In case it doesn’t or you don’t have the ability to use root privileges, creating the […]
October 9, 2020 in Tips and Tricks, Ubuntu
You can add those lines at the end of your ~/.bashrc file which will get executed when you login. I’m talking about the ~/.bashrc serverside. When you have added your lines and logout and ssh back in these lines will get executed. You can leave out the last line of your script. If the ~/.bashrc does not exist you can simply create it or even […]