Tag:Format

  • The post method in HTTP submits data in different formats

    Time:2021-9-22

    HTTP data submission is mainly realized by post method. The biggest difference in submitting data in different formats lies in the different organization forms of data, and the content type format corresponding to different formats needs to be set package main import ( “bytes” “encoding/json” “fmt” “io” “io/ioutil” “mime/multipart” “net/http” “net/url” “os” “strings” ) func […]

  • Operation commands for hash type in redis

    Time:2021-9-22

    1、 Redis hash (hash) Redis hash is a mapping table of field and value of string type. Hash is especially suitable for storing objects. Each hash in redis can store 232 – 1 key value pairs (more than 4 billion). Simple example: 127.0.0.1:6379> HMSET runoobkey name “redis tutorial” description “redis basic commands for caching” likes […]

  • About kpconv file reading and writing

    Time:2021-9-22

    The pytorch version of the kpconv routine uses the ply format as the input format of the neural network. Other data formats will be converted to ply format before entering the network. When reading the source code of kpconv, the author found that there is a judgment of big endian, small endian and ASCII in […]

  • International calendar class in PHP

    Time:2021-9-21

    In the internationalization component of PHP, there is also a date related operation class that we don’t use very often, which is the calendar operation class. In fact, calendars are mostly used for date and time operations. They are generally used for date formatting and comparison. However, we usually directly use date related functions or […]

  • What if disk D cannot be opened and requires formatting?

    Time:2021-9-21

    Disk D in the computer is a very important storage disk. Even if the system is reinstalled, its built-in files will not be deleted, so many users will place some important files in it. But recently, some netizens reported to Xiaobian that their computer’s D disk can’t be opened and asked for formatting. I don’t […]

  • Learn a Linux command every day (110): ifstat

    Time:2021-9-20

    Command introduction The ifstat command is used to count the traffic status of the network interface. It can easily see the network traffic. Ifstat can print out network interface statistics neatly, and can also be used to disable specified network interfaces. Syntax format ifstat [OPTIONS] Option description -a   # Monitor the status information of all network […]

  • Learn the international date formatting operation in PHP

    Time:2021-9-20

    For the internationalization function, date related formatting is also an important play. After all, different time zones and countries have different ways to represent dates. Today we are mainly going to learn how to represent date related information internationally. Date formatting The first is the most direct formatting ability. $fmt = new IntlDateFormatter( “en_US” ,IntlDateFormatter::FULL, […]

  • My name is mongodb. I don’t understand me. After reading my story, you can get started!

    Time:2021-9-20

    This is the basic article of Mongo, which will be updated continuously in the future Hello everyone, my name is mongodb. I’ve been over 13 years old since the 10gen team brought me to this world in October 2007. Now more and more little friends are hugging me. I’m very happy. I’m a member of […]

  • Operating system practice (2) — startup initialization

    Time:2021-9-20

    1、 Reference Operating system learning series Directory – updating Setting up working mode and environment (I): establishing computer 2、 Install virtual machine (dolly mode) Host isMacOS, first installUbuntuThe virtual machine failed to start successfully step describe ubuntuinstallvirtualbox Create virtual computer Production virtual hard disk installgrub Convert virtual hard disk format Install virtual hard disk start-up […]

  • Django 1.8 official document translation: 4-2-4 humanization

    Time:2021-9-19

    django.contrib.humanize A series of Django template filters help to add “humanistic care” to the data. Add ‘Django. Contrib. Humanize’ to installed_ Apps settings to activate these filters. After performing the above steps, use {% load humanize%} in the template, and you can access the following filters. Cardinal word For numbers 1 to 9, returns the […]

  • Online JSON to yaml tool

    Time:2021-9-19

    Online JSON to yaml tool Online JSON to yaml tool JSON: (JavaScript object notation) is a lightweight data exchange format. It is based on a subset of ECMAScript (JS specification formulated by the European Computer Association) and uses a text format completely independent of the programming language to store and represent data. YAML(/ ˈ jæm […]

  • JetBrains ideolog highlights plug-in configuration

    Time:2021-9-19

    This plug-in can be used in most ides of JetBrains, such as pycharm idea. For example, there are many third-party libraries in python that can highlight the output of the log console, but the log written to the file cannot be highlighted. This plug-in is to solve this problem usage method: Click preference — > […]