start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
start [2023/02/21 18:13] – [Introduction] admin | start [2023/08/12 13:07] (current) – [Date.js] admin | ||
---|---|---|---|
Line 9: | Line 9: | ||
====== Touchpad ====== | ====== Touchpad ====== | ||
Use | Use | ||
- | <code> | + | <Code> |
synclient TouchpadOff=1 | synclient TouchpadOff=1 | ||
- | </code> | + | </Code> |
To turn the bloody touchpad off on laptop. | To turn the bloody touchpad off on laptop. | ||
If that doesn' | If that doesn' | ||
- | <code> | + | <Code> |
#!/bin/bash | #!/bin/bash | ||
x=`xinput list | grep Synaptics|awk '{ $1=""; | x=`xinput list | grep Synaptics|awk '{ $1=""; | ||
xinput set-prop ${x} 164 0 # '" | xinput set-prop ${x} 164 0 # '" | ||
- | </code> | + | </Code> |
xinput list will give you a list of devices you can control. | xinput list will give you a list of devices you can control. | ||
Line 29: | Line 29: | ||
Before using chroot from a live CD to fix a system, use: | Before using chroot from a live CD to fix a system, use: | ||
< | < | ||
- | mount -o bind /proc /mnt//proc/ | + | mount -o bind /proc /mnt/proc/ |
mount -o bind /dev /mnt/dev/ | mount -o bind /dev /mnt/dev/ | ||
mount -o bind /sys /mnt/sys | mount -o bind /sys /mnt/sys | ||
Line 107: | Line 107: | ||
<script src=" | <script src=" | ||
</ | </ | ||
+ | Date.js can be found at: https:// | ||
+ | ====== Sample ====== | ||
+ | I used this prompt in bard: | ||
+ | generate the mysql 8 table using the following schema: id int 11 autoindex; | ||
+ | |||
+ | And it generated the following: | ||
+ | < | ||
+ | CREATE TABLE `my_table` ( | ||
+ | `id` INT(11) NOT NULL AUTO_INCREMENT, | ||
+ | `name` VARCHAR(64) NOT NULL, | ||
+ | `dat` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, | ||
+ | PRIMARY KEY (`id`) | ||
+ | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; | ||
+ | Use code with caution. Learn more | ||
+ | This table has three columns: | ||
+ | </ | ||
+ | * id: An integer column that is the primary key of the table. This column is automatically incremented by MySQL. | ||
+ | * name: A string column that stores the name of the record. This column has a maximum length of 64 characters. | ||
+ | * dat: A datetime column that stores the date and time when the record was created. This column is automatically set to the current timestamp when a new record is inserted. | ||
+ | |||
+ | I hope this helps! Let me know if you have any other questions. | ||
+ | |||
+ | |||
start.1676999600.txt.gz · Last modified: 2023/02/21 18:13 by admin