Linux, Apache, Nginx, MySQL, Javascript and PHP

Apache Nginx Web Server

Browser responses to the X-Frame-Options response header

The X-Frame-Options response header this morning; it can be used to prevent your website being rendered within a <

Applications

How to disable Flash in Firefox

I recently needed to test what some web pages looked like when Flash was disabled to show a prompt

Linux/Unix/BSD OSX

Showing seconds with ls on Linux and OSX

Using the "ls" command to list directory contents from the command line with the -l flag will

Linux/Unix/BSD

Show only one process with top on Linux

Top is a useful command line tool for showing processes running on Linux such as how much CPU and

Linux/Unix/BSD

Change the commit message with git

I'm sure you've done it before: added a commit message with git but typed it in wrong

Applications

Where did “Save for Web” go in Adobe Photoshop?

Save for Web in Adobe Photoshop CC 2015 was moved on the menus from File -> Save for

Email Servers

View the message header and body for an email in the exim mail queue

You've checked to see what's sitting in the exim mail queue, but want to check the email'

PHP

Work out PHP’s error reporting from an integer value

This post has some example PHP code which can be used to work out which error_reporting levels are

Linux/Unix/BSD

Base64 decode from the command line

The base64 command is used to encode and decode data to and from base64. This post shows how to

Linux/Unix/BSD

Install Java on the command line with Debian

If it was nice and intuitive to install Java on Debian (and other Debian based distros such as Ubuntu),

HTML And CSS Javascript

Implement placeholders in IE8 & 9 (and other older browsers) with jQuery

HTML5 saw the introduction of the very useful placeholder attribute for input elements, but it’s not supported in Internet

PHP

Use PHP’s fputcsv without writing to a file

PHP’s fputcsv function is very useful for creating CSV files, but by default will write out to a file.

Applications

Did you run git update-server-info on the server?

This post looks at the error "fatal: https://domain/project/filename-plates.git/info/refs not found: did you

MySql

Setting a column as a UUID/GIUD in MySQL – replication safe

Linux/Unix/BSD

Use a different rsa identity file when using ssh

You may need to use different identity files when logging into ssh/sftp servers, so this post shows how

Linux/Unix/BSD

Setting a user’s supplementary groups on Linux

A user on Linux belongs to a primary group, which is specified in the /etc/passwd file, and can

MySql

Temporarily changing the auto increment increment in MySQL

It’s possible to temporarily change MySQL’s auto increment increment value to something other than the system setting. This might

Applications

How to change the remote url for your local git repository

If you’ve moved a git repository from one git hosting service to another, transferred from one account to another

1 5 6 7 8 9 49