web dev
web development & design
the post title says it all. according to this wp topic the author is working to fix it and will involve a full rewrite.
in order to fully recompile my android kernel and build a new rom i needed to install and update java 6.
sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jdk sun-java6-jre
sudo update-alternatives --config java
to add a gallery to a page/post:
[nggallery id=x]
to add a single image to a page/post: there are additional parameters here
[singlepic id=x w=width h=height]
to add a slideshow to a page/post:
[slideshow id=x w=width h=height]
firebug 1.6 was released today. you can get it at addons.mozilla. i have been using firebug for quite some time now. i can honestly say its one of the best website debugging tools i have ever used, as well as the best demo tool i have used. the ability to change the css, etc on the fly is awesome. furthermore, the inspect element is amazing.
you can see the release notes here.
from their blog:
Stability of Firebug has been improved, some memory leaks caught and so, we can declare Firebug 1.6 as the best release ever. source
here are some great how-tos on web design using adobe products.
check it out color scheme designer. you can select a color, which will then generate a hex and rgb code for the color and then, with a click, you can auto-generate colors that compliment the color you have chosen. absolutely fantastic tool for any web designer/developer.
i already had flash and photoshop installed on a windows vm and i wanted to see how it ran using wine in slackware. (i was getting sick of the marginal delay using vnc)
1) copy adobe over to linux
Program FilesAdobe into $HOME/.wine/drive_c/Program FilesDocuments and SettingsAll UsersApplication DataAdobe into $HOME/.wine/drive_c/users/Public/Application Data2) export the adobe registry branch from HKEY_LOCAL_MACHINE/SOFTWARE/Adobe
3) install additional windows libraries using winetricks – sh winetricks vcrun2008 msxml3 atmlib gdiplus
4) import the registry file into wines registry
i managed to get photoshop working this way and i am having difficulty with flash. i will post more once i solve the problem.
put this in the header.php before the </head> tag
<script src="http://www.wowhead.com/widgets/power.js" type="text/javascript"></script>
this is more for me so when i change my site around and forget to add this in
htaccess can be used with apache to provide password authentication on your website.
open your httpd.conf
find this section:
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
add this below it:
<Directory "/usr/local/apache/htdocs/admin">
AllowOverride AuthConfig
Options Indexes FollowSymLinks Includes
Order allow,deny
Allow from all
</Directory>
once this section is added in, restart apache using apachectl restart
change into the directory you want to protect. then create a new file using vi .htaccess and add the following to it:
AuthUserFile /var/www/htdocs/site/.htpasswd
AuthName "Authorization Required"
AuthType Basic
require valid-user
to add a new user, run
htpasswd -c /usr/local/apache/htdocs/admin/.htpasswd username
run apachectl restart after you have added new users.
browse over to your site and test out if everything works.
i have decided i need to learn how to better use photoshop. i have googled all sorts of diiferent how-tos and seen that many people have written on the subject.
this site trumps them all and its from adobe.