-
Set up your email client properly Better to set inside the each local git project's
.git/config
instead of all-in-one globally at~/.gitconfig
as each project might need different account / credential. Add the following (in this case we usemutt
, just take advantage of certificates as used by it for ease of integration)[sendemail] from = FirstName Lastname <[email protected]> smtpEncryption = tls
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Copy verbatim from https://launchpadlibrarian.net/567163425/buildlog_ubuntu-focal-amd64.sdl2-manpage_0.1.6-git-aae7035-1_BUILDING.txt.gz | |
---- | |
https://launchpad.net/~haxpor/+archive/ubuntu/combined/+build/22371425 | |
RUN: /usr/share/launchpad-buildd/bin/builder-prep | |
Kernel version: Linux lgw01-amd64-026 4.15.0-161-generic #169-Ubuntu SMP Fri Oct 15 13:41:54 UTC 2021 x86_64 | |
Buildd toolchain package versions: launchpad-buildd_203~505~ubuntu18.04.1 python3-lpbuildd_203~505~ubuntu18.04.1 sbuild_0.75.0-1ubuntu1 bzr-builder_0.7.3+bzr174~ppa13~ubuntu16.04.1 bzr_2.7.0+bzr6622-10 git-build-recipe_0.3.6~git201906051340.ff11471~ubuntu18.04.1 git_1:2.17.1-1ubuntu0.9 dpkg-dev_1.19.0.5ubuntu2.3 python-debian_0.1.32 python3-debian_0.1.32. | |
Syncing the system clock with the buildd NTP service... | |
4 Nov 12:34:41 ntpdate[1782]: adjust time server 10.211.37.1 offset -0.000445 sec |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Upstream at https://launchpadlibrarian.net/567143148/buildlog_ubuntu-focal-amd64.sdl2-manpage_0.1.2-git-a1b229a-1_BUILDING.txt.gz | |
'sudo' is not allowed in PPA packaging script. | |
Copied verbatim here | |
---- | |
https://launchpad.net/~haxpor/+archive/ubuntu/combined/+build/22371171 | |
RUN: /usr/share/launchpad-buildd/bin/builder-prep |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## cat all files after extracting control.tar.xz with the command `find . -type f | xargs -I{} bash -c 'echo {}; cat {}; echo --------------;'` | |
./control | |
Package: quilt | |
Version: 0.65-3 | |
Architecture: all | |
Maintainer: Ubuntu Developers <[email protected]> | |
Original-Maintainer: Martin Quinson <[email protected]> | |
Installed-Size: 785 | |
Depends: bsdmainutils, bzip2, diffstat, gettext, patch, sensible-utils, perl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" show the function name for the current position the cursor is in | |
" cursor needs to be embraced into the context of function | |
" CAVEAT: not work yet with macros | |
" CAVEAT: cursor outside of functions but inside a namespace will return upper | |
" function scope, not the namespace scope | |
function! ShowFuncNameC_CPP() | |
let lnum = line(".") | |
let col = col(".") | |
let is_found = 0 | |
echohl ModeMsg |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/autoload/lightline.vim b/autoload/lightline.vim | |
index 2076a11..6aab48f 100644 | |
--- a/autoload/lightline.vim | |
+++ b/autoload/lightline.vim | |
@@ -106,7 +106,7 @@ let s:_lightline = { | |
\ 'paste': '%{&paste?"PASTE":""}', 'readonly': '%R', 'charvalue': '%b', 'charvaluehex': '%B', | |
\ 'spell': '%{&spell?&spelllang:""}', 'fileencoding': '%{&fenc!=#""?&fenc:&enc}', 'fileformat': '%{&ff}', | |
\ 'filetype': '%{&ft!=#""?&ft:"no ft"}', 'percent': '%3p%%', 'percentwin': '%P', | |
- \ 'lineinfo': '%3l:%-2v', 'line': '%l', 'column': '%c', 'close': '%999X X ', 'winnr': '%{winnr()}' | |
+ \ 'lineinfo': '%3l:%-2{col(".")}', 'line': '%l', 'column': '%c', 'close': '%999X X ', 'winnr': '%{winnr()}' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
haxpor@haxpor-desktop:.../Projects/kern_st/hello-1$ objdump -Tt hello-1.ko | |
hello-1.ko: file format elf64-x86-64 | |
objdump: hello-1.ko: not a dynamic object | |
SYMBOL TABLE: | |
0000000000000000 l d .note.gnu.build-id 0000000000000000 .note.gnu.build-id | |
0000000000000000 l d .note.Linux 0000000000000000 .note.Linux | |
0000000000000000 l d .text 0000000000000000 .text | |
0000000000000000 l d .text.unlikely 0000000000000000 .text.unlikely |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## insmod | |
execve("/usr/sbin/insmod", ["insmod", "hello-1.ko"], ["COLORTERM=truecolor", "LC_ADDRESS=en_US.UTF-8", "LC_NAME=en_US.UTF-8", "LC_MONETARY=en_US.UTF-8", "XAUTHORITY=/run/user/1000/gdm/Xa"..., "LC_PAPER=en_US.UTF-8", "LANG=en_US.UTF-8", "LS_COLORS=rs=0:di=01;34:ln=01;36"..., "TERM=screen-256color", "LC_IDENTIFICATION=en_US.UTF-8", "DISPLAY=:0", "LC_TELEPHONE=en_US.UTF-8", "LC_MEASUREMENT=en_US.UTF-8", "LC_TIME=en_US.UTF-8", "PATH=/usr/local/sbin:/usr/local/"..., "LC_NUMERIC=en_US.UTF-8", "MAIL=/var/mail/root", "LOGNAME=root", "USER=root", "HOME=/root", "SHELL=/bin/bash", "SUDO_COMMAND=/usr/bin/strace -v "..., "SUDO_USER=haxpor", "SUDO_UID=1000", "SUDO_GID=1000"]) = 0 | |
brk(NULL) = 0x564213d1c000 | |
arch_prctl(0x3001 /* ARCH_??? */, 0x7ffff1ceef80) = -1 EINVAL (Invalid argument) | |
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 | |
fstat(3, {st_dev=makedev(0x103, 0x2), st_ino=16966, st_mode= |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/CMakeLists.txt b/CMakeLists.txt | |
index a2fcf2e372..9d2a8f20da 100644 | |
--- a/CMakeLists.txt | |
+++ b/CMakeLists.txt | |
@@ -656,15 +656,10 @@ macro (CMAKE_BUILD_UTILITIES) | |
endif() | |
#--------------------------------------------------------------------- | |
- # Use curses? | |
- if (UNIX) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/CMakeLists.txt b/CMakeLists.txt | |
index a2fcf2e372..ae32ce17b8 100644 | |
--- a/CMakeLists.txt | |
+++ b/CMakeLists.txt | |
@@ -656,25 +656,12 @@ macro (CMAKE_BUILD_UTILITIES) | |
endif() | |
#--------------------------------------------------------------------- | |
- # Use curses? | |
- if (UNIX) |