碎片

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

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

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

  • ```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')); ```

  • ```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 ``` 不能有任何換行

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

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

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

  • https://catbox.moe/

  • docusaurus.io

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

  • https://krazydad.com/

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

  • ```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 ```

  • https://f3oall.github.io/awesome-notifications/docs/ 這是一套非常好用而簡單的 notification套件 ```html //全局設定 let globalOptions = { animationDuration:300, //動畫效果時長,數字越小動作越快...

  • ```php \DB::enableQueryLog(); $row = Service::with('catalog')->where('status', 1)->paginate(10); dd(\DB::getQueryLog()); ```

  • ```bash composer require fabpot/goutte ``` ```php use Goutte\Client; class WebScraperController extends Controller { public function scrape() { $url = 'https://www.example.com';...

  • ```html Choose your browser from the list: ```

  • 最簡單的color picker https://jscolor.com/examples/

  • https://momentjs.com/ ```html ```