git reset --hard <識別碼>這時候github類的雲端還會有 <識別碼> 之後提交的記錄,如果你都想清空,把當前當作最新提交,即某個...
```html ``` ```js const vditor = new Vditor('vditor', { toolbar: [ 'headings', 'bold', 'italic', 'link', 'list', 'ordered-list', 'checklist', 'inline-code', 'code', 'quote',...
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 搬到另一台 Mac 後,Git 會根據文件的修改時間和權限變動來判斷文件是否被修改過。如果你發現所有文件都被認為是新增的或已修改過的樣子,解決方法: ```sh chmod -R 755 . ``` ```sh git co...
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()); ```