Tag:Later meeting

  • Word to HTML under Windows

    Time:2022-3-24

    Installationwin32comModule. pip install pypiwin32 Codet1.py  from win32com import client as wc import os word = wc.Dispatch(‘Word.Application’) def wordsToHtml(dir): for path, subdirs, files in os.walk(dir): for wordFile in files: wordFullName = os.path.join(path, wordFile) doc = word.Documents.Open(wordFullName) wordFile2 = wordFile dotIndex = wordFile2.rfind(“.”) if (dotIndex == -1): Print (wordfullname + “************************ error: suffix not obtained!”) fileSuffix = […]

  • Adding hash to static files with Django pipeline

    Time:2021-11-19

    Adding hash to static files with Django pipeline Why do I need a hash static file? Please lookHow to develop and deploy front-end code in large companies?Zhang Yunlong’s answer. In this way, when the static file is modified, it is easy to get the latest modified version, while the unmodified static file still uses the […]

  • Rabbitmq common function encapsulation – PHP version

    Time:2021-10-3

    When rabbitmq has been widely used in the project, here is a brief summary of the general functions of rabbitmq and encapsulated into a composer package,Composer package address、GitHub address, welcome fork. Due to the limited level, it is inevitable that there are bugs. Welcome to put forward your valuable opinions Introduction to easy rabbitmq package […]

  • Android data and file storage

    Time:2021-8-2

    Four ways: Application specific storage Shared storage Preferences database The first: application specific files Access from external storagegetExternalFilesDir()getExternalCacheDir() Access from internal storagegetFilesDir()getCacheDir() Access from external storage withgetExternalFilesDirtake as an exampleStorage path:/Storage / emulated / 0 / Android / data / package name / files characteristic The app will be deleted after uninstallation. Other programs can […]

  • Using Django pipeline to add hash to static files

    Time:2021-3-26

    Using Django pipeline to add hash to static files Why do I need hash static files? LookHow to develop and deploy front end code in large companies?Zhang Yunlong’s answer. In this way, when the static file has been modified, it will be very convenient to get the latest modified version, while the unmodified static file […]

  • Keycloak ~ custom redirect_ The method of URI

    Time:2020-11-21

    In the process of integrating springboot with keycloak, for the interface that needs authorization, it will jump to keycloak to log in, and there is a redirect before it_ URI. After successful login, it will jump back to the client. However, there is no place to modify this address by default. We need to develop […]

  • Remove the extra white space in the last line after the textview setting linespacingextra

    Time:2020-9-5

    Please indicate the source of Reprint: https://www.cnblogs.com/tangZH/p/11985745.html In some mobile phones, after setting linespacingextra for textview, the text in the last line will appear, and linespacingextra will also appear, which is not only available in some versions, but also related to the model. It can be solved in the following way: public class LastLineNoSpaceTextView extends […]

  • ES6 transcoding and configuration in package.json

    Time:2020-4-8

    Online real-time conversion Needbabel-registerIn babelrc: { “presets”: [ “es2015” ] } Configuration of main.js in the project: The premise is to install the corresponding package require(‘babel-register’) require(‘./src/app’) The app.js written by myself to run is app.js. After configuration, the main.js will be automatically converted to Es5 and executed Manual conversion by configuration Needbabel-cli After installing […]

  • Android.mk file local? SDK? Version option

    Time:2020-3-29

    Api classification internal apiTranslated into internal API, understood as the API for internal use of SDK.This kind of interface was originally intended to be private. hide api See the method or class marked with @ hide in the source code, that is, hide.This kind of interface is intended to be public, but the current stage […]