Search found 199 matches
- Sun Nov 19, 2017 8:03 pm
- Forum: HTML
- Topic: html CSS style second line spacing
- Replies: 1
- Views: 20070
html CSS style second line spacing
Hi, I would like that a second line (and following lines) has an indent. So that the first line is more to the left than the other lines. <ul> <li>Text</li> <li>Text</li> <li>Reeeeaaaaaaal loooooooooooooooooooooong tttteeeeexxxxtt and it has a second line.</li> </ul>
- Thu Sep 28, 2017 6:40 pm
- Forum: SQL
- Topic: Limit digits after decimal points in SQL
- Replies: 1
- Views: 17930
Re: Limit digits after decimal points in SQL
I know 2 ways:
With round
Or with DECIMAL:
Both should work
With round
Code: Select all
SELECT ROUND( AVG(number) , 2 ) FROM table;
Code: Select all
SELECT ( AVG(number) AS DECIMAL(16, 2) )FROM table;
- Wed Mar 29, 2017 8:45 pm
- Forum: HTML
- Topic: wrap long words in table
- Replies: 1
- Views: 20878
Re: wrap long words in table
You can use CSS,
Code: Select all
td{word-wrap: break-word;}
- Wed Mar 15, 2017 7:10 pm
- Forum: PHP
- Topic: end php script
- Replies: 1
- Views: 18736
Re: end php script
You can use exit //exit program normally exit; exit(); exit(0); //this program ran successfully/without errors" //exit with an error code exit(1); exit("error text"); //octal You can also use die() , wich is the same but mostly used with a error code die("There was a fatal error&...
- Tue Jan 24, 2017 11:04 pm
- Forum: Apache
- Topic: SOLVED: httpd (pid 4561?) not running
- Replies: 2
- Views: 45372
Re: httpd (pid 4561?) not running
Did you try:
It also possible that the process crashed.
Look for the file
If it exists, delete it;
and retry.
Code: Select all
/etc/init.d/apache2 restart
It also possible that the process crashed.
Look for the file
Code: Select all
/run/apache2.pid
and retry.
- Thu Dec 22, 2016 8:23 am
- Forum: Servers
- Topic: bincimap reset password
- Replies: 1
- Views: 49151
Re: bincimap reset password
I'm not sure,
but I thought that Binicimap used system users and passwords.
I don't have a system with bincimap,
so I can't test it.
but I thought that Binicimap used system users and passwords.
I don't have a system with bincimap,
so I can't test it.
- Wed Nov 23, 2016 8:26 pm
- Forum: General
- Topic: cannot access /var/spool/cron/crontabs: Permission denied
- Replies: 2
- Views: 25148
Re: cannot access /var/spool/cron/crontabs: Permission denied
There can be several reasons:
check that the group crontab has all the necessary rights
check that the group crontab has all the necessary rights
Code: Select all
chown root:crontab /usr/bin/crontab
chmod g+s /usr/bin/crontab
Code: Select all
chown root:crontab /var/spool/cron/crontabs
chmod u=rwx,g=wx,o=t /var/spool/cron/crontabs
- Wed Nov 09, 2016 9:32 pm
- Forum: MySQL
- Topic: MYSQL ERROR 1878 (HY000): Temporary file write failure.
- Replies: 1
- Views: 29186
Re: MYSQL ERROR 1878 (HY000): Temporary file write failure.
When you do a ALTER TABLE in MySQL it re-create the table,
so two copies of the table exists on the system.
So you need enough free space.
specially in /tmp/
Because this dir is used as default.
you can change it in /etc/mysql/my.cnf
so two copies of the table exists on the system.
So you need enough free space.
specially in /tmp/
Because this dir is used as default.
you can change it in /etc/mysql/my.cnf
Code: Select all
tmpdir = /tmp
- Tue Nov 08, 2016 7:51 pm
- Forum: Servers
- Topic: Lots of audit messages polluting my logs
- Replies: 1
- Views: 25232
Re: Lots of audit messages polluting my logs
It look like you have hardening on your system. but the audit service is not running Check it with the following command (as root) /etc/init.d/auditd status If not start it /etc/init.d/auditd start It will direct the messages to the proper log: /var/log/audit/audit.log It will not solve any of the p...
- Mon Oct 31, 2016 1:44 pm
- Forum: Shell
- Topic: screen connect: No such file or directory
- Replies: 1
- Views: 23804
Re: screen connect: No such file or directory
Check to see if you have the environment variable STY set: [] echo $STY 251.pts-0 If the variable is set, then you are telling screen to reattach to an existing session. If that session doesn't exist, then you will see the error you are getting. To solve this, just clear the environment variable by ...