[JavaScript] How to Compare and Operate the Time of “Date()”
When we comparing two time point or operating the time, using Date()
function as much as possible can make development much easier. The following I will follow:
When we comparing two time point or operating the time, using Date()
function as much as possible can make development much easier. The following I will follow:
If you are used to work with the terminal in Mac OS, you might want to disable the beeping sound that the terminal autocomplete (or other times) .
Read More »[MacOS] How to Disable Terminal Beep SoundWhen we developing the WordPress plugin, we can simply use register_setting()
, get_option()
, and update_option()
function to store some plugin settings in the database.
Recently, I got a need for create a new element in web page dynamically. In fact, I need to add some checkbox items via Javascript.
Read More »[HTML][JS] Dynamically Create Elements (Take Checkbox as Example)When we are programming with C++ and we want to store some data, in addition to use the array, we use the “vector” in the standard library.
Read More »[C++] How to Initialize Std::Vector of Two or Higher DimensionsAfter using cp
or rsync
commands to copy the files, in order to make sure that there is no problem during the copying process, we may use the du
command to check the size of the file.
Almost all of user who used Debian/Ubuntu OS use apt
or apt-get
tool to control their own packages. Many users even misunderstand that they are the same thing.
Many people know that there is a limit on the image uploaded size in WordPress. For uploading easily and displaying pictures smoothly, it is very important to compress large-capacity images without destroying too much quality.
Read More »Compress Images With TinyPNG Free Online ToolToday I want to record a bit of strange requirement: how to use WordPress core function in external PHP file. I think some people may need it in future, because I see the same problem on stackoverflow (https://stackoverflow.com/questions/29791763/use-get-option-in-external-php-file).
Read More »[Solved] How to Use WordPress Core Function in External PHP FileMany different themes provide many different function page, some page have pretty UI and surprise function, but if you check their content in wp-admin, you will find the page content is blank!
Read More »[WordPress] Use PHP Program To Edit A Specific Page Content