Logo SkyChoy
  • 文章
  • 碎片
⌘ + K
  • 文章
  • 碎片
  • rclone 同步指令

    rclone copy \ --progress \ --transfers=4 \ --checkers=4 \ --bwlimit=10M \ --retries=3 \ --retries-sleep=10s \ --stats=30...

  • EXPO 建立development build 版本

    npx expo run:ios部分功能一定要在development build版上才能測試到比如部分原生的功能我在試用fcm時發現的,為了調試fcm發送功...

  • Git 退回指定的一次提交

    git reset --hard <識別碼>這時候github類的雲端還會有 <識別碼> 之後提交的記錄,如果你都想清空,把當前當作最新提交,即某個...

  • vditor demo

    ```html ``` ```js const vditor = new Vditor('vditor', { toolbar: [ 'headings', 'bold', 'italic', 'link', 'list', 'ordered-list', 'checklist', 'inline-code', 'code', 'quote',...

  • 1panel ftp fixbug

    https://1panel.cn/docs/user_manual/toolbox/ftp/ https://github.com/1Panel-dev/1Panel/discussions/5468 重點是 在 `/etc/pure-ftpd/pure-ftpd.conf ` 文件中找到或添加以下行: `PassivePortRange 30000 350...

  • Mac 搬遷文件git發生大量變動的解決辦法

    當你將文件從一台 Mac 搬到另一台 Mac 後,Git 會根據文件的修改時間和權限變動來判斷文件是否被修改過。如果你發現所有文件都被認為是新增的或已修改過的樣子,解決方法: ```sh chmod -R 755 . ``` ```sh git co...

  • 動態背景js 點點網

    particles.js https://github.com/VincentGarreau/particles.js?tab=readme-ov-file

  • react-native-vector-icons preview all

    https://oblador.github.io/react-native-vector-icons/

  • react native expo 切換 iso simulator

    查看所有 ```bash xcrun simctl list devices ``` 直接打開,把 ` ` 替換成上面查到的很長的編號 ```bash open -a Simulator --args -CurrentDeviceUDID ``` 輸入你想要的型號 `"xxxx"` 就可以把expo 預設的裝置...

  • [SQL] unixtime > timestamp

    ```sql UPDATE your_table_name SET created_at = IF(create_unixtime IS NULL OR create_unixtime = 0, NULL, CONVERT_TZ(FROM_UNIXTIME(create_unixtime), '+00:00', '+08:00')); ```

  • Laravel 在 Directadmin 執行 cronjob

    ```shell cd /home/username/domains/xxxxxx.com/public_html && /usr/local/bin/php artisan test:email >> /home/username/domains/xxxxxx.com/public_html/storage/logs/cron.log 2>&1 ``` 不能有任何換行

  • backup Laravel + datatable 舊代碼

    ```html 所有狀態 @foreach (config('common_arr.arr_status') as $k => $item)...

  • JS 前當分類addClass

    ```js $(document).ready(function() { var currentId = {{$data->id}} $('#menu a[data-menu_id="' + currentId + '"]').addClass('active'); }); ``` 這樣就不必用後端檢查是否當前分類

  • 類Github 日曆熱力圖

    https://echarts.apache.org/examples/zh/editor.html?c=calendar-heatmap

  • free upload site

    https://catbox.moe/

  • md 模式網站

    docusaurus.io

  • Printer素材

    https://www.epson.com.tw/creativeprint/festival https://www.creativecenter.brother/zh-cn https://printables.hp.com/cn/zh/collections

  • 列印遊戲紙

    https://krazydad.com/

  • wordpress blog grid img 統一高度+按比例顯示

    ```css .rs-blog-grid .blog-item .image-wrap img{ height:300px !important; width:100% !important; object-fit: cover !important; } ```

  • webmaster

    ```sql UPDATE table_name SET updated_at = CASE WHEN old_datetime > 0 THEN CONVERT_TZ(FROM_UNIXTIME(old_datetime),'+00:00', '+08:00') ELSE NOW() END ```

  • &laquo; Previous
  • 1
  • 2
  • 3
  • ...
  • 6
  • Next &raquo;

© 2025 Powered by SkyChoy ❤️ All Rights Reserved.

×

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