Search

Search Code by entering the text above.
javascript
country select javascript check which option is selected and show a hidden element
...

this shows a country dropdown and then if a selected country name is matched it will show the second part of the form for this test australia is the confirmed country

2:05 am, September 22, 2020
javascript
country select javascript check which option is selected
...

this is an example of how you can get the selected country value with javascript from a html countries dropdown

1:54 am, September 22, 2020
php
php countries array to dropdown form element
...

here we generate a form dropdown from a php countries array using the country code as the name of the form option

1:40 am, September 22, 2020
php
php countries array
...

country codes to country names array in php

11:09 pm, July 12, 2020
bat
copy a file when the date of the source is newer than the destination
...

using xcopy and a loop i found this is a good way to make sure that changes in one file make their way across to another location using a windows batch file. this one loops every 5 seconds, i think yo..

3:27 am, August 26, 2019
bat
xcopy backup full directory windows bat
...

xcopy /y/s/e/d/c/k/r d:\photos\*.* h:\photos

10:33 pm, October 24, 2018
html
copy image to data uri using chrome base64 encode
...

Update: 26 Aug 2020 - Fixed video and original image link all should be working now in chrome. Found this one useful if you want to convert an image to base64 encode and link it directly in css or ht..

6:20 am, August 31, 2018
html
emoji data
...

Emoji Data version 1.0 This is a better emoji list that you can search by title ctrl + f emoji-data.txt # Emoji Data for UTR #51 # # File: emoji-data.txt # Version: 1.0 # Date: ..

6:20 am, August 31, 2018
Welcome

This is my test area for webdev. I keep a collection of code snippits here, mostly for my reference. Also if i find a good site, i usually add it here.

❤👩‍💻🕹

Random Quote
"Let us prepare our minds as if we'd come to the very end of life. Let us postpone nothing. Let us balance life's books each day ... The one who puts the finishing touches on their life each day is never short of time."
Seneca