sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
# BASH Configuration and Aliases | |
# source: http://natelandau.com/my-mac-osx-bash_profile/ | |
# source: https://github.com/mathiasbynens/dotfiles | |
# Sections: | |
# 0. Execute Only Once (if you want) | |
# 1. Environment Configuration | |
# 2. Make Terminal Better (remapping defaults and adding functionality) | |
# 3. File and Folder Management | |
# 4. Searching |
gcc -fpic --shared $(python3-config --includes) greetmodule.c -o greet.abi3.so | |
# can also use $(pkg-config --cflags python-3.5) | |
# or | |
# python3 setup.py install --record files.txt --user |
npm install chromedriver --save
or install with a local binary via:
npm install chromedriver --chromedriver_filepath=C:\\YOUR_PROJECT_PATH\\chromedriver.zip
package main | |
import ( | |
"fmt" | |
"log" | |
"os" | |
meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" | |
"k8s.io/client-go/kubernetes" | |
"k8s.io/client-go/tools/clientcmd" |
package main | |
import ( | |
"fmt" | |
"os" | |
"os/exec" | |
"syscall" | |
) | |
func main() { |
package main | |
import ( | |
"encoding/binary" | |
"fmt" | |
"os" | |
"os/signal" | |
"time" | |
"github.com/gordonklaus/portaudio" |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>modal</title> | |
<meta charset="utf-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.1.0/css/bootstrap.min.css" /> | |
</head> | |
<body></body> |
motion | description |
---|---|
h | Count characters left |
l | Count characters right |
^ | To the first character of the line |
$ | To the last character of the line |
f<char> | To the counth character occurrence to the right. F<char> to the counth character occurrence to the left |
t<char> | To 1 character just before the counth character occurrence to the right |
// USAGE ------ | |
// ============ | |
var shell = require('./shellHelper'); | |
// execute a single shell command | |
shell.exec('npm test --coverage', function(err){ | |
console.log('executed test'); | |
}}); |