Logo SkyChoy
  • 文章
  • 碎片
⌘ + K
  • 文章
  • 碎片
  • Sortable List Vanilla JS

    https://codepen.io/vtno/pen/MXmpoy

  • php delete folder

    php5.2+ ```php //$dir = delete folder $it = new RecursiveDirectoryIterator($dir, RecursiveDirectoryIterator::SKIP_DOTS); $files = new RecursiveIteratorIterator($it, RecursiveIteratorItera...

  • vanilla-javascript-form-validation

    https://web-crunch.com/posts/vanilla-javascript-form-validation https://codepen.io/webcrunchblog/pen/ZEWwvZy

  • Laravel 保存base64的圖片

    ```php //$image base64 image $imageName = time() . 'ava.png'; $image = str_replace('data:image/png;base64,', '', $image); $image = str_replace(' ', '+', $image); Storage::disk('temp_avatar')->pu...

  • code theme dracula

    https://draculatheme.com/

  • Laravel Mail base send

    ```php $email = 'email@email.com'; $content = "Hello, Welcome to our site."; $title = "Hi,welcome user!"; $data = [ 'content' => $content, 'tit...

  • 經brew安裝的php 如何徹底刪除配置文件

    ```bash brew uninstall php ``` 這樣就把你的php刪除了 但如果馬上重裝,又會看到貌似是之前的設定 應該手動把這個位置都刪除再重裝就ok `/opt/homebrew/etc/php/` 然後再重裝即可 順帶一提,如果你是使用m1的...

  • redis 可視化管理工具 - Another Redis Desktop Manager

    https://github.com/qishibo/AnotherRedisDesktopManager/releases

  • safari 取消網頁自動將電話加上鏈結

    safari 經常自動將電話加上`tel:` 但可以加上鏈結後,會與網頁原本想顯示的配色有出入 所以可在`` 加入這句 ```html ```

  • VSCODE 插件指定目錄生效

    ```json { "tailwindCSS.files.exclude": [ "**/.git/**", "**/node_modules/**", "**/.hg/**", "**/resources/views/admin/**" ], "html-css-class-completion.includeGlobPattern": "**/res...

  • [Youtube] Responsive Dropdown Sidebar Menu

    https://www.youtube.com/watch?v=ES8vJcUqE7s

  • onclick confirm box with js

    a base and simple js onclick confirm box `` Tag with Form ```html Delete ``` `` Tag ```html Delete ```

  • Laravel pagination 分頁採用 Bootstrap 樣式

    `App\Providers\AppServiceProvider `,添加以下兩項設定 ```php use Illuminate\Pagination\Paginator; public function boot() { Paginator::useBootstrap(); } ``` https://laravel.com/docs/8.x/pagination...

  • Laravel 批量插入 Insert Multiple Records

    ```php $module_data = array(); foreach ($course_module as $k => $v) { $module_data[] = [ 'user_course_id' => $orm->id, 'course_id' => $reque...

  • Laravel ORM 常用 Demo

    select + where + with + orderBy + paginate ```php Post::select('title', 'id') ->where('user_id',$user->id) ->orWhere('name', 'LIKE', '%' . $name . '%') ->orderBy('updated_at', 'desc') ->...

  • bootstrap Validation select2

    https://stackoverflow.com/questions/54510043/bootstrap-and-select2-form-validation?answertab=votes#tab-top

  • MacOS 手動備份「相片App」的內容

    前往 `/Users/****/ ` 應該會看到`圖片`這目錄 進入後會看到`照片圖庫` 按右鍵`顯示套裝內容`,進入就會看到名為`originals`的目錄 這個目錄就是平時iPhone等等輸入相片至mac時會保存到此 打開後就是目錄式的方法...

  • Meraki UI - Tailwindcss UI

    https://merakiui.com/ free Tailwindcss UI

  • icon: heroicons

    https://heroicons.com/

  • Alpine.js 中文文件

    https://hackmd.io/@monkenWu/S14j-NqsU

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

© 2025 Powered by SkyChoy ❤️ All Rights Reserved.

×

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