Blog Posts
- Home /
- Blog Posts
Warning: mysql_affected_rows(): supplied argument is not a valid MySQL-Link resource
February 2, 2010
Warning: mysql_affected_rows(): supplied argument is not a valid MySQL-Link resource
Read More
Capitalize First Letter in Word – Actionscript 2
February 1, 2010
You have a string and you want to capitalize the first character but have the rest of the word in lowercase.
Read More
HP Pavilion Laptop Madness
January 28, 2010
I have got an HP laptop and have started experiencing problems with it starting up for the past few months, it is only about 1.
Read More
Why you should use OpenGL and not DirectX
January 27, 2010
Below is a very interesting article I found that proves all the myths about DirectX being better than OpenGL, a very well written paper describing it best.
Read More
What does __FILE__ in php mean?
January 26, 2010
In php there are a few magic constants and I find FILE to be a very useful one.
Read More
Woopra Failed to Connect?
January 26, 2010
I have used Woopra for a few months now and have started seeing this warning/error almost everyday now:
Read More
Stop mouse click in browsers
January 8, 2010
There have been multiple ways to stop your user/s from right clicking on your site, but many of them now fail due to the way firefox’s contextual menu loads.
Read More
Microsoft apps never care!
January 8, 2010
I often seem to have this issue when dealing with Microsoft software.
Read More
Place HTML Div on top of Flash
January 8, 2010
If you have ever tried to place a div or similar HTML element on top of a swf flash object you will know that it always tries to take precedence.
Read More
Get current working directory of php script/application
January 8, 2010
$myPath = realpath(dirname(__FILE__)); or $myPath = getcwd();
Read More
Stage align and Stage scale in actionscript 3
January 8, 2010
If you want to position the flash top/left and not have it scale when you resize it’s bounding box window, you can set the following code.
Read More
Error 406?
January 6, 2010
So you received an error 406 while trying to upload a file and you have no idea to fix it!
Read More
Firefox error in FeedProcessor.js
January 6, 2010
[Exception… “Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIChannel.contentType]” nsresult: “0x80040111 (NS_ERROR_NOT_AVAILABLE)” location: “JS frame :: file:///C:/Program%20Files/Mozilla%20Firefox/components/FeedProcessor.
Read More
mySQL select multiple ids
December 18, 2009
SELECT * FROM tablename WHERE `active`='1' AND `id` IN ('107' , '125' ) ORDER BY `id` DESC LIMIT 12`
Read More
Force Download in PHP
December 16, 2009
This script works in all browsers, including Internet Explorer! 🙂
Read More
Remove an onRelease Handler
December 16, 2009
After creating a onRelease handler in Actionscript 2 as follows:
Read More
shortText function toggler in php
December 15, 2009
I often have to show a shortened version of a news item and then a link to show the entire news article or whatever.
Read More
PHP – file() lines
December 15, 2009
$lines = file('all-words.txt'); foreach ($lines as $line_num => $line) { echo "Line number ".
Read More
Windows Live Writer – Beta2
December 14, 2009
Start writing content to your blogs from your Windows Desktop now.
Read More
Tags
- Actionscript
- Advertising
- Agile
- AI
- Android
- Angular
- Ansible
- API
- Automation
- AWS
- Bash
- Big Data
- Biometrics
- C
- C++
- CDK
- Chef
- CICD
- CLI
- Cloud
- CloudFormation
- Containers
- CSS
- Data Structures
- Databases
- DevOps
- Distributed
- Docker
- Domains
- EKS
- Envoy
- Excel
- Firebase
- Forensics
- General
- Git
- Go
- Graal
- Hosting
- HTML
- IaC
- IDE
- Interview
- Istio
- Java
- Javascript
- Jenkins
- Kotlin
- Kubernetes
- Linux
- Mac
- MariaDB
- Maths
- Maven
- Microservices
- Misc
- ML
- MySQL
- Networking
- Nexus
- Node
- NPM
- Pandas
- PHP
- PIP
- Platform
- PowerShell
- Puppet
- Python
- React
- Ruby
- Rust
- S3
- Security
- SEO
- Software
- Spring
- SQL
- SRE
- SSH
- SSL
- Startup
- Terraform
- Typescript
- Ubuntu
- Web3
- Windows
- WSL