Posts

    Day 145

    Technical writing errors

    3 shell scripts to improve your writing, or “My Ph.D. advisor rewrote himself in bash.” is an excellent description of typical errors in technical writing. One of the pages I see that make me want to archive everything linked here and on the Link Wiki just in case it disappears. Also,

    In that sense, peer reviewers are the guardians of the scientific community’s most limited resource: our collective attention span.

    Read more...

    Day 144

    Firefox Vimium switch to tab N

    Added the following to the Vimium settings, now I can switch to tab N by pressing the respective number on the keyboard:

        map 1 firstTab count=1
        map 2 firstTab count=2
        map 3 firstTab count=3
        map 4 firstTab count=4
        map 5 firstTab count=5
        map 6 firstTab count=6
        map 7 firstTab count=7
        map 8 firstTab count=8
        map 9 firstTab count=9
        map 0 firstTab count=0
    Read more...

    Day 141: LSDeluxe and Nerd Fonts

    LSD and installing fonts in st and urxvt

    LSD is a very nice replacement for ls. To set it up, I needed to download the individual fonts from Nerd fonts, cp-ing them to /usr/share/fonts, then running fc-cache -f -v.

    Read more...

    Day 139

    Bash dtb create.sh script

    Updated the script to create a markdown dtb file to the following:

    FILE=_posts/$(date +%Y-%m-%d)-day$(date +%j).markdown
    DATE=$(date +%Y-%m-%d\ %H:%M:%S\ +0100)
    Read more...

    Day 138: bspwm and some configs

    After another small pause, here comes another längliches post!

    Read more...

    Day 133

    Stack

    • Formalize my Sprint reviews.
    • Three works a week of PI – how do I actually keep track of this? I need an infrastructure.
    Read more...

    Day 131

    Stack

    • Remember that Eisenhower Matrix is a thing and that it used to help me quite a lot before.
    • I should formalize all the checklists I created for myself and use them.
    • Look into Energy Management vs Time management
      • https://hbr.org/2007/10/manage-your-energy-not-your-time
      • https://www.coachingpositiveperformance.com/energy-management-vs-time-management/
      • etc.
    Read more...

    Day 127

    Stack

    Chrony would solve most of my NTP problems.

    Read more...

    Day 126

    Read more...

    Day 124

    Swagger API documentation

    Tutorial;

    Read more...

    Day 123

    Day 115

    The internet is wonderful

    vim.wasm

    Read more...

    Day 114

    Pandas

    Feature importance

    Inspecting the importance of features when running Random Forest:

    feature_importances = pd.DataFrame(rf.feature_importances_,
                                       index = X_train.columns,
                                        columns=['importance']).sort_values('importance',                                                                 ascending=False)
    

    pandas shuffle

    df.shuffle(frac=1) uses the shuffle function for this.

    Read more...

    Day 112

    Latex

    Subfigures / subfloats, pictures side by side

    \begin{figure}[ht!]
        \centering
        {%
        \begin{subfigure}[b]{0.3\textwidth}
            \includegraphics[width=\textwidth]{/home/sh/p/ms/p/p/pics/scanned/1888.png}
            \caption{Picture 1}
            \label{fig:1}
        \end{subfigure}
        %
        \begin{subfigure}[b]{0.3\textwidth}
            \includegraphics[width=\textwidth]{/home/sh/p/ms/p/p/pics/scanned/1888.png}
            \caption{Picture 2}
            \label{fig:2}
        \end{subfigure}
        }%
    \end{figure}
    Read more...

    Day 110

    Stack

    Read more...

    Day 109

    Thesis

    Stylometry

    Can I use some of the insights/methods/ideas from stylometry for this? (After reading this article about Beowulf.

    Read more...

    Day 108

    Quotes

    Get things out of your head and into a system that you fully trust. Everything you do should have positive value – it’s either improving you (I put self care and genuine leisure time in here, but not time wasting), improving a relationship, making money, or making one of those other things more efficient. Do high energy and high focus things when you actually have energy and focus; do mindless things when you feel mindless. Do not skimp on self-care, which includes genuine leisure time, good healthy food, exercise, good personal relationships, and adequate sleep. Aim for the “flow state” in everything you do, because you’ll never be better than when you’re so engaged that you lose track of time and place and just get lost in the moment. (How I get things done)

    Read more...

    Day 107

    Stack

    Add search to this blog via this simple js

    Read more...

    Day 106

    The Internet is wonderful

    Read more...

    Day 104

    SSH

    Exiting a dead SSH session

    SSH can handle commands. From the blog post above: <Enter>~.
    SSH parses commands sent after a newline and ~. ~. is the one to exit.

    SSH config files

    In ~/.ssh/config.

    Host host1
        HostName ssh.example.com
        User myuser
        IdentityFile ~/.ssh/id_rsa
    

    allows to just do sh host1.

    Read more...


Subscribe