Install Grok Debugger locally

1.Ruby installation. Note: do not use the latest 2.2 or 2.3 version of ruby. Some components may not be installed yum -y install openssl-devel gcc wget https://ruby.taobao.org/mirrors/ruby/2.1/ruby-2.1.7.tar.gz tar zxf ruby-2.1.7.tar.gz cd ruby-2.1.7 ./configure --prefix=/usr/local/ruby2.1.7 make && make install echo ...

Posted by minifairy on Sat, 04 Jan 2020 09:06:08 -0800

20180828 mobile assistant background wake-up and WiFi intensive wake-up in Doze mode

1. Wake up phenomenon of mobile assistant in the background com.qihoo.appstore and com.tencent.android mainly wake up in the background through JobScheduler and SyncManager events. Because most of the previous broadcast events, such as network static broadcast and application installation static broadcast, have been canceled b ...

Posted by lukegw on Sat, 04 Jan 2020 01:22:06 -0800

Is there a better way to implement INotifyPropertyChanged?

Microsoft should implement some simple functions for INotifyPropertyChanged. For example, in automatic properties, you only need to specify {get; set; notify;} {get; set; notify;} {get; set; notify;}. I think it makes sense to do so. Or do you have any complications? Can we implement "notification" and other functions in propertie ...

Posted by bnmng on Fri, 03 Jan 2020 16:59:39 -0800

Solution to cross domain problem of react+spring records

react cross domain access background, default is cross domain problems, and fire arc and Google browser, cross domain problem display is not the same Google browser is as follows: The status here is 200, but there is no information in Response, as shown below   However, the description of this problem in fire arc browser is much clearer, Fir ...

Posted by d-m on Thu, 02 Jan 2020 14:46:36 -0800

Previous report Highcharts

Data download: http://www.highcharts.com/download Download File: Open after decompression: We can copy all the files under js to our project, for example, I put them in the highcharts folder 1. Import the highcharts file: <script type="text/javascript" src="../js/jquery-1.8.3.js"></script> <!--highchart ...

Posted by jitesh on Thu, 02 Jan 2020 01:48:03 -0800

Glide for Android (image loading)

1. Add dependency dependencies { compile 'com.github.bumptech.glide:glide:3.7.0' compile 'com.android.support:support-v4:23.2.1' } 2. Usage ImageView imageView = (ImageView)findViewById(R.id.imageView) Glide.with(this) .load(url)//Picture address .crossFade()//Open animation //.dontAnimate()//Close ...

Posted by iron999mike on Wed, 01 Jan 2020 12:00:57 -0800

grep of linux regular expression

Regular expression is the way to deal with strings. It can perform specific character handlers such as find, delete, and replace. Common commands grep, awk, sed [: alunm:] represents English case characters and numbers, i.e. 0-9 A-Z a-z [: alpha:] represents any English case letter A-Z A-Z [: blank:] represents the space b ...

Posted by cuteflower on Wed, 01 Jan 2020 02:07:59 -0800

Practice of Android Dagger (IV) MVVM mode Kotlin

introduce Learn some basic knowledge first @Binds @IntoSet @IntoMap @IntoXXXX Let's first introduce how to design MVVM when it is not dagger2 If you don't know how to use databinding, the following video is recommended Android Data Binding practice - Beginner Level Android Data Binding practice - Advanced Let's p ...

Posted by cosmicsea on Wed, 01 Jan 2020 00:19:28 -0800

LinearLayoutCompat under v7 package

In normal development, we often have the requirement that each Item layout should be distinguished by using a split line in the layout, as shown in the following code: The effect is shown in Figure 1-1 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" ...

Posted by ashebrian on Tue, 31 Dec 2019 18:42:06 -0800

Android development tips: set the color transparency of status bar

  Before Android 4.4, our application couldn't change the color of the status bar of the mobile phone, as shown in the figure above. In order to provide better interface interaction, google started to provide a method to set the immersive status bar in Android 4.4.2. The actual effect is the transparent status bar, and then ...

Posted by qbox on Tue, 31 Dec 2019 06:47:58 -0800