Skip to content

Instantly share code, notes, and snippets.

View code-boxx's full-sized avatar
🏠
Working from home

Code Boxx code-boxx

🏠
Working from home
View GitHub Profile
@code-boxx
code-boxx / 0-JS-WEBCAM.MD
Last active July 26, 2023 04:55
Javascript Take Photo With Webcam
@code-boxx
code-boxx / 0-JS-TTS.MD
Last active December 19, 2024 23:21
Javascript Text To Speech
@code-boxx
code-boxx / 0-JS-TYPEWRITER.MD
Last active July 10, 2023 09:32
Javascirpt Typewriter Effect
@code-boxx
code-boxx / 0-JS-DOC-FRAG.MD
Last active July 3, 2023 11:14
Javascript HTML Document Fragment

JAVASCRIPT HTML DOCUMENT FRAGMENT

https://code-boxx.com/javascript-document-fragment/

LICENSE

Copyright by Code Boxx

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell

@code-boxx
code-boxx / 0-JS-DYNAMIC-CSS.MD
Last active July 11, 2023 14:39
Javascript Dynamic Load CSS
@code-boxx
code-boxx / 0-JS-AJAX-AUTH.MD
Created July 3, 2023 02:26
Javascript AJAX With HTTP Auth

JAVASCRIPT AJAX WITH HTTP AUTH

https://code-boxx.com/http-basic-authentication-ajax/

NOTES

  1. This example is based on an Apache Web Server.
  2. Run unpack.bat (Windows) unpack.sh (Linux/Mac). This will:
    • Create a protected folder.
    • Move .htaccess, .htpasswd, secret.html inside.
  3. Edit protected\.htaccess, set AuthUserFile to the correct file path.
  4. Access http://YOURSITE.com/main.html.
@code-boxx
code-boxx / 0-JS-NUM-GUESS.MD
Created July 3, 2023 02:13
Javascript Number Guessing Game

JAVASCRIPT NUMBER GUESSING GAME

https://code-boxx.com/simple-javascript-number-guessing-game/

LICENSE

Copyright by Code Boxx

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell

@code-boxx
code-boxx / 0-JS-REDIRECT-PARAMS.MD
Created July 3, 2023 01:58
Javascript Redirect With Parameters

JAVASCRIPT REDIRECT WITH PARAMETERS

https://code-boxx.com/redirect-parameters-javascript/

LICENSE

Copyright by Code Boxx

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell

@code-boxx
code-boxx / 0-JS-CONNECT-DB.MD
Created July 3, 2023 01:44
Javascript Connect To Database

JAVASCRIPT CONNECT TO DATABASE

https://code-boxx.com/connect-database-javascript/

LICENSE

Copyright by Code Boxx

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell

@code-boxx
code-boxx / 0-JS-CLICK-REDIRECT.MD
Created July 3, 2023 01:24
Javascript Redirect On Click

JAVASCRIPT REDIRECT ON CLICK

https://code-boxx.com/redirect-on-click-javascript/

LICENSE

Copyright by Code Boxx

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell