• Bat switch theme


    bat https://github.com/sharkdp/batWith syntax highlighting and git integratedcat As you can see from the figure belowbatThe default theme of normal text and some variable fonts are white, which can’t be seen clearly in case of white terminal backgroundUsebat –list-themesView topic list bat –list-themes Add theme environment variable If it isbash:stay~/.bashrcAdd inexport BAT_THEME=”GitHub” If it isfish shell:stay~/.config/fish/config.fishAdd […]

  • Set the color fill of ZedGraph in WinForm to use fill


    scene In winforn, set the properties of ZedGraph curve, coordinate axis and scale: https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/100112573 https://www.cnblogs.com/badaoliumangqizhi/p/11422087.html After setting the properties above, you need to set the fill color of the panel of ZedGraph. Realization //Declare a pane object GraphPane myPane = new GraphPane(); //Get pane of control myPane = zgc.GraphPane; // fill color myPane.Fill = new […]

  • Android development template code (4) – status bar settings


    The following code is based on the open source project systembartint. We need to add its dependency compile ‘com.readystatesoftware.systembartint:systembartint:1.0.3’ In the following code, I passed the test of Android 7.0, which is similar to the native system. Other domestic ROM systems were not tested Set status bar white 1. Set theme In the Android manifest […]