based on https://www.reddit.com/r/vim/comments/24g8r8/italics_in_terminal_vim_and_tmux/
- Check if italic font is supported:
$ echo -e "\e[3mitalic\e[23m"
- Also check:
$ infocmp $TERM | grep sitm
sgr0=\E(B\E[m, sitm=\E[3m, smacs=\E(0, smam=\E[?7h,
based on https://www.reddit.com/r/vim/comments/24g8r8/italics_in_terminal_vim_and_tmux/
$ echo -e "\e[3mitalic\e[23m"
$ infocmp $TERM | grep sitm
sgr0=\E(B\E[m, sitm=\E[3m, smacs=\E(0, smam=\E[?7h,
Solution to https://twitter.com/nolanlawson/status/578948854411878400.
doSomething().then(function () {| /*type Hook = {| | |
| memoizedState: any, | |
| queue: UpdateQueue < any > | null, | |
| next: Hook | null, | |
| |}; | |
| */ | |
| // Whether the work-in-progress hook is a re-rendered hook | |
| let numberOfReRenders/*: number */= 0; | |
| let isReRender/*: boolean */= false; | |
| let firstWorkInProgressHook /*Hook | null */= null; |
Chef is done completally by me, I found an image and did it in css.
When you use tailwind it's micro managment of everything all the time, I first loved it then I realize this is nightmare.
Ipak sam pronasao nacin da se logujem na Facebook preko laptopa, vec duze vreme sam se izljecio od Facebook ovisnosti pa skoro nikad nisam tu.
Sto se tice karpalnog tunela i mene. Ja nisam imao karpalni tunel, nego su doktori mislili da je 'overuse' sindrom pa sam i ja dobio neki gel koji mi je 'toboze' pomogao.
Prakticno nisam radio pa mi je to vjerovatno najvise pomoglo.
| # NixOS manual (accessible by running ‘nixos-help’). | |
| { config, pkgs, ... }: | |
| { | |
| imports = | |
| [ # Include the results of the hardware scan. | |
| ./hardware-configuration.nix | |
| ]; |
This should be one of the core features of Git, but for some reason it's impossible to figure out how to search for a string in your commit history and see the diffs that that string is in. Here's the best I've come up with:
To find which commits and which files a string was added or removed in:
git log -S'search string' --oneline --name-status
To see the diff of that
These are my notes on instaling NixOS 16.03 on a Lenovo ThinkPad X1 Carbon (4th generation) with an encrypted root file system using UEFI.
Most of this is scrambled from the following pages:
| ;; PROBLEM: | |
| ;; Create function that satisfiy following example | |
| (check-expect (number-list (list "first" "second" "third")) | |
| (list "1: first" "2: second" "3: third")) | |
| (define (number-list n) empty) ; stub | |
| ;; #1 Objective: | |
| ;; - Satisfy all design elements (or as much as posible) |
| ;; yell-starter.rkt | |
| ; PROBLEM: | |
| ; | |
| ; DESIGN a function called yell that consumes strings like "hello" | |
| ; and adds "!" to produce strings like "hello!". | |
| ; | |
| ; Remember, when we say DESIGN, we mean follow the recipe. | |
| ; | |
| ; Leave behind commented out versions of the stub and template. |