Logo SkyChoy
  • 文章
  • 碎片
⌘ + K
  • 文章
  • 碎片
  • [JS] ip to 詳細資訊

    https://delftstack.com/zh-tw/howto/javascript/get-ip-address-javascript/

  • JS Fetch_API

    https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch

  • Laravel Cors

    https://www.stackhawk.com/blog/laravel-cors/#which-version-of-laravel-do-you-use

  • Laravel Define Global Variable

    https://www.scratchcode.io/best-ways-to-define-global-variable-in-laravel/

  • AlpineJs Toggle

    ```html Toggle Contents... ```

  • js confirm box

    ```html onclick="return confirm('Are you sure ?'); ``` demo ```html 清空內容 ```

  • [php] foreach 休息

    https://stackoverflow.com/questions/21066428/php-foreach-every-100-times-sleep-then-continue

  • [php] Remove unwanted HTML comments

    ```php // Remove unwanted HTML comments function remove_html_comments($content = '') { return preg_replace('//', '', $content); } ```

  • PHP 簡繁翻譯整理套件

    mediawiki Zh conversion https://taichunmin.idv.tw/blog/2014-09-25-mediawiki-zh-conversion.html OPENCC https://blog.vvtitan.com/2019/05/php%E5%AE%89%E8%A3%9Dopencc4php%E6%93%B4%E5%B1%95%E8%AE%93%E7%...

  • AlpineJS 打開側邊欄

    Side panel slideout with AlpineJS and TailwindCSS https://codepen.io/KevinBatdorf/pen/ZEQJZMe

  • TOC with tailwindcss + scrollspyJS

    Table of Content with tailwindcss + scrollspyJS ```html Toc Test .content_box{ min-height:280px; } What is HTML balabla bala bala What i...

  • .htaccess 限制IP 瀏覽

    ```html order deny,allow deny from all # whitelist XXXX's IP address allow from 123.123.123.123 ```

  • php array_diff()

    ```php $a1=array("a"=>"red","b"=>"green","c"=>"blue","d"=>"yellow"); $a2=array("e"=>"red","f"=>"green","g"=>"blue"); $result=array_diff($a1,$a2); print_r($result); //return "d"=>"yellow" ```

  • Laravel 9 + Vite + Tailwindcss install workflow

    ```shell composer create-project laravel/laravel sme01 cd sme01 valet link ``` install Laravel successfully **git submit** ```shell npm install -D tailwindcss postcss autoprefixer npm install -D...

  • outlook 突破單個Profile (.pst) 與 (.ost) 50GB 上限的方法

    https://support.microsoft.com/zh-tw/topic/%E5%A6%82%E4%BD%95%E8%A8%AD%E5%AE%9A-outlook-%E4%B8%AD-pst-%E8%88%87-ost-%E6%AA%94%E6%A1%88%E7%9A%84%E5%A4%A7%E5%B0%8F%E9%99%90%E5%88%B6-2f13f558-d40e-9c2a-e3...

  • Base onclick to check Form submit

    ```html 提交 ``` ```js function check(){ if (document.forms["add_data"]["user_name"].value == "") { document.forms["add_data"]["user_name"].classList.add('focus:border-red-500'); docu...

  • [JS alert package] notifier awesome-notifications

    https://f3oall.github.io/awesome-notifications/

  • DirectAdmin License check failure

    ### DirectAdmin Show >License check failure See the Debug Guide Reason: license is expired Current Server Time: Fri, 26 Aug 2022 18:44:34 HKT ### DirectAdmin Offical Replay: This is most likely due t...

  • querySelectorAll onClick

    ```js window.addEventListener('DOMContentLoaded', function(event){ document.querySelectorAll("a[href='https://api.whatsapp.com/send?phone=123']").forEach(function(e) { e.addEventListener('cl...

  • Livewire Load More On Page Scroll Step by Step

    https://www.laravelcode.com/post/laravel-8-livewire-load-more-on-page-scroll-step-by-step

  • « Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • Next »

© 2025 Powered by SkyChoy ❤️ All Rights Reserved.

×

使用 ↑ ↓ 鍵選擇, Enter 鍵前往, Esc 鍵關閉