Discover gists
Apps used: Cursor.so / github copilot chat
This is like when humanity stopped using horses for transportation and started using cars. 🐴 👉 🚗
containers: | |
- image: "dockerfile/nginx" | |
ports: | |
- containerPort: 80 | |
hostPort: 8080 |
/** | |
* Utility class for common operations | |
* | |
* Any classes that use Schema.SObjectField, this property is object by calling "Schema.Account.Description" | |
* This allows type safety to ensure that code will not break if fields are changed | |
* this will not work with person accounts | |
* | |
* (c) Advanced Technology Group, 2019 | |
* This code may be used and modified freely as long as this copyright attribution | |
* is included with the code. |
How to fix a USB drive showing up as two drives (fragmented into multiple partitions) on Windows:
- Hold the Windows key and press X, select PowerShell (Admin), select Yes to the pop-up. You can also use Command Prompt.
- In the Powershell interface type
diskpart
to enter the disk partition tool. - Type
list disk
to see all disks listed. - Select the USB drive by typing
select disk [NUMBER]
. Be careful to select the correct drive. - Type
clean
. An error will occur if you have the drive folder open, close the window and repeat the command if this happens. - Type
create partition primary
. - Type
format fs=ntfs quick
to format the drive (you can also choose to setfs=fat32
). - Type
active
.
You can use ssacli
(smart storage administrator command line interface) tool to manage any of supported HP Smart Array Controllers in your Proxmox host without need to reboot your server to access Smart Storage Administrator in BIOS. That means no host downtime when managing your storage.
CLI is not as convenient as GUI interface provided by BIOS or desktop utilities, but still allows you to fully manage your controller, physical disks and logical drives on the fly with no Proxmox host downtime.
ssacli
replaces older hpssacli
, but shares the same syntax and adds support for newer servers and controllers.
- AI Shift
- 社内SQL研修のために作った資料を公開します - (2021/06/21)
- CARTA HOLDINGS(旧VOYAGE GROUP)
- 技術広報が新卒研修<Open AIハッカソン>をスパイしてみた - (2023/04/11)
- @t_wadaに学ぶテスト駆動開発【CARTA 23新卒研修】 - (2023/04/19)
- 【新卒研修】監修者@t_wadaと読む!プログラマが知るべき97のこと読書会 - (2024/04/09)
- Classi
- 当たり前にリリースしていく ~ 新卒研修編 - (2021/05/20)
- リモートワークのための質問力向上研修を実施しました - (2021/12/07)
Calibre is a powerful cross-platform, open source, ebook manager and editing platform. Its calibre-server component can be used to publish an e-book library on a local network. While you can launch calibre-server as a desktop application, it can also be run as a daemon on a headless Linux server.
This tutorial on setting up calibre-server using Ubuntu 14.04 is very good, but dated.
REST API response format based on some of the best practices