Tag:Binary system

  • Understand buffer and stream in nodejs


    In node.js development, when encountering buffer, stream and binary data processing, do you always feel confused like me? Does this feeling make you think you don’t understand them, that they are not suitable for you, and that these are the things of node.js authors? It’s true that these things can be very daunting, especially when […]

  • Binary, hexadecimal understanding and int type binary storage


    Binary system 0000 0000 0000 0000 0000 0000 0000 0001 // 2^0 0000 0000 0000 0000 0000 0000 0000 0010 // 2^1 0000 0000 0000 0000 0000 0000 0000 0100 // 2^2 0000 0000 0000 0000 0000 0000 1000 // 2 ^ 3 is storage 0 and 1, double the previous bit and binary one […]

  • Linux Ubuntu basic operation – objdump disassembly


    This chapter includes Objdump concept and basic commands How objdump is used to disassemble binary files and other functions Objdump concept and basic commands How to use objdump Other functions

  • Mysql database backup and recovery


    Catalog Mysql database backup and recovery Backup recovery overview Why backup Backup considerations Reduction points Backup type: Factors to consider when backing up What to backup Backup tool Cold backup CP tar Mysqldump backup tool Simulate database crash and restore data to the maximum extent Sub database backup of mysqldump Backup options related to mysqldump’s […]

  • Lua-In-Xcode & lua-environment


    Lua-In-Xcode Preface Course Let Xcode support Lua syntax highlighting lua-environment Lua application scenario Game development Independent application script Web application script Extensions and database plug-ins such as MySQL proxy and MySQL workbench Security systems, such as intrusion detection systems lua-environment It can also be installed through homebrew on MAC for version management. brew install lua […]

  • [front end Zhihu series] arraybuffer and blob objects


    This article starts in my personal blogMore rich front-end learning materials can be found in myGithub: Leo JavaScript, coveringData structure and algorithm、HTTP、Hybrid、Interview questions、React、Angular、TypeScriptandWebpackWait.Order a star and don’t get lost~ ArrayBufferObject andBlobYou may not be unfamiliar with the object, which is common in file upload operation processing (such as handling image upload preview and other issues). […]

  • About golang build


    How to compile It is easy to compile golang. The usage is as follows: go build [-o output] [-i] [build flags] [packages] Parameters marked with square brackets above can have no The simplest operation is directgo build, which will directly find themainPackage, and compile it. The most common is-oSpecify the output file, such as: go […]

  • Floating point precision of JavaScript deep series


    Preface Whether 0.1 + 0.2 is equal to 0.3, as a classic interview question, has been widely known. Speaking of the reasons, you can answer that this is caused by the problem of floating-point precision, but also dialectically see that this is not the problem of ECMAScript. Today is the specific reason behind it. Numeric […]

  • Linux MySQL database replication


    1、 Primary server configuration 1. Modification of configuration file my.cnf [[email protected] mysql]# vim /etc/my.cnf #In [mysqld], add:server-id=1log_bin=master-binlog_bin_index=master-bin.indexbinlog_do_db=testNote:#Server ID server unique ID.#Log bin starts the MySQL binary log, that is, the data synchronization statements, which will be executed one by one from the database.#Binlog do DB specifies the database for recording binary logs, that is, the […]

  • JS takes me to explore computer principle – memory representation of int type


    When learning C + + variable types, I suddenly want to deeply explore the memory structure of each typeSo, he turned his attention to JSThat’s because… Arraybuffer typearray these APIs are simply customized for my study!ECMA, you are so close Target is int integerIt’s said that he’s a 32-bit complementUse his scalpel to see what-1 […]

  • Rising posture: discard letters, numbers and underscores to write shell


    The concept of XOR (^) in PHP <?php echo”A”^”?”;?> <?php echo”A”^”?”;?> The output result is the character “~”, because the code has exclusive or operations on the characters “a” and “. When two variables are XOR in PHP, the string will be converted to ASCII value first, then the ASCII value will be converted to […]

  • Blob – binary stream Download


    /** *The return value file type is blob binary stream file * responseType: ‘blob’ *Params interface required parameters *Name file name: name file name according to time stamp *(you need to delay the export, otherwise the export of the file fails, and the file name is exported directly by default.) * */ $axios.get(`api`, { responseType: […]