I was trying to program a graphical iterface using GTK+ by following the video below.
However I didnt have the <gtk/gtk.h> library installed in my linux computer. So I tried to download it by going to gtk.org and downloading the source files but had no luck. Kept getting the same error saying fatal error: gtk/gtk.h: No such file or directory
Then I tried to configure it but kept getting errors like
error: Package requirements (glib-2.0 >= 2.33.1 atk >= 2.5.3 pango >= 1.30.0 cairo >= 1.10.0 cairo-gobject >= 1.10.0 gdk-pixbuf-2.0 >= 2.26.0) were not met:
This was such a pain until I ran into the video below. The guy speaking you’ll not understand shit but he showed step by step
Here are the steps:
In command line: $ sudo apt-get install libgtk2.0-dev
You may receive this error: Your data directory and your files are probably accessible from the internet. The .htaccess file that ownCloud provides is not working. We strongly suggest that you configure your webserver in a way that the data directory is no longer accessible or you move the data directory outside the webserver document root.
This mean that your .htaccess doesn’t have permission to override the php.ini
You don’t have to change anything to make owncloud work but if you want this feature read “Allow htaccess to override php.ini”
To increase amount of data that can be uploaded.
There’s two options you can edit upload_max_filesize and post_max_size in the /etc/php5/apache2/php.ini file or edit the .htaccess if you did the above configuration.
ubuntu server add .htaccess directory
allow php.ini to be override using .htaccess
php.ini increase upload size
php ini httpd conf htaccess
.htaccess is not overriding php.ini
.htaccess override php.ini
changing php ini values using .htaccess
change php ini htaccess not working
I have an Arduino on a breadboard and having an issue with the voltage on the digital pin 13 outputing an low voltage when connect to a volt regulator. Why is this happening? because when the breadboard is connected to an Arduino UNO power that is connected to the same power supply it works perfectly fine. See images and descriptions below. Thank you for the help.
Notes: Power wires are connected at the bottom of the breadboard
Arduino on breadboard
9v – 300mA Power
L7805CV 5voltage regulator
Set to output LIGHT ON on digital pin 13
The voltage on the rails when breadboard is connected to power is 5 volts
The voltage on digital pin 13 when connected to power is 0.370 volts (why?)
The voltage on the rails when connected to arduino power is 5 volts
The voltage on digital pin 13 when connected to arduino power is 4.74 volts
Why is the voltage on digital pin 13 not the same when connected to an Arduino Uno Power to an Power supply using a voltage regulator?
Its very important to add a electrolytic capacitor to the input and output caps of the voltage regulator because this will help SMOOTH out the ripple the battery pack/regulator is putting out.
I only added a 22uF electrolytic capacitor to the rails and it worked. See picture below.