Update local list of remote branches (source.)
git remote update origin --prune
After merge, keep all our changes (source), and one their change
git merge origin/main
git checkout --ours -- .
git checkout --theirs -- their_filename
Info: | See <http://docutils.sf.net/rst.html> for introductory docs. |
---|---|
Author: | David Goodger <goodger@python.org> |
Date: | 2021-03-05 |
Revision: | 8631 |
Description: | This is a "docinfo block", or bibliographic field list |
Note
If you are reading this as HTML, please read
Source: How to Mount Windows Network Drives in WSL
One time
sudo mount -t drvfs M: /mnt/m
Auto mount by add this line to /etc/fstab
my_home/my_project
.VS Code
.Ctrl-Shift-P
, Julia: Start REPL
]
enter package mode, Use activate .
to active current directory as the working directory.add Revise
add Debugger
Project.toml
for a package directory.Copied from 9 Cool Julia Tricks In 4 Minutes with my own modification.
Type ]
in REPL to enter package mode.
Type ;
in REPL to enter shell mode. Not very reliable after less
type
of commnd.
""" | |
dataset(dir, name) | |
Replace the dataset function from RDatasets. It stopped working. | |
""" | |
function dataset(dir, name) | |
url = "https://raw.githubusercontent.com/vincentarelbundock/Rdatasets/master/csv/$(dir)/$(name).csv" | |
body = HTTP.get(url).body | |
csv = CSV.File(body) | |
df = DataFrame(csv) |
# Run with | |
# include("learn_struct.jl") | |
# not with | |
# Execute File | |
module Allnix | |
mutable struct Well | |
Well() = ( | |
me = new(); # new Well object | |
# Assign default values | |
me # return the new object |
When Eclipse is launched from command line, it generates lots of log message.
Re-direct those message to null
and run in background by
eclipse &> /dev/null &