Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.
You've got two main options:
var jsonData = pm.response.json(); | |
pm.environment.set("jwt", jsonData.access_token); | |
function parseJwt (token,part) { | |
var base64Url = token.split('.')[part]; | |
var words = CryptoJS.enc.Base64.parse(base64Url); | |
var jsonPayload = CryptoJS.enc.Utf8.stringify(words); | |
return JSON.parse(jsonPayload); | |
}; |
{ stdenv, fetchzip, pkgconfig, ffmpeg, gtk2-x11, libjpeg }: | |
stdenv.mkDerivation rec { | |
pname = "droidcam"; | |
version = "0"; | |
src = fetchzip { | |
url = "https://github.com/aramg/droidcam/archive/b49842a02611f8ddc6b9342ef74e299abd1c4090.zip"; | |
sha256 = "05kd5ihwb3fldmalv67jgpw4x0z0q39lfis69r7yh03qiqlviymk"; | |
}; |
macOS has ncurses version 5.7 which does not ship the terminfo description for tmux. There're two ways that can help you to solve this problem.
Instead of tmux-256color
, use screen-256color
which comes with system. Place this command into ~/.tmux.conf
or ~/.config/tmux/tmux.conf
(for version 3.1 and later):
You can find what kernel modules are loaded using lsmod
.
However some kernel modules are required at stage 1 boot. Basically preloaded in the initial ram disk before switching to the root filesystem. These kernel modules are mostly needed to deal with peripherals, storage devices, filesystems and network devices. You may need to be wary of these required modules:
sd_mod
- SCSI, SATA, and PATA (IDE) devicesfunction! Sort(type, ...) | |
'[,']sort | |
endfunction | |
nmap <silent> <key> :set opfunc=Sort<CR>g@ | |
" usage: | |
" <key>ip | |
" <key>G |
body | |
{ | |
margin-top: 1px; | |
margin-right: 3px; | |
margin-left: 2px; | |
margin-bottom: 3px; | |
background: #201F1F; | |
color: white; | |
font-family: Bookerly, Segoe UI, Palatino Linotype, Arial Unicode MS; | |
} |
This is a short post that explains how to write a high-performance matrix multiplication program on modern processors. In this tutorial I will use a single core of the Skylake-client CPU with AVX2, but the principles in this post also apply to other processors with different instruction sets (such as AVX512).
Matrix multiplication is a mathematical operation that defines the product of