Code

#TitleDate
1check browser version and show a messageJul 23, 6:47 am
2roboto and poppins fonts include quick codeJul 23, 12:10 am
3search bug AboveJul 22, 3:57 am
4CSS Drawing - Beach SceneJul 20, 1:24 am
5404 Error Page CodepenJul 16, 1:16 am
6set the amount of lines to show in a textarea fieldJul 16, 1:01 am
7right align something in its elementJul 14, 3:15 am
8preg replace clean a string only allow a-zA-Z0-9 charactersJul 10, 4:25 am
9weird search results being recordedJul 10, 4:04 am
10foundation grid for 6.6x - also known as the foundation xy gridJul 9, 5:00 am
11append a #link to the end of all href urls on a targetJul 9, 1:07 am
12get last month as a number with phpJul 5, 12:58 pm
13hide the third row in a table with cssJun 30, 5:15 am
14globe svg testing (broken)Jun 29, 6:32 am
15how to make a transparent logo white with cssJun 29, 3:07 am
16fix for wordpress requesting ftp login details installing pluginsJun 27, 4:27 am
17simple backup to google drive fron linuxJun 27, 1:04 am
18verify the google recapture server phpJun 25, 12:45 am
19scroll down the page using a button clickJun 23, 12:25 am
20using clamp js to clamp lines of textJun 22, 11:17 pm
21Scroll down indicator css javascript and htmlJun 22, 5:35 am
22this is a weird one table underline appearing and dissapearing on mouse overJun 21, 12:52 pm
23check if a ul contains a ul liJun 21, 4:25 am
24target last item css with :last-of-typeJun 21, 4:22 am
25target first item css with :first-of-typeJun 21, 3:48 am
26add a gtag.js pdf click eventJun 20, 11:36 pm
27for auto filled fields, need to change the text and background coloursJun 17, 12:11 am
28use a list group for listing by category page [todo]Jun 17, 12:02 am
29jquery check if a sub element existsJun 15, 4:22 am
30jquery toggle menu testingJun 15, 3:52 am
31responsive menu research full screen multi levelJun 15, 3:07 am
32Comments Listing should be a custom list rather than using searchJun 14, 3:57 am
33ajax callback to delete with sweet alert confirmation to make it cool! 😎Jun 11, 4:29 am
34load the latest single item onlyJun 11, 1:24 am
35load oldest item based on insdate then update the insdate to now - load_latest_single_updateJun 11, 1:19 am
36change this to a list group - other itemsJun 11, 1:15 am
37hero widget header - creates a nice looking hero item from a target uid and classJun 11, 12:10 am
38dropdown sectionJun 9, 6:53 am
39Latest from Code WidgetJun 9, 6:18 am
40rtrim strip white space or strings from the end of a stringJun 8, 12:50 pm
41prevent default click event on linkJun 8, 1:59 am
42get the current month as a numberJun 7, 5:48 am
43make your images look non squished when not using image backgrounds v2Jun 4, 6:22 am
44show the browsers name in javascriptJun 4, 3:49 am
45show the difference between two dates in years, months, days, hours and secondsJun 4, 1:03 am
46counting the occurrence of words in a multidimensional arrayJun 3, 4:19 am
47target 1st td in a table with cssJun 2, 4:06 am
48write string contents to a file with phpMay 26, 12:48 pm
49backup script to google drive that can be used for multiple directoriesMay 26, 5:26 am
50backdrop-filter: blur(10px);May 25, 11:34 pm
51json test objects (or arrays)May 25, 12:22 pm
52loop through a complex object json javascriptMay 25, 12:19 pm
53load json with vanilla javascript no jqueryMay 25, 9:57 am
54json load from jquery and loop through the resultsMay 25, 6:48 am
55add chevrons to a ul listMay 21, 2:15 am
56unable to access the $_FILES when submitting a form phpMay 18, 4:52 am
57check column exists in table sqliteMay 17, 12:21 pm
58set active class based on url valueMay 14, 3:13 am
59show all methods or functions in a class (class function version)May 13, 4:32 am
60show all methods (functions) in a classMay 13, 4:07 am
61adding an item to an array with phpMay 13, 3:10 am
62check if a variable is undefined or NULLMay 12, 5:58 am
63foundation accordion for version 6.xMay 12, 1:31 am
64foundation responsive tablesMay 11, 4:13 am
65allow a title to be in the foreground while still having a before overlay for the backgroundMay 11, 2:03 am
66passing in arrays to your functions rather than using variablesMay 11, 1:11 am
67check server https or http value in php using $_SERVERMay 11, 12:29 am
68fancybox image popout easyMay 10, 4:12 am
69css responsive max and min targets @mediaMay 7, 1:39 am
70check box highlight text area cssMay 5, 5:12 am
71Remove background image php with image magicMay 3, 12:12 am
72validate an email address from a form field - version 2Apr 30, 6:46 am
73check if a checkbox is checked with javascriptApr 30, 6:06 am
74form submit override with javascriptApr 30, 5:48 am
75submit a form with javascript onclickApr 26, 1:05 am
76dropdown change input box on selectApr 23, 6:20 am
77get current url with phpApr 21, 11:54 am
78Slick Slider Carousel with Fade TransitionApr 21, 5:01 am
79list a functions variables or argumentsApr 21, 12:12 am
80pre-line white space settingsApr 20, 3:41 am
81pre-wrap preserve line spacing but also wrap where neededApr 20, 3:38 am
82php list all the functions in a classApr 20, 3:27 am
83php print an array nicelyApr 20, 3:14 am
84add a toast alert when logging in with half moonApr 7, 6:19 am
85dont use md5 for password hashing using password_hash and password_verifyApr 7, 5:09 am
86change photoshop to show px rather than ptApr 7, 2:11 am
87clear a input field when it looses focus using onblurApr 6, 10:56 pm
88a page with two imagesApr 4, 7:03 am
89python extract images into an array from a urlApr 4, 6:56 am
90python url to text with beautiful soupApr 4, 2:08 am
91python Install Beautiful SoupApr 4, 1:38 am
92python extract title tag from url and html using regexApr 4, 1:30 am
93python import and print urlApr 4, 1:11 am
94php basic page routerApr 4, 12:29 am
95git pull changes from a repositoryApr 3, 1:27 am
96commit and push changes to git repoApr 3, 1:26 am
97start ssh and add key gitApr 3, 1:24 am
98play youtube videos on firefox in ubuntu 18Apr 2, 5:06 am
99css double page document preview with shadowMar 30, 11:55 pm
100wordpress category list sorting customMar 30, 4:44 am
101adding a background image to the titles of the dark mode card on this pageMar 26, 6:00 am
102blur the background image while keeping the foreground normalMar 26, 5:28 am
103background image greyscale filter while foreground is still in colourMar 26, 4:58 am
104javascript page redirectMar 26, 3:18 am
105page scroll indicator researchMar 24, 11:18 pm
106zoom background of element when activeMar 19, 4:53 am
107rounded click me button with iconMar 19, 3:28 am
108Creating a chart about charts.css with charts.css from the command lineMar 18, 8:33 am
109replacement slider for ken wheeler's slick carousel tiny slider 2 [testing]Mar 17, 5:23 am
110change a select box back to its initial select valueMar 17, 1:00 am
111select onchangeMar 16, 11:54 pm
112add years as options to select dropdownMar 16, 11:35 pm
113using moment.js to make your time format nicerMar 16, 11:15 pm
114loop through object json javascriptMar 16, 12:09 am
115json jquery ajax requestMar 15, 3:34 am
116logo tickers marquee slow scrollingMar 14, 12:07 am
117linux mount a drive manuallyMar 12, 4:24 am
118add a moving chevron to your href linkMar 11, 10:10 pm
119add click event to multiple link items and load the link content into a target div ajaxMar 9, 3:51 am
120add click event to multiple link itemsMar 9, 3:24 am
121set the html of an element javascriptMar 8, 11:34 pm
122inline form field paddingMar 8, 12:21 am
123get the value of an input form element (input value)Mar 7, 11:56 pm
124minutes to decimal calculator javascript versionMar 7, 11:38 pm
125check if a certain query string is set then apply it to all url's on the pageMar 1, 8:22 am
126check if a query string item is set in the current urlMar 1, 5:49 am
127append a query string to all url's on a pageMar 1, 5:45 am
128using text-stroke to add a border to your textFeb 22, 12:23 am
129installing exfat and ntfs drivers to enable reading of these filesystemsFeb 20, 4:56 am
130linux list all drives and partitionsFeb 20, 4:50 am
131adding background blur to an image using css fill screenFeb 19, 5:23 am
132using the nth-of-type selector to target a class with the same nameFeb 19, 2:44 am
133how to check the temperature of the pi using command lineFeb 17, 11:39 pm
134how to check linux kernel version on rasberry pi rasberianFeb 17, 2:33 am
135how to find what version pi you are usingFeb 17, 2:19 am
136Uncaught TypeError: $(...).slideToggle is not a functionFeb 17, 12:11 am
137slick carousel jump to a slide on element hoverFeb 15, 4:00 am
138checking for spam comments functionFeb 10, 5:27 am
139github logo background png cssFeb 10, 5:10 am
140animated rings expanding with delay ripple water effectsFeb 10, 5:00 am
141css slow zoom in animationFeb 10, 2:57 am
142using the last-of-type css selector to remove a border from the last item in a listFeb 10, 1:55 am
143Aligning Images in TinyMCE or Floating them left and right (code)Feb 8, 5:32 am
144change file permissions to -rw-rw-r--Feb 6, 8:39 am
145calculate a percentage (dec) difference based on two numbersFeb 6, 8:35 am
146Adding HTML Templates into TinyMCE EditorFeb 5, 12:14 am
147jquery page search [testing]Feb 3, 8:27 am
148TestingFeb 2, 11:42 pm
149How to set a cookie and expire it in 30 daysFeb 2, 9:51 am
150how can i make my code look nice, or highlighted in evernoteFeb 2, 9:36 am
151TortoiseSVN for updating wordpress pluginsJan 28, 11:10 pm
152box hover over effects using pulsate animationJan 27, 12:05 am
153install atom editor on ubuntuJan 24, 11:42 pm
154Enabling SSH on UbuntuJan 24, 5:16 am
155change images to upload file also to imgur [reported]Jan 23, 8:48 am
156enable dark mode in tinymceJan 23, 2:53 am
157codemirror htmlmixed textareaJan 23, 2:09 am
158install codemirror for textareas [added]Jan 22, 8:24 am
159using multiple text shadowJan 22, 3:37 am
160box shadow example(s) - drop shadowJan 22, 2:27 am
161darkmode toggle switch with local storage to remember the last selectionJan 21, 8:49 am
162add a youtube video preloader function, lazy load youtube [fixed]Jan 21, 2:58 am
163@import and html link to Montserrat font family google fontJan 19, 11:58 pm
164my default text shadow cssJan 19, 12:41 am
165spin rotate an element on mouse over [css]Jan 17, 12:51 am
166animate and zoom six elements on a timer [addClass, removeClass, setTimeout]Jan 15, 3:42 am
167mouse outline svgJan 15, 12:57 am
168add a comment recording system for posts [idea]Jan 14, 3:02 am
169fix view page for search links [reported]Jan 14, 3:00 am
170should have a different menu colour [reported]Jan 14, 2:37 am
171style page numbers [fixed]Jan 14, 2:26 am
172explode a string into an arrayJan 13, 5:19 am
173checking the current url and then marking a link active based on that urlJan 13, 1:32 am
174using gzdeflate on a string phpJan 12, 11:32 am
175linking search results to view pages [finished] 🤣Jan 12, 2:44 am
176change the cursor to a pointer for an elementJan 12, 12:19 am
177chevron upJan 10, 11:19 pm
178chevron downJan 10, 11:05 pm
179set maxHeight of element by id with javascriptJan 1, 3:59 am
180badge border colour is too dark or light on number badges [fixed]Jan 1, 3:04 am
181badge placement is offset in list pages [fixed]Jan 1, 2:43 am
182top bar overflow issues [fixed]Jan 1, 2:36 am
183make labels or badges look betterDec 31, 6:09 am
184include tinymce only if a user is logged into the siteDec 23, 5:44 am
185test page for the custom css 12 grid used on this siteDec 23, 5:38 am
186easy twitter embed codeDec 23, 3:26 am
187How to add jquery to squarespace siteDec 22, 11:39 pm
188make an image white with css using filter brightness and invertDec 22, 5:16 am
189add a jquery date picker to your text boxDec 22, 12:56 am
190foundation old grid formatDec 17, 11:58 pm
191replicating the bootstrap dropdown toggle in jqueryDec 17, 2:36 am
192nice webkit scrollbars (scroll bar, web kit, nice)Dec 14, 1:02 am
193chevron leftDec 11, 5:13 am
194chevron rightDec 11, 5:12 am
195use an emoji on your list items ul liDec 11, 4:53 am
196bootstrap basic grid layoutDec 11, 1:45 am
197background image on 3 boxes not scaling correctly fixDec 11, 1:43 am
198Windows Emoji ShortcutDec 10, 1:58 am
199CSS Grid Frame WorkDec 7, 10:56 pm
200Modern HTML5 Techniques for changing classesDec 7, 12:56 pm
201css prefers-color-scheme exampleDec 7, 12:06 pm
202vimeo thumbnail generatorDec 7, 5:35 am
203play a sound every # of secondsDec 7, 3:38 am
204bootstrap toggle element collapseDec 4, 1:34 am
205adding pagination to custom wp_queryDec 4, 12:29 am
206download icon svgDec 3, 10:28 pm
207add paging to wp list queryDec 1, 11:37 pm
208using jquery appear for checking if an element is visible on screenDec 1, 12:24 am
209Monitoring Visible Objects on ScreenDec 1, 12:07 am
210using attr in css to get content from htmlNov 30, 1:11 am
211check that a number is in the correct range based on a form selectionNov 24, 4:45 am
212how to install js socials for social media share buttons and make them roundedNov 23, 5:42 am
213css perspective and transform css properties testingNov 23, 2:51 am
214Fix Hover Over color on list group dark mode in bootstrapNov 23, 12:31 am
215list items from blog and filter by category nameNov 18, 3:03 am
216Quick tool to convert time into decimalNov 16, 12:55 am
217using javascript to open a link in the same window and in a new window or tab (open link)Nov 13, 4:26 am
218hero box with title sub title logos and call to action buttonsNov 9, 2:43 am
219Leaflet Quick Start ExampleOct 26, 4:45 am
220using linear gradient background on text cssOct 26, 12:02 am
221setting up css variables in your stylesheetOct 14, 5:36 am
222match a category id in wordpress and then add styles just for that idSep 29, 6:20 am
223simple table stripe stripingSep 29, 12:48 am
224bootstrap collapse or toggle a div visibilitySep 28, 1:13 am
225drop shadow text class easy drop shadowSep 28, 12:33 am
226center everything in a div with flex-center (centre)Sep 28, 12:07 am
227generating all css colours with php?Sep 25, 12:13 am
228country select javascript check which option is selected and show a hidden elementSep 22, 2:05 am
229country select javascript check which option is selectedSep 22, 1:54 am
230php countries array to dropdown form elementSep 22, 1:40 am
231get the current post id from content.phpSep 21, 6:07 am
232wordpress get the current category id name and slugSep 21, 6:01 am
233fix for Uncaught (in promise) Error: reCAPTCHA placeholder element must be emptySep 18, 5:43 am
234search a zip file with windows command prompt and 7zipSep 8, 1:09 pm
235css font style italicSep 2, 12:27 am
236create a rainbow background using css linear gradientSep 1, 3:53 am
237extracting the useful bits of bootstrapAug 31, 5:14 am
238Bootstrap 4 Center menu items in a navbarAug 28, 12:05 am
239certbot add a certificate for one domainAug 26, 6:46 am
240renew all SSL certificates with certbotAug 26, 6:45 am
241Fix for Fatal error: Uncaught Error: Call to undefined function file_get_dom() simplehtmldom simple_html_domAug 26, 1:08 am
242Fixing PHP SQLite database is locked warning - Unable to execute statement: database is lockedAug 26, 12:24 am
243simple usage for php password_hashAug 25, 1:06 pm
244enable tinymce on a target textarea by idAug 19, 12:15 am
245Bootstrap Darkmode SwitchAug 18, 11:54 pm
246stop tinymce replacing urls with relative url'sAug 18, 12:55 am
247What is Core?Aug 17, 6:52 am
248Create a UTF8 General MySQL Database with CommandAug 13, 4:05 am
249Custom JS Tabs - No Jquery or Jquery UIAug 4, 11:28 pm
250fix for Uncaught TypeError: e.indexOf is not a functionAug 3, 12:20 am
251stop overscrolling on responsive iosJul 31, 3:50 am
252switching stack order of floats with flexJul 28, 11:55 pm
253To make Ubuntu do nothing when laptop lid is closedJul 27, 12:50 am
254change string to capital words ucwordsJul 21, 6:08 am
255change upper case case string to lower case (uppercase, lowercase)Jul 21, 6:02 am
256scroll to top html css and jsJul 21, 1:13 am
257bold the numbers in a ol li listJul 14, 1:13 am
258convert a string to uppercase with phpJul 14, 12:31 am
259php substr return part of a stringJul 13, 2:35 am
260php countries arrayJul 12, 11:09 pm
261add a user to a groupJul 12, 3:00 am
262loop through each directory in a target directory and compress themJul 12, 2:55 am
263loop through each directory in a target directoryJul 12, 2:47 am
264get the wordpress category name from a category idJul 6, 6:00 am
265add a class or remove it based on window scroll locationJun 30, 1:45 am
266stretching an image to fit in a banner image with gimpJun 30, 1:16 am
267javascript window.onloadJun 29, 11:32 pm
268adding pulsating dots to your css ul li listJun 26, 3:26 am
269wordpress adding post custom field meta and displaying it on you templateJun 24, 1:33 am
270get element by class name with javascript and change it functionJun 17, 1:59 am
271hide parts of a form until the 1st item is selectedJun 17, 1:26 am
272css using perspective for transformsJun 16, 5:57 am
273getting the site title vs the page nameJun 16, 5:07 am
274wordpress get home urlJun 16, 5:03 am
275add a tag to wordpress header from a pluginJun 16, 4:44 am
276list items matching a category titleJun 12, 4:08 am
277fixing the website footer and making it less uglyJun 6, 3:43 am
278loading content into fancybox modal using ajaxJun 5, 4:30 am
279inline fancybox modal testingJun 3, 6:12 am
280simple linear gradient overlay for an image to make it darker or lighterJun 2, 11:07 pm
281wp register plugin settings adminJun 1, 12:28 am
282fancybox modal popup exampleMay 29, 6:59 am
283wordpress main nav dropdown fixMay 27, 3:47 am
284Create a admin main wordpress custom menu itemMay 27, 1:39 am
285matches the url and does something if it matches a certain stringMay 26, 3:37 am
286tar.gz to compress a directory in linux and then decompress itMay 26, 2:41 am
287javascript isset equivalentMay 19, 6:39 am
288wordpress show the parent page title with fallback to titleMay 18, 1:03 am
289find and replace hrefs in existing page links using jqueryMay 8, 12:03 am
290Use Sweet Alert rather than alert!May 7, 11:35 pm
291get the href value using jqueryMay 7, 11:22 pm
292check if a timestamp is older than one hourMay 4, 1:24 pm
293Add a post date to your custom wordpress post listingMay 4, 5:49 am
294making var_dump look niceMay 4, 4:16 am
295use javascript to open a link in a new tab or windowMay 1, 3:59 am
296force existing link to open in a new window with javascriptMay 1, 3:49 am
297Find Disk Space Usage using DUApr 28, 11:30 pm
298Load and Unload TinyMCE editor from a buttonApr 17, 2:53 am
299Nginx Server Block with RewriteMar 29, 11:16 pm
300pulsating dots - glow glowingMar 13, 5:47 am
301load a youtube video in a fancybox modalMar 2, 10:46 pm
302using css linear gradient for background overlaysFeb 17, 12:34 am
303wordpress get page content to display on template pageFeb 3, 11:11 pm
304ES6 Nested Object ExampleFeb 3, 1:09 am
305ES5 vs ES6 Object ExampleFeb 3, 12:41 am
306Use Recursion to Return a Range ArrayFeb 2, 11:38 pm
307Use Recursion to Count DownFeb 2, 10:29 pm
308Use Recursion to Count UpFeb 2, 10:20 pm
309Get the documentURI with JSJan 28, 10:06 pm
310get the stylesheet directory in wordpress themeDec 16, 9:55 pm
311jquery document ready with foundation init as wellDec 16, 1:20 am
312center something with css not using flexDec 13, 12:56 am
313how to unzip in linuxDec 5, 11:51 pm
314php mysql table exists functionDec 2, 4:25 am
315how to display a php file as html with phpDec 2, 3:50 am
316jquery add a click function if the window size is greater than target_widthDec 2, 2:03 am
317jquery enable and disable attributeDec 2, 12:12 am
318js using recursion to create a range of numbersNov 25, 4:25 am
319php convert date now into a sql timestampNov 25, 12:43 am
320add google captcha to enable and disable a form buttonNov 12, 12:14 am
321Generate a Random User NameNov 11, 11:33 pm
322Using Node to get a Web Dev Environment with livereload up and runningNov 11, 12:38 am
323Using the Spread Operator to Evaluate Arrays In-Place TestsOct 14, 1:02 am
324Using the rest operator to pass in a variable amount of argumentsOct 1, 5:49 am
325Default Parameters for FunctionsOct 1, 5:23 am
326Complex Arrow Function ExampleOct 1, 5:14 am
327Writing Arrow Functions with ParametersOct 1, 12:36 am
328using arrow functions to convert small functions into one line statement functionsOct 1, 12:09 am
329Prevent Object MutationSep 30, 11:16 pm
330Changing an array declared with constSep 30, 6:17 am
331return a state name from an australian postcodeSep 29, 11:25 pm
332using let and const exampleSep 27, 4:55 am
333using let rather than varSep 27, 4:18 am
334Use Multiple Conditional (Ternary) OperatorsSep 27, 3:18 am
335js - Use the Conditional (Ternary) OperatorSep 24, 6:23 am
336Use the parseInt Function with a RadixSep 24, 6:14 am
337Using parseInt in a function to return an integer or notSep 24, 5:57 am
338Generate Random Whole Numbers within a RangeSep 24, 5:15 am
339split a string into an array using split javascriptSep 16, 4:47 am
340get the current url in javascriptSep 13, 3:47 am
341Custom 12 Grid using CSS GridSep 6, 2:19 am
342template for testing and live reloading html filesSep 4, 3:27 am
343Radial Click EffectSep 4, 1:13 am
344Generate Random Whole Numbers with JavaScript FunctionAug 26, 6:20 am
345Generate Random Fractions with JavaScriptAug 26, 6:09 am
346FCC - Basic: Profile LookupAug 26, 5:38 am
347copy a file when the date of the source is newer than the destinationAug 26, 3:27 am
348Do While LoopAug 25, 11:26 pm
349for loop through an array with javascriptAug 23, 12:18 am
350get the average of a number list using an array in phpAug 21, 12:48 am
351sublime text find and replace style tagAug 19, 12:43 am
352tinymce remove auto p tags settingAug 13, 6:15 am
353get the dimensions of an image with javascriptAug 13, 5:55 am
354target data attribute with cssAug 12, 11:52 pm
355toggle div function with chevron up down toggleAug 9, 1:19 am
356form checkbox replacement with large tick using labelAug 7, 2:15 am
357keyframe animations cssAug 6, 12:27 am
358basic for loop odd numbersJul 31, 6:20 am
359check if something is an arrayJul 31, 5:26 am
360apache redirect to https ssl from normalJul 31, 1:20 am
361getType function for jsJul 29, 11:50 pm
362Objects in javascriptJul 29, 11:25 pm
363card counting example from fccJul 29, 2:00 am
364using switch with multiple identical casesJul 29, 1:32 am
365using switch in a functionJul 28, 11:19 pm
366IP AddressJul 26, 1:30 am
367js function to calculate golf scoresJul 24, 1:48 am
368compare non equality functionJul 23, 11:15 pm
369compare equality functionJul 23, 10:57 pm
370JS Using typeof to check on string typesJul 23, 2:38 am
371testing equalityJul 22, 5:57 am
372defining a variable inside a function without using var will create a global variableJul 22, 5:15 am
373add something to the start of an array with unshiftJul 19, 2:40 am
374remove the first element in an array with shiftJul 19, 2:37 am
375document ready javascript standalone version no jqueryJul 17, 1:14 am
376add a class to a div with an id javascriptJul 17, 1:11 am
377using local storage rather than cookies to store data (localStorage)Jul 16, 11:31 pm
378remove something from the end of an array with popJul 16, 5:58 am
379add something to the end of an array with pushJul 16, 5:49 am
380Multidimensional ArrayJul 16, 4:50 am
381get the last letter of a stringJul 16, 4:40 am
382accessing part of a variable using its indexJul 16, 4:34 am
383using transform scale in css to zoom on hover overJul 16, 2:57 am
384js check the length of a stringJul 16, 2:04 am
385Bootstrap Card Formatting HTML and CSS - Header and FooterJul 10, 2:38 am
386Move any element with css offsetsJul 9, 2:31 am
387CSS Improve Compatibility with Browser FallbacksJul 9, 2:04 am
388PHP Finding the position of a string in another string using strposJul 9, 12:00 am
389PHP str_replace - find and replace part of a stringJul 8, 11:52 pm
390using scroll-behavior: smooth cssJul 8, 2:33 am
391jquery click functionJul 3, 5:33 am
392using a css grid area templateJul 3, 2:26 am
393grid column and row spacingJul 3, 2:14 am
394Random string generator function in php suniqidJul 3, 1:13 am
395CSS Grid - Basic ColumnsJul 2, 5:59 am
396flex shorthand cssJul 2, 2:24 am
397using flexbox to align elements in a rowJul 2, 1:37 am
398Viewport width and height calculationsJul 2, 12:30 am
399Making Images Retina Display FriendlyJul 2, 12:14 am
400Making an image responsive using cssJul 2, 12:03 am
401Applied Accessibility - Tab IndexJul 1, 11:52 pm
402Applied Accessibility - Access KeysJul 1, 11:40 pm
403Applied Accessibility - Screen reader only cssJul 1, 11:24 pm
404Dropdown Box with Searchable TextJun 30, 11:57 pm
405Change link target with JQueryJun 28, 12:17 am
406Drop Down Menu Swapping Left align to RightJun 26, 5:36 am
407Whois LookupJun 24, 1:00 am
408using the disk free space function in phpJun 7, 1:33 am
409create a mysql or sqlite current timestamp with phpMay 27, 5:45 am
410Cut a string when it finds a certain character with PHPApr 17, 5:30 am
411validate a url using php with FILTER_VALIDATE_URLMar 28, 11:04 pm
412function to create a uid from htmlMar 22, 12:44 am
413calculate a percentage (dec) difference based on two numbersMar 22, 12:13 am
414check if a user is logged in using sessionsMar 20, 4:34 am
415asp classic get a url and display itMar 20, 12:08 am
416Using nth-child css to hide list items or repeated elementsMar 13, 5:10 am
417PHP MySQL vs SQLite Count Items FunctionFeb 25, 3:40 am
418How Many Days Since a Date and other CalculationsFeb 11, 12:27 am
419image Checkbox Replacement for FormsJan 18, 12:28 am
420Using Flexbox rather than FloatsJan 16, 4:27 am
421Date Conversion PHPJan 14, 10:40 pm
422white space pre-wrap formattingJan 1, 10:23 pm
423Generate a random title from an arrayDec 19, 1:34 am
424echo todays date and time in a nice formatDec 18, 11:48 pm
425Core - File StructureDec 13, 11:38 pm
426Core Class - Basic Core StructureDec 13, 11:33 pm
427Generate Sub menu using CoreDec 13, 11:09 pm
428page load timer classOct 30, 12:17 am
429human_filesize phpOct 29, 5:40 am
430xcopy backup full directory windows batOct 24, 10:33 pm
431for loop set variables $p1,$p2.. etc as blank - variable variablesOct 24, 3:53 am
432sqlite check table name existsOct 24, 12:44 am
433get current class name with get_classOct 22, 3:37 am
434meta keywords tagOct 17, 5:50 am
435meta description tagOct 17, 5:48 am
436assign array to variables in a loopOct 17, 5:36 am
437favicon code meta tagOct 17, 4:01 am
438hide and show elements with js using getElementById and style.displayOct 17, 1:15 am
439generate a random color rgb code with phpOct 17, 12:07 am
440css :active pseudo-class usageOct 5, 1:22 am
441Regular expression breakdown regex preg_replace phpSep 21, 1:39 am
442replace anything in brackets in a string using preg_replace regex phpSep 21, 1:17 am
443for loop with a 5 incrementSep 17, 2:45 am
444Get Current Page URL PHPSep 4, 2:19 am
445Get the document root path in php $_SERVER['DOCUMENT_ROOT']Sep 4, 12:23 am
446remove all of an element in a string <h1>Aug 31, 6:25 am
447get text between tagsAug 31, 6:20 am
448sqlite basic sql and loop resultsAug 31, 6:20 am
449convert all images into base64 encodedAug 31, 6:20 am
450wordpress change domain in configAug 31, 6:20 am
451read and sort directory contents in phpAug 31, 6:20 am
452uniqid random stringAug 31, 6:20 am
453show response headers from file get contentsAug 31, 6:20 am
454wordpress show the page content for use in a templateAug 31, 6:20 am
455file get contents reads entire file into a stringAug 31, 6:20 am
456using parse_url to extract parts of a urlAug 31, 6:20 am
457basic for loopAug 31, 6:20 am
458try catch testAug 31, 6:20 am
459tell wordpress to use the direct file method if its asking for ftp detailsAug 31, 6:20 am
460wordpress enqueue slicknav and slick sliderAug 31, 6:20 am
461wordpress include jquery in theme functionsAug 31, 6:20 am
462copy fileAug 31, 6:20 am
463some date formatting just day just month just yearAug 31, 6:20 am
464header type jsonAug 31, 6:20 am
465wordpress use a shortcode in php gravity formsAug 31, 6:20 am
466extract meta tags from url and return as json arrayAug 31, 6:20 am
467csv read exampleAug 31, 6:20 am
468php get the file modified time with filemtimeAug 31, 6:20 am
469preg_replace ereg_replace replace all charsAug 31, 6:20 am
470wordpress check home and not home for banners and thingsAug 31, 6:20 am
471wordpress advanced custom fields replace shortcode for site url with blog urlAug 31, 6:20 am
472using custom request headers array with curlAug 31, 6:20 am
473sqlite delete data older than timestamp daysAug 31, 6:20 am
474wordpress get site urlAug 31, 6:20 am
475simple html dom extract attributes simplehtmldomAug 31, 6:20 am
476find the 1st occurence of a string in another stringAug 31, 6:20 am
477pretty printing json with phpAug 31, 6:20 am
478extract meta tags from file or url as arrayAug 31, 6:20 am
479wordpress show posts loop with feature image thumbnailAug 31, 6:20 am
480random number using randAug 31, 6:20 am
481search within files in a directoryAug 31, 6:20 am
482wordpress show the post content for use in a templateAug 31, 6:20 am
483show errors in php with toggleAug 31, 6:20 am
484wordpress register enqueue javascript require jqueryAug 31, 6:20 am
485count the elements in an arrayAug 31, 6:20 am
486google map with overlay dataAug 31, 6:20 am
487round number with jsAug 31, 6:20 am
488truncate string using jqueryAug 31, 6:20 am
489detect window scroll position jqueryAug 31, 6:20 am
490flems embed in urlAug 31, 6:20 am
491change the window titleAug 31, 6:20 am
492Slick Slider CarouselAug 31, 6:20 am
493add thisAug 31, 6:20 am
494change favicon with jqueryAug 31, 6:20 am
495load google sheet data into json string with jqueryAug 31, 6:20 am
496scrollbar replacement simplebarAug 31, 6:20 am
497change the water colour in google maps for an already initialised mapAug 31, 6:20 am
498parallax js scroll testingAug 31, 6:20 am
499mithril testingAug 31, 6:20 am
500validate form data using javascript to check required html elementsAug 31, 6:20 am
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
There is a qualitative and quantitative difference between a day that begins with a little exercise, a book, meditation, a good meal, a thoughtful walk, and the start of a day that begins with a smartphone in bed.
Unknown