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:
This highlights file should live in <nvim-conf>/after/queries/python/highlights.scm
.
Please note that with neovim 0.8, for files which queries extend existing queries,
you need to add ; extends
at the top of the file (see [this discussion]).
Here is some Python file:
"""Test conceal."""
#!/bin/bash | |
# !!WARNING!! | |
# This will DELETE all efforts you have put into configuring nix | |
# Have a look through everything that gets deleted / copied over | |
nix-env -e '.*' | |
rm -rf $HOME/.nix-* | |
rm -rf $HOME/.config/nixpkgs |
PPA 镜像加速 | |
2018年7月26日 BY : TATERLI | |
这里有USTC的反向代理. | |
https://lug.ustc.edu.cn/wiki/mirrors/help/revproxy | |
只要一句话,全替换成USTC加速的PPA.再也不担心了. | |
1 | |
sudo find /etc/apt/sources.list.d/ -type f -name "*.list" -exec sed -i.bak -r 's#deb(-src)?\s*http(s)?://ppa.launchpad.net#deb\1 http\2://launchpad.proxy.ustclug.org#ig' {} \; |
package main | |
import ( | |
"C" | |
"log" | |
"time" | |
) | |
//export CanSleep | |
func CanSleep() C.int { |
from __future__ import print_function | |
import imageio | |
from PIL import Image | |
import numpy as np | |
import keras | |
from keras.layers import Input, Dense, Conv2D, MaxPooling2D, AveragePooling2D, ZeroPadding2D, Dropout, Flatten, Concatenate, Reshape, Activation | |
from keras.models import Model | |
from keras.regularizers import l2 | |
from keras.optimizers import SGD |
Okay, so I'll try and walk through the reader monad as best as I can. And | |
because I think it helps to de-mystify things a bit, I'll also go through | |
all of the "super classes" of monad: functor and applicative (because every | |
monad should also be an applicative and every applicative functor should be | |
a functor). This file is literate Haskell so you should just be able to | |
load it in the REPL or run it. It's also kinda/sorta markdown, so it should | |
render that way as well (but the code is formatted wrong). | |
> module Reader where |
#!/bin/bash | |
for arg; do [[ $arg = /* ]] || arg=$PWD/$arg; absargs+=("$arg"); done; | |
/Applications/p4merge.app/Contents/Resources/launchp4merge "${absargs[@]}" |