Git introduction and daily commands

git introduction GitHub is a hosting platform for open-source and private software projects, because it only supports git as the only version library format for hosting, so it is named GitHub. GitHub was officially launched on April 10, 2008. In addition to Git code warehouse hosting and basic Web management interface, it also provides subscri ...

Posted by mosi on Sun, 19 Jan 2020 06:00:23 +0100

Using rime input method in Emacs

When using external input method in email, the biggest problem is that when switching the email mode, there will be a delay for input, because you need to manually switch the input method to the corresponding English mode to use the shortcut keys normally. But if you use Emacs' own input function, you don't need to do these synchronizations. Yo ...

Posted by Merve on Thu, 16 Jan 2020 12:41:19 +0100

vscode code format

1, Install three vscode plug-ins: 1.ESLint 2.Prettier - Code formatter 3.Vetur As shown in the figure below: 2, Open profile File - > Preferences - > Settings Now you see the configuration interface. Click the button in the upper right corner (as shown below) to open the settings.json file. 3, Add ...

Posted by kanenas.net on Thu, 16 Jan 2020 12:32:29 +0100

Git command, this is enough

1, Merge branches 1. Create a dev branch from the master branch and switch to the dev branch git checkout master git checkout -b dev Where git checkout -b dev is equivalent to: git branch dev git checkout dev 2. View branch git branch View the current local branch. A "*" in front of the bra ...

Posted by Duodecillion on Wed, 15 Jan 2020 13:32:51 +0100

Download and use of cifar dataset

git https://github.com/tensorflow/models Download the cifar10 file and put it in the project path Project structure   download from cifar10 import maybe_download_and_extract maybe_download_and_extract()   Default download path   Read display manually import numpy as np import pylab filename = '/tmp/cifar10_data/cifar-1 ...

Posted by Sonu Kapoor on Tue, 07 Jan 2020 02:13:21 +0100

An array of iOS data structures

The arrays often used in iOS development are NSArray and NSMutableArray, which are data structures provided by Foundation. Usually, NSArray and NSMutableArray are used in development to meet the development needs. With a learning attitude, Xiaobian is very interested in the implementation of the bottom layer of array data struc ...

Posted by kenshejoe on Tue, 07 Jan 2020 01:59:19 +0100

Android source code analysis (14) -- how to save data with SharedPreferences

1: How to use SharedPreference s This article only provides a way to save data. Please adjust the specific use scenarios according to the needs. EditText add save data click event to save data. diff --git a/res/layout/activity_voicemail_settings.xml b/res/layout/activity_voicemail_settings.xml index cd7af05..57526f2 10075 ...

Posted by amarafzal on Thu, 02 Jan 2020 11:34:43 +0100

ubuntu 16.04 configuring the YouCompleteme plug-in

This thing has been killing me for several days, and it has worked out. It's not bad. I'm here to record my method and hope to help the people behind me. 1. Delete the original vim package sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-common vim-gui-common 2. Installation dependency vim dependence sudo ...

Posted by djot on Sun, 15 Dec 2019 21:18:34 +0100

Effectively use Git and Dropbox at the same time?

How to use them together effectively Git and Dropbox ? #1 building I ran into a similar problem and created a small script for it. The idea is to use Dropbox with Git as simply as possible. At present, I have realized it quickly Ruby Code, and I'll add more code soon. The script is available at https://github.com/nuttylabs/box-git. ...

Posted by Hitoshi on Wed, 11 Dec 2019 19:35:10 +0100

Alicloud builds big data platform: flume installation, deployment and testing

I. flume installation 1. decompress tar -zxvf flume-ng-1.6.0-cdh5.15.0.tar.gz -C /opt/modules/ 2. Change name mv apache-flume-1.6.0-cdh5.15.0-bin/ flume-1.6.0-cdh5.15.0-bin/ 3. Configuration file: flume-env.sh export JAVA_HOME=/opt/modules/jdk1.8.0_151 4. Test success bin/flume-ng version //Result: Flume 1.6.0-cdh5. ...

Posted by zahidraf on Tue, 10 Dec 2019 04:09:34 +0100