Skip to content

Instantly share code, notes, and snippets.

@kid1412-net
kid1412-net / setting.md
Created August 20, 2015 09:04
[calibre] ePub to PDF converting setting

Note: Use this setting in calibre to convert an ePub file to a printing PDF file

Look and Feel

  • Text justification: Justify text

Page Setup

  • Left: 72 pt.
  • Top: 72 pt.
  • Right: 34 pt.
  • Bottom: 72 pt.
@kid1412-net
kid1412-net / 000_README_newBing_Reg.md
Last active March 19, 2023 12:55
new Bing (BingGPT, Bing Chat, Bing AI) Register - Cách đăng ký Bing mới (BingGPT, Bing Chat, Bing AI)

Cách Đăng Ký Bing mới (BingGPT, Bing Chat, Bing AI)

Các Bước Thực Hiện

  1. Vào trang web Bing, ấn vào nút đăng nhập https://www.bing.com
  2. Ấn vào chữ "Sign In" ở góc trên cùng bên phải.
  3. Ấn vào chữ "Create One!"
  4. Điền địa chỉ email (Gmail) của bạn
  5. Tạo mật khẩu
@kid1412-net
kid1412-net / smart_bat.sh
Last active December 12, 2022 04:07
Log MBP battery information daily
#!/bin/sh
########################################
# References
########################################
# https://forums.macrumors.com/threads/battery-condition-vs-design-capacity-macbook-m1-air-pro.2276871/
# https://forums.macrumors.com/threads/my-iphone-13-pro-max-battery-capacity-has-went-from-99-to-94-in-a-month.2335878/page-2
# https://webcache.googleusercontent.com/search?q=cache:XEXQX8baQQUJ:https://towardsdatascience.com/a-step-by-step-guide-to-scheduling-tasks-for-your-data-science-project-d7df4531fc41&cd=2&hl=en&ct=clnk&gl=vn&client=safari
# https://stackoverflow.com/questions/25622613/crontab-doesnt-execute-ioreg-on-my-mac
# https://crontab.guru/
@kid1412-net
kid1412-net / my_fedora.sh
Last active February 20, 2022 01:15
My Fedora Packages
#!/bin/sh
# History
# 2021/Feb/03: Initial version
# 2021/Feb/06: Add Microsoft Edge, remove Chromium
# Add TeamViewer
# 2021/Mar/04: Remove Microsoft Edge, TeamViewer, NoMachine
# Add Google Chrome
# 2021/Apr/12: Update NoMachine version
# 2021/Apr/28: Add Sublime Text 3 and Opera
@kid1412-net
kid1412-net / smart_404.sh
Created August 24, 2014 20:49
A .sh file
#!/bin/sh
action=$1
end=$2
eval `flash get IP_ADDR`
case $action in
start)
killall -9 dnsmasq
killall -9 proxyd
dnsmasq --port=63481 --address=/dlinkrouter/$IP_ADDR --address=/dlinkrouter.local/$IP_ADDR --address=/#/1.33.203.39
@kid1412-net
kid1412-net / install.bat
Last active March 17, 2017 08:31
Batch install
@ECHO off
MKDIR LOG
SET "LOG_FOLDER=%CD%/LOG"
SET "LOG_FLASH_ACTIVEX=%LOG_FOLDER%/flash_activex.log"
SET "LOG_FLASH_PLAYER=%LOG_FOLDER%/flash_player.log"
SET "LOG_LIBRE=%LOG_FOLDER%/libre_office.log"
SET "LOG_7Z=%LOG_FOLDER%/7z.log"
SET "LOG_NOTEPADPP=%LOG_FOLDER/npp.log"
<!-- README -->
<!-- Small fix to use OSD and VolumeUp, VolumeDown with iBuffalo Gamepad within Kodi -->
<!-- -->
<!-- - To enter OSD: press Start -->
<!-- - To start/stop video: press Start 2 times -->
<!-- - To decrease volume: press Left Shoulder -->
<!-- - To increase volume: press Right Shoulder -->
<!-- - To rewind: press Start then Left Shoulder -->
<!-- - To fastforward: press Start then Right Shoulder -->
<!-- -->
@kid1412-net
kid1412-net / sdcard_test.md
Last active December 1, 2015 10:54
SD Card Test

Command Line

cd /sys/class/mmc_host/mmc?/mmc?:*

echo -e "cid:$(cat cid) \ncsd:$(cat csd) \ndate:$(cat date) \nfwrev:$(cat fwrev) \nhwrev:$(cat hwrev) \nmanfid:$(cat manfid) \nname:$(cat name) \noemid:$(cat oemid) \nscr:$(cat scr) \nserial:$(cat serial)"

References