Code

#TitleDate
1load json data url or api with javascriptOct 26, 4:43 am
2load json data url with jqueryOct 26, 4:36 am
3sqlite fetchArray into another arrayOct 25, 2:55 am
4php return json header and contentOct 24, 8:43 am
5php get file extension from a file nameOct 24, 3:18 am
6php post data back to a url with a functionOct 24, 3:11 am
7add a divider to your dropdown nav togglesOct 24, 2:38 am
8generate random username function in phpOct 23, 5:04 am
9validate email address from string with jquery working functionOct 22, 12:31 am
10Using props with Stateless Functional Components in ReactOct 19, 5:30 am
11How to Access Props Using this.props in ReactOct 19, 5:15 am
12How to Use PropTypes to Define Props in ReactOct 19, 4:40 am
13How to Override Default Props in ReactOct 19, 4:17 am
14log the console log output to a divOct 19, 4:03 am
15javascript basic test array and loopOct 19, 3:05 am
16add hero title to category listing page [not done]Oct 19, 2:46 am
17How to use default props in ReactOct 19, 2:24 am
18how to join an array in javascript using the join methodOct 19, 2:01 am
19How to Pass an Array as Props in ReactOct 19, 1:56 am
20list_all_array an early stages of list all function that uses an array to pass in main variablesOct 18, 12:15 am
21replace singular variable assignment with an array loop and variable variablesOct 17, 11:58 pm
22using the $_SERVER['HTTP_REFERER'] to check referring pagesOct 17, 3:28 am
23category listing not working on categories with spaces [not fixed]Oct 16, 2:52 am
24show the current date in javascriptOct 16, 2:17 am
25How to Pass Props to a Stateless Functional Component in ReactOct 16, 12:24 am
26How to Write a React Component from ScratchOct 16, 12:09 am
27How to Render a React Class Component to the DOMOct 15, 9:28 pm
28get element by id and hide itOct 15, 5:24 am
29get element by id with javascriptOct 15, 5:21 am
30set a cookie on click and then check if the cookie is set and dont show that message againOct 15, 5:13 am
31foundation three boxes with text align links to the bottom of elementOct 14, 11:51 pm
32How to Compose React Components in ReactOct 14, 11:29 pm
33Changing the default hero image based on the category name [not yet done]Oct 14, 3:36 am
34How to Use React to Render Nested ComponentsOct 14, 3:10 am
35How to Create a Component with Composition in ReactOct 14, 2:56 am
36using css counter-increment to add numbering to elementsOct 14, 12:17 am
37using the kbd html tagOct 13, 12:58 am
38How to Create a React Component using the ES6 class methodOct 12, 11:39 pm
39foundation base html templateOct 12, 4:17 am
40What is a Stateless Functional Component in ReactOct 12, 12:24 am
41How do Self-Closing JSX Tags Work?Oct 12, 12:10 am
42How to Define a HTML Class in JSX in ReactOct 11, 11:55 pm
43How to Render HTML Elements to the DOM with ReactOct 11, 11:43 pm
44How to Add Comments in JSXOct 11, 11:33 pm
45Create a Complex JSX ElementOct 11, 11:28 pm
46Create a Simple JSX ElementOct 11, 11:19 pm
47adding react with JSX using babelOct 11, 9:18 am
48adding react to a website in 3 stepsOct 11, 8:49 am
49using babel for react compiling in browserOct 11, 8:41 am
50react hello world with time and date updatingOct 11, 4:12 am
51react hello world with variable nameOct 11, 4:00 am
52react basic hello worldOct 10, 11:29 pm
53console table rather than console log for javascript objects and arraysOct 8, 8:36 am
54timeline class and functionOct 8, 5:02 am
55bootstrap alert templateOct 8, 12:53 am
56bootstrap list group card with footerOct 8, 12:13 am
57list group bootstrap templateOct 7, 11:43 pm
58list group card item templateOct 7, 11:40 pm
59php html template class systemOct 7, 11:31 pm
60list group card templateOct 7, 11:29 pm
61views list function for checking what views have been made on the current weekOct 7, 8:54 am
62load array load all items from an array while in a sqlite load sql loopOct 7, 8:36 am
63Idea: Google Font Dropdown Selector CodeOct 6, 8:55 am
64create a 200 character summary from a longer html stringOct 5, 11:16 pm
65twitter social sharing meta tagsOct 5, 11:51 am
66responsive three box section with tabular data or table dataOct 1, 5:50 am
67stackable bio or biography list with portrait image title and textOct 1, 1:13 am
68open sans @import embed font quickOct 1, 1:05 am
69using strlen to check the length of a string and do something about itSep 30, 4:18 am
70using wp_nav_menu to show a custom menu in wordpressSep 29, 4:28 am
71get and show the featured image on a wordpress page templateSep 29, 4:07 am
72document placeholder for a4 in portraitSep 29, 2:19 am
73landscape image document placeholderSep 29, 2:10 am
74easy section wrap in foundation - 3 boxes responsiveSep 29, 12:23 am
75link to a custom style sheet in your theme directory wordpressSep 28, 2:35 am
76wordpress show page content on template fileSep 28, 1:29 am
77show post content on template wordpressSep 28, 1:28 am
78wordpress add a template file to your themeSep 28, 1:13 am
79hidden scroll anchor for custom scroll positionSep 27, 5:26 am
80down chevron and stylesSep 24, 2:43 am
81How to record your own page views with PHP, and make them into weekly monthly and yearly chartsSep 23, 2:01 am
82load from fields array php class functionSep 22, 12:28 pm
83ken burns slow image zoomSep 22, 4:04 am
84using a radial gradient for background overlaySep 22, 3:51 am
85change selected color on input elements cssSep 22, 2:47 am
86easy section wrap in foundationSep 20, 4:33 am
87test image url that always changes unsplash placeholderSep 20, 3:05 am
88video not auto playing issue in chrome and braveSep 20, 2:34 am
89change the box-shadow of an element with javascript boxShadowSep 18, 4:39 am
90change the background color of an element with javascriptSep 18, 4:03 am
91adding a new line in javascriptSep 17, 6:53 am
92javascript update item in objectSep 16, 3:58 am
93change the border radius of an element with javascript onlySep 15, 1:42 pm
94change padding of element with javascriptSep 15, 1:27 pm
95get the value from a range input field with javascriptSep 15, 12:39 pm
96get the current week as a number with phpSep 14, 9:57 am
97animated duck on footerSep 13, 5:56 am
98twitter json feed testingSep 10, 9:33 am
99atom on mac and synchronise settingsSep 6, 12:42 am
100fancybox load iframe inlineSep 4, 2:44 am
101using filter grayscale to make an image darkSep 2, 11:39 pm
102function to load one latest item with a start val load_latest_single_numSep 2, 4:06 am
103make the view number zoom when mouse over or activeSep 2, 1:24 am
104moving the hits widget into the post header and footerSep 2, 12:52 am
105creating embedded php code from a database fieldAug 26, 4:23 am
106test php bundle writeAug 26, 1:49 am
107check if a file exists with phpAug 23, 9:33 am
108check if the file is a directory or check if the directory exists in phpAug 23, 7:00 am
109get the current working directory in phpAug 23, 6:55 am
110create directory with php create folder with phpAug 23, 6:48 am
111mouse enter mouse leave jquery hover hoveroutAug 23, 3:47 am
112simulate a click on an element with jqueryAug 23, 3:41 am
113bootstrap dark modeAug 19, 1:24 am
114twitter icon font awesomeAug 18, 6:05 am
115how to bundle css files together using windows or macAug 16, 9:52 am
116check if a product already exists by its md5Aug 12, 9:36 am
117center mode slick zoom testingAug 10, 5:17 am
118gallery carousel center modeAug 10, 12:44 am
119button with separated chevronAug 9, 5:48 am
120load random videos module using templateAug 8, 4:32 am
121PHP/SQLite - Load Random ItemAug 8, 3:53 am
122still more comment spamAug 6, 6:16 am
123split a string into links using the commaAug 6, 5:48 am
124add some foundation tabs working exampleAug 3, 5:01 am
125extract youtube image from video urlJul 31, 3:52 am
126simple php ip blockerJul 29, 11:26 pm
127vertically align text within a fixed height div using flexJul 29, 9:55 am
128how to view a web page in its printer formatJul 28, 6:26 am
129white space break word cssJul 27, 5:36 am
130old browser check with javascriptJul 26, 2:56 am
131check browser version and show a messageJul 23, 6:47 am
132roboto and poppins fonts include quick codeJul 23, 12:10 am
133search bug AboveJul 22, 3:57 am
134CSS Drawing - Beach SceneJul 20, 1:24 am
135404 Error Page CodepenJul 16, 1:16 am
136set the amount of lines to show in a textarea fieldJul 16, 1:01 am
137right align something in its elementJul 14, 3:15 am
138preg replace clean a string only allow a-zA-Z0-9 charactersJul 10, 4:25 am
139weird search results being recordedJul 10, 4:04 am
140foundation grid for 6.6x - also known as the foundation xy gridJul 9, 5:00 am
141append a #link to the end of all href urls on a targetJul 9, 1:07 am
142get last month as a number with phpJul 5, 12:58 pm
143hide the third row in a table with cssJun 30, 5:15 am
144globe svg testing (broken)Jun 29, 6:32 am
145how to make a transparent logo white with cssJun 29, 3:07 am
146fix for wordpress requesting ftp login details installing pluginsJun 27, 4:27 am
147simple backup to google drive fron linuxJun 27, 1:04 am
148verify the google recapture server phpJun 25, 12:45 am
149scroll down the page using a button clickJun 23, 12:25 am
150using clamp js to clamp lines of textJun 22, 11:17 pm
151Scroll down indicator css javascript and htmlJun 22, 5:35 am
152this is a weird one table underline appearing and dissapearing on mouse overJun 21, 12:52 pm
153check if a ul contains a ul liJun 21, 4:25 am
154target last item css with :last-of-typeJun 21, 4:22 am
155target first item css with :first-of-typeJun 21, 3:48 am
156add a gtag.js pdf click eventJun 20, 11:36 pm
157for auto filled fields, need to change the text and background coloursJun 17, 12:11 am
158use a list group for listing by category page [todo]Jun 17, 12:02 am
159jquery check if a sub element existsJun 15, 4:22 am
160jquery toggle menu testingJun 15, 3:52 am
161responsive menu research full screen multi levelJun 15, 3:07 am
162Comments Listing should be a custom list rather than using searchJun 14, 3:57 am
163ajax callback to delete with sweet alert confirmation to make it cool! 😎Jun 11, 4:29 am
164load the latest single item onlyJun 11, 1:24 am
165load oldest item based on insdate then update the insdate to now - load_latest_single_updateJun 11, 1:19 am
166change this to a list group - other itemsJun 11, 1:15 am
167hero widget header - creates a nice looking hero item from a target uid and classJun 11, 12:10 am
168dropdown sectionJun 9, 6:53 am
169Latest from Code WidgetJun 9, 6:18 am
170rtrim strip white space or strings from the end of a stringJun 8, 12:50 pm
171prevent default click event on linkJun 8, 1:59 am
172get the current month as a numberJun 7, 5:48 am
173make your images look non squished when not using image backgrounds v2Jun 4, 6:22 am
174show the browsers name in javascriptJun 4, 3:49 am
175show the difference between two dates in years, months, days, hours and secondsJun 4, 1:03 am
176counting the occurrence of words in a multidimensional arrayJun 3, 4:19 am
177target 1st td in a table with cssJun 2, 4:06 am
178write string contents to a file with phpMay 26, 12:48 pm
179backup script to google drive that can be used for multiple directoriesMay 26, 5:26 am
180backdrop-filter: blur(10px);May 25, 11:34 pm
181json test objects (or arrays)May 25, 12:22 pm
182loop through a complex object json javascriptMay 25, 12:19 pm
183load json with vanilla javascript no jqueryMay 25, 9:57 am
184json load from jquery and loop through the resultsMay 25, 6:48 am
185add chevrons to a ul listMay 21, 2:15 am
186unable to access the $_FILES when submitting a form phpMay 18, 4:52 am
187check column exists in table sqliteMay 17, 12:21 pm
188set active class based on url valueMay 14, 3:13 am
189show all methods or functions in a class (class function version)May 13, 4:32 am
190show all methods (functions) in a classMay 13, 4:07 am
191adding an item to an array with phpMay 13, 3:10 am
192check if a variable is undefined or NULLMay 12, 5:58 am
193foundation accordion for version 6.xMay 12, 1:31 am
194foundation responsive tablesMay 11, 4:13 am
195allow a title to be in the foreground while still having a before overlay for the backgroundMay 11, 2:03 am
196passing in arrays to your functions rather than using variablesMay 11, 1:11 am
197check server https or http value in php using $_SERVERMay 11, 12:29 am
198fancybox image popout easyMay 10, 4:12 am
199css responsive max and min targets @mediaMay 7, 1:39 am
200check box highlight text area cssMay 5, 5:12 am
201Remove background image php with image magicMay 3, 12:12 am
202validate an email address from a form field - version 2Apr 30, 6:46 am
203check if a checkbox is checked with javascriptApr 30, 6:06 am
204form submit override with javascriptApr 30, 5:48 am
205submit a form with javascript onclickApr 26, 1:05 am
206dropdown change input box on selectApr 23, 6:20 am
207get current url with phpApr 21, 11:54 am
208Slick Slider Carousel with Fade TransitionApr 21, 5:01 am
209list a functions variables or argumentsApr 21, 12:12 am
210pre-line white space settingsApr 20, 3:41 am
211pre-wrap preserve line spacing but also wrap where neededApr 20, 3:38 am
212php list all the functions in a classApr 20, 3:27 am
213php print an array nicelyApr 20, 3:14 am
214add a toast alert when logging in with half moonApr 7, 6:19 am
215dont use md5 for password hashing using password_hash and password_verifyApr 7, 5:09 am
216change photoshop to show px rather than ptApr 7, 2:11 am
217clear a input field when it looses focus using onblurApr 6, 10:56 pm
218a page with two imagesApr 4, 7:03 am
219python extract images into an array from a urlApr 4, 6:56 am
220python url to text with beautiful soupApr 4, 2:08 am
221python Install Beautiful SoupApr 4, 1:38 am
222python extract title tag from url and html using regexApr 4, 1:30 am
223python import and print urlApr 4, 1:11 am
224php basic page routerApr 4, 12:29 am
225git pull changes from a repositoryApr 3, 1:27 am
226commit and push changes to git repoApr 3, 1:26 am
227start ssh and add key gitApr 3, 1:24 am
228play youtube videos on firefox in ubuntu 18Apr 2, 5:06 am
229css double page document preview with shadowMar 30, 11:55 pm
230wordpress category list sorting customMar 30, 4:44 am
231adding a background image to the titles of the dark mode card on this pageMar 26, 6:00 am
232blur the background image while keeping the foreground normalMar 26, 5:28 am
233background image greyscale filter while foreground is still in colourMar 26, 4:58 am
234javascript page redirectMar 26, 3:18 am
235page scroll indicator researchMar 24, 11:18 pm
236zoom background of element when activeMar 19, 4:53 am
237rounded click me button with iconMar 19, 3:28 am
238Creating a chart about charts.css with charts.css from the command lineMar 18, 8:33 am
239replacement slider for ken wheeler's slick carousel tiny slider 2 [testing]Mar 17, 5:23 am
240change a select box back to its initial select valueMar 17, 1:00 am
241select onchangeMar 16, 11:54 pm
242add years as options to select dropdownMar 16, 11:35 pm
243using moment.js to make your time format nicerMar 16, 11:15 pm
244loop through object json javascriptMar 16, 12:09 am
245json jquery ajax requestMar 15, 3:34 am
246logo tickers marquee slow scrollingMar 14, 12:07 am
247linux mount a drive manuallyMar 12, 4:24 am
248add a moving chevron to your href linkMar 11, 10:10 pm
249add click event to multiple link items and load the link content into a target div ajaxMar 9, 3:51 am
250add click event to multiple link itemsMar 9, 3:24 am
251set the html of an element javascriptMar 8, 11:34 pm
252inline form field paddingMar 8, 12:21 am
253get the value of an input form element (input value)Mar 7, 11:56 pm
254minutes to decimal calculator javascript versionMar 7, 11:38 pm
255check if a certain query string is set then apply it to all url's on the pageMar 1, 8:22 am
256check if a query string item is set in the current urlMar 1, 5:49 am
257append a query string to all url's on a pageMar 1, 5:45 am
258using text-stroke to add a border to your textFeb 22, 12:23 am
259installing exfat and ntfs drivers to enable reading of these filesystemsFeb 20, 4:56 am
260linux list all drives and partitionsFeb 20, 4:50 am
261adding background blur to an image using css fill screenFeb 19, 5:23 am
262using the nth-of-type selector to target a class with the same nameFeb 19, 2:44 am
263how to check the temperature of the pi using command lineFeb 17, 11:39 pm
264how to check linux kernel version on rasberry pi rasberianFeb 17, 2:33 am
265how to find what version pi you are usingFeb 17, 2:19 am
266Uncaught TypeError: $(...).slideToggle is not a functionFeb 17, 12:11 am
267slick carousel jump to a slide on element hoverFeb 15, 4:00 am
268checking for spam comments functionFeb 10, 5:27 am
269github logo background png cssFeb 10, 5:10 am
270animated rings expanding with delay ripple water effectsFeb 10, 5:00 am
271css slow zoom in animationFeb 10, 2:57 am
272using the last-of-type css selector to remove a border from the last item in a listFeb 10, 1:55 am
273Aligning Images in TinyMCE or Floating them left and right (code)Feb 8, 5:32 am
274change file permissions to -rw-rw-r--Feb 6, 8:39 am
275calculate a percentage (dec) difference based on two numbersFeb 6, 8:35 am
276Adding HTML Templates into TinyMCE EditorFeb 5, 12:14 am
277jquery page search [testing]Feb 3, 8:27 am
278TestingFeb 2, 11:42 pm
279How to set a cookie and expire it in 30 daysFeb 2, 9:51 am
280how can i make my code look nice, or highlighted in evernoteFeb 2, 9:36 am
281TortoiseSVN for updating wordpress pluginsJan 28, 11:10 pm
282box hover over effects using pulsate animationJan 27, 12:05 am
283install atom editor on ubuntuJan 24, 11:42 pm
284Enabling SSH on UbuntuJan 24, 5:16 am
285change images to upload file also to imgur [reported]Jan 23, 8:48 am
286enable dark mode in tinymceJan 23, 2:53 am
287codemirror htmlmixed textareaJan 23, 2:09 am
288install codemirror for textareas [added]Jan 22, 8:24 am
289using multiple text shadowJan 22, 3:37 am
290box shadow example(s) - drop shadowJan 22, 2:27 am
291darkmode toggle switch with local storage to remember the last selectionJan 21, 8:49 am
292add a youtube video preloader function, lazy load youtube [fixed]Jan 21, 2:58 am
293@import and html link to Montserrat font family google fontJan 19, 11:58 pm
294my default text shadow cssJan 19, 12:41 am
295spin rotate an element on mouse over [css]Jan 17, 12:51 am
296animate and zoom six elements on a timer [addClass, removeClass, setTimeout]Jan 15, 3:42 am
297mouse outline svgJan 15, 12:57 am
298add a comment recording system for posts [idea]Jan 14, 3:02 am
299fix view page for search links [reported]Jan 14, 3:00 am
300should have a different menu colour [reported]Jan 14, 2:37 am
301style page numbers [fixed]Jan 14, 2:26 am
302explode a string into an arrayJan 13, 5:19 am
303checking the current url and then marking a link active based on that urlJan 13, 1:32 am
304using gzdeflate on a string phpJan 12, 11:32 am
305linking search results to view pages [finished] 🤣Jan 12, 2:44 am
306change the cursor to a pointer for an elementJan 12, 12:19 am
307chevron upJan 10, 11:19 pm
308chevron downJan 10, 11:05 pm
309set maxHeight of element by id with javascriptJan 1, 3:59 am
310badge border colour is too dark or light on number badges [fixed]Jan 1, 3:04 am
311badge placement is offset in list pages [fixed]Jan 1, 2:43 am
312top bar overflow issues [fixed]Jan 1, 2:36 am
313make labels or badges look betterDec 31, 6:09 am
314include tinymce only if a user is logged into the siteDec 23, 5:44 am
315test page for the custom css 12 grid used on this siteDec 23, 5:38 am
316easy twitter embed codeDec 23, 3:26 am
317How to add jquery to squarespace siteDec 22, 11:39 pm
318make an image white with css using filter brightness and invertDec 22, 5:16 am
319add a jquery date picker to your text boxDec 22, 12:56 am
320foundation old grid formatDec 17, 11:58 pm
321replicating the bootstrap dropdown toggle in jqueryDec 17, 2:36 am
322nice webkit scrollbars (scroll bar, web kit, nice)Dec 14, 1:02 am
323chevron leftDec 11, 5:13 am
324chevron rightDec 11, 5:12 am
325use an emoji on your list items ul liDec 11, 4:53 am
326bootstrap basic grid layoutDec 11, 1:45 am
327background image on 3 boxes not scaling correctly fixDec 11, 1:43 am
328Windows Emoji ShortcutDec 10, 1:58 am
329CSS Grid Frame WorkDec 7, 10:56 pm
330Modern HTML5 Techniques for changing classesDec 7, 12:56 pm
331css prefers-color-scheme exampleDec 7, 12:06 pm
332vimeo thumbnail generatorDec 7, 5:35 am
333play a sound every # of secondsDec 7, 3:38 am
334bootstrap toggle element collapseDec 4, 1:34 am
335adding pagination to custom wp_queryDec 4, 12:29 am
336download icon svgDec 3, 10:28 pm
337add paging to wp list queryDec 1, 11:37 pm
338using jquery appear for checking if an element is visible on screenDec 1, 12:24 am
339Monitoring Visible Objects on ScreenDec 1, 12:07 am
340using attr in css to get content from htmlNov 30, 1:11 am
341check that a number is in the correct range based on a form selectionNov 24, 4:45 am
342how to install js socials for social media share buttons and make them roundedNov 23, 5:42 am
343css perspective and transform css properties testingNov 23, 2:51 am
344Fix Hover Over color on list group dark mode in bootstrapNov 23, 12:31 am
345list items from blog and filter by category nameNov 18, 3:03 am
346Quick tool to convert time into decimalNov 16, 12:55 am
347using javascript to open a link in the same window and in a new window or tab (open link)Nov 13, 4:26 am
348hero box with title sub title logos and call to action buttonsNov 9, 2:43 am
349Leaflet Quick Start ExampleOct 26, 4:45 am
350using linear gradient background on text cssOct 26, 12:02 am
351setting up css variables in your stylesheetOct 14, 5:36 am
352match a category id in wordpress and then add styles just for that idSep 29, 6:20 am
353simple table stripe stripingSep 29, 12:48 am
354bootstrap collapse or toggle a div visibilitySep 28, 1:13 am
355drop shadow text class easy drop shadowSep 28, 12:33 am
356center everything in a div with flex-center (centre)Sep 28, 12:07 am
357generating all css colours with php?Sep 25, 12:13 am
358country select javascript check which option is selected and show a hidden elementSep 22, 2:05 am
359country select javascript check which option is selectedSep 22, 1:54 am
360php countries array to dropdown form elementSep 22, 1:40 am
361get the current post id from content.phpSep 21, 6:07 am
362wordpress get the current category id name and slugSep 21, 6:01 am
363fix for Uncaught (in promise) Error: reCAPTCHA placeholder element must be emptySep 18, 5:43 am
364search a zip file with windows command prompt and 7zipSep 8, 1:09 pm
365css font style italicSep 2, 12:27 am
366create a rainbow background using css linear gradientSep 1, 3:53 am
367extracting the useful bits of bootstrapAug 31, 5:14 am
368Bootstrap 4 Center menu items in a navbarAug 28, 12:05 am
369certbot add a certificate for one domainAug 26, 6:46 am
370renew all SSL certificates with certbotAug 26, 6:45 am
371Fix for Fatal error: Uncaught Error: Call to undefined function file_get_dom() simplehtmldom simple_html_domAug 26, 1:08 am
372Fixing PHP SQLite database is locked warning - Unable to execute statement: database is lockedAug 26, 12:24 am
373simple usage for php password_hashAug 25, 1:06 pm
374enable tinymce on a target textarea by idAug 19, 12:15 am
375Bootstrap Darkmode SwitchAug 18, 11:54 pm
376stop tinymce replacing urls with relative url'sAug 18, 12:55 am
377What is Core?Aug 17, 6:52 am
378Create a UTF8 General MySQL Database with CommandAug 13, 4:05 am
379Custom JS Tabs - No Jquery or Jquery UIAug 4, 11:28 pm
380fix for Uncaught TypeError: e.indexOf is not a functionAug 3, 12:20 am
381stop overscrolling on responsive iosJul 31, 3:50 am
382switching stack order of floats with flexJul 28, 11:55 pm
383To make Ubuntu do nothing when laptop lid is closedJul 27, 12:50 am
384change string to capital words ucwordsJul 21, 6:08 am
385change upper case case string to lower case (uppercase, lowercase)Jul 21, 6:02 am
386scroll to top html css and jsJul 21, 1:13 am
387bold the numbers in a ol li listJul 14, 1:13 am
388convert a string to uppercase with phpJul 14, 12:31 am
389php substr return part of a stringJul 13, 2:35 am
390php countries arrayJul 12, 11:09 pm
391add a user to a groupJul 12, 3:00 am
392loop through each directory in a target directory and compress themJul 12, 2:55 am
393loop through each directory in a target directoryJul 12, 2:47 am
394get the wordpress category name from a category idJul 6, 6:00 am
395add a class or remove it based on window scroll locationJun 30, 1:45 am
396stretching an image to fit in a banner image with gimpJun 30, 1:16 am
397javascript window.onloadJun 29, 11:32 pm
398adding pulsating dots to your css ul li listJun 26, 3:26 am
399wordpress adding post custom field meta and displaying it on you templateJun 24, 1:33 am
400get element by class name with javascript and change it functionJun 17, 1:59 am
401hide parts of a form until the 1st item is selectedJun 17, 1:26 am
402css using perspective for transformsJun 16, 5:57 am
403getting the site title vs the page nameJun 16, 5:07 am
404wordpress get home urlJun 16, 5:03 am
405add a tag to wordpress header from a pluginJun 16, 4:44 am
406list items matching a category titleJun 12, 4:08 am
407fixing the website footer and making it less uglyJun 6, 3:43 am
408loading content into fancybox modal using ajaxJun 5, 4:30 am
409inline fancybox modal testingJun 3, 6:12 am
410simple linear gradient overlay for an image to make it darker or lighterJun 2, 11:07 pm
411wp register plugin settings adminJun 1, 12:28 am
412fancybox modal popup exampleMay 29, 6:59 am
413wordpress main nav dropdown fixMay 27, 3:47 am
414Create a admin main wordpress custom menu itemMay 27, 1:39 am
415matches the url and does something if it matches a certain stringMay 26, 3:37 am
416tar.gz to compress a directory in linux and then decompress itMay 26, 2:41 am
417javascript isset equivalentMay 19, 6:39 am
418wordpress show the parent page title with fallback to titleMay 18, 1:03 am
419find and replace hrefs in existing page links using jqueryMay 8, 12:03 am
420Use Sweet Alert rather than alert!May 7, 11:35 pm
421get the href value using jqueryMay 7, 11:22 pm
422check if a timestamp is older than one hourMay 4, 1:24 pm
423Add a post date to your custom wordpress post listingMay 4, 5:49 am
424making var_dump look niceMay 4, 4:16 am
425use javascript to open a link in a new tab or windowMay 1, 3:59 am
426force existing link to open in a new window with javascriptMay 1, 3:49 am
427Find Disk Space Usage using DUApr 28, 11:30 pm
428Load and Unload TinyMCE editor from a buttonApr 17, 2:53 am
429Nginx Server Block with RewriteMar 29, 11:16 pm
430pulsating dots - glow glowingMar 13, 5:47 am
431load a youtube video in a fancybox modalMar 2, 10:46 pm
432using css linear gradient for background overlaysFeb 17, 12:34 am
433wordpress get page content to display on template pageFeb 3, 11:11 pm
434ES6 Nested Object ExampleFeb 3, 1:09 am
435ES5 vs ES6 Object ExampleFeb 3, 12:41 am
436Use Recursion to Return a Range ArrayFeb 2, 11:38 pm
437Use Recursion to Count DownFeb 2, 10:29 pm
438Use Recursion to Count UpFeb 2, 10:20 pm
439Get the documentURI with JSJan 28, 10:06 pm
440get the stylesheet directory in wordpress themeDec 16, 9:55 pm
441jquery document ready with foundation init as wellDec 16, 1:20 am
442center something with css not using flexDec 13, 12:56 am
443how to unzip in linuxDec 5, 11:51 pm
444php mysql table exists functionDec 2, 4:25 am
445how to display a php file as html with phpDec 2, 3:50 am
446jquery add a click function if the window size is greater than target_widthDec 2, 2:03 am
447jquery enable and disable attributeDec 2, 12:12 am
448js using recursion to create a range of numbersNov 25, 4:25 am
449php convert date now into a sql timestampNov 25, 12:43 am
450add google captcha to enable and disable a form buttonNov 12, 12:14 am
451Generate a Random User NameNov 11, 11:33 pm
452Using Node to get a Web Dev Environment with livereload up and runningNov 11, 12:38 am
453Using the Spread Operator to Evaluate Arrays In-Place TestsOct 14, 1:02 am
454Using the rest operator to pass in a variable amount of argumentsOct 1, 5:49 am
455Default Parameters for FunctionsOct 1, 5:23 am
456Complex Arrow Function ExampleOct 1, 5:14 am
457Writing Arrow Functions with ParametersOct 1, 12:36 am
458using arrow functions to convert small functions into one line statement functionsOct 1, 12:09 am
459Prevent Object MutationSep 30, 11:16 pm
460Changing an array declared with constSep 30, 6:17 am
461return a state name from an australian postcodeSep 29, 11:25 pm
462using let and const exampleSep 27, 4:55 am
463using let rather than varSep 27, 4:18 am
464Use Multiple Conditional (Ternary) OperatorsSep 27, 3:18 am
465js - Use the Conditional (Ternary) OperatorSep 24, 6:23 am
466Use the parseInt Function with a RadixSep 24, 6:14 am
467Using parseInt in a function to return an integer or notSep 24, 5:57 am
468Generate Random Whole Numbers within a RangeSep 24, 5:15 am
469split a string into an array using split javascriptSep 16, 4:47 am
470get the current url in javascriptSep 13, 3:47 am
471Custom 12 Grid using CSS GridSep 6, 2:19 am
472template for testing and live reloading html filesSep 4, 3:27 am
473Radial Click EffectSep 4, 1:13 am
474Generate Random Whole Numbers with JavaScript FunctionAug 26, 6:20 am
475Generate Random Fractions with JavaScriptAug 26, 6:09 am
476FCC - Basic: Profile LookupAug 26, 5:38 am
477copy a file when the date of the source is newer than the destinationAug 26, 3:27 am
478Do While LoopAug 25, 11:26 pm
479for loop through an array with javascriptAug 23, 12:18 am
480get the average of a number list using an array in phpAug 21, 12:48 am
481sublime text find and replace style tagAug 19, 12:43 am
482tinymce remove auto p tags settingAug 13, 6:15 am
483get the dimensions of an image with javascriptAug 13, 5:55 am
484target data attribute with cssAug 12, 11:52 pm
485toggle div function with chevron up down toggleAug 9, 1:19 am
486form checkbox replacement with large tick using labelAug 7, 2:15 am
487keyframe animations cssAug 6, 12:27 am
488basic for loop odd numbersJul 31, 6:20 am
489check if something is an arrayJul 31, 5:26 am
490apache redirect to https ssl from normalJul 31, 1:20 am
491getType function for jsJul 29, 11:50 pm
492Objects in javascriptJul 29, 11:25 pm
493card counting example from fccJul 29, 2:00 am
494using switch with multiple identical casesJul 29, 1:32 am
495using switch in a functionJul 28, 11:19 pm
496IP AddressJul 26, 1:30 am
497js function to calculate golf scoresJul 24, 1:48 am
498compare non equality functionJul 23, 11:15 pm
499compare equality functionJul 23, 10:57 pm
500JS Using typeof to check on string typesJul 23, 2:38 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.

Join me on Substack if you want me to send you a collection of the things i have done or found or read for the week. Or follow me on twitter if you prefer, i dont post much but i probably should!

❤👩‍💻🕹

Random Quote
Old programmers never die; they just lose some of their functions.