Tag:Increase of efficiency

  • Git branch quickly switches the shell of submitting code

    Time:2020-9-10

    Git branch quickly switches the shell of submitting code Objective: to simplify the process of submitting data to the development branch and improve the efficiency How to use it / quickCommit.sh Updated image loading method Complete code #!/bin/bash #Objective: to simplify the process of submitting data to the development branch and improve the efficiency #Step […]

  • Java uses buffer stream to copy text files

    Time:2020-8-5

    package com.io.buffered; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import org.junit.Test; /** *Using buffer stream to copy text files * */ public class BufferedStreamFileText { @Test public void copyTestTextTest() { //Recording time long start = System.currentTimeMillis(); String src = “./hello.txt”; String dest = “./world.txt”; copyTestText(src, dest); long end = System.currentTimeMillis(); System.out.println (“time […]

  • Java uses buffer stream to implement file copy

    Time:2020-8-4

    Buffer stream to achieve file copy, you can image, video, zip, RAR and other files for operation package com.io.buffered; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import org.junit.Test; /** *Using buffer stream to copy files */ public class BufferedStreamFile { //Non text file copy @Test public void copyFileTest() { //Record the time […]

  • Notes on SQL multi condition fuzzy query, in, custom function (1)

    Time:2020-7-14

    Some problems encountered in the work about SQL query, sort out the records, and implement the environment sqlservice 2014 1、 On the same field, several ways to query multiple keywords Basic grammar: SELECT column_name(s) FROM table_name WHERE column_name LIKE pattern Tbuser: Id LastName FirstName 1 Adams John 2 Bush George 3 Carter Thomas   Query […]

  • Reading go scheduler: suggestions for product managers

    Time:2020-5-14

    From the perspective of the task types of computer processing, the two positions of programmer and product manager are characterized Programmer, make’s schedule: CPU bound type, parallel can improve efficiency Product manager, manager’s schedule: I / O bound type, concurrent can improve efficiency Therefore, the product manager should try not to disturb the programmers you […]

  • Customizing Linux shortcut commands

    Time:2020-2-10

    Preface: If you are familiar with Linux commands, you may find thatls -landllThe effect is the same, so have you ever thought about why? What is command alias llIt is an alias defined in advance in Linux An alias is a name given to a command or a list of commands. You can use aliases […]