- In a script called 'vimura':
#!/bin/sh
echo $1
zathura -s -x "gvim --servername $1 -c \"let g:syncpdf='$1'\" --remote +%{line} %{input}" $*
| # project directories | |
| # project_dir := $(shell pwd) | |
| include_dir := ./include | |
| src_dir := ./src | |
| lib_dir := ./lib | |
| build_dir := ./build | |
| # targets | |
| targets := main | |
| targets := $(foreach t, $(targets), $(t).exe) |
| [ | |
| { | |
| "args": { | |
| "set_translate_tabs": true | |
| }, | |
| "command": "unexpand_tabs" | |
| }, | |
| { | |
| "command": "set_setting", | |
| "args": { |
| [ | |
| { | |
| "args": { | |
| "set_translate_tabs": true | |
| }, | |
| "command": "unexpand_tabs" | |
| }, | |
| { | |
| "command": "set_setting", | |
| "args": { |
| #These directories may be excluded: | |
| # contains mounted file systems | |
| .gvfs | |
| .local/share/gvfs-metadata | |
| # contains the actual encrypted home directory | |
| .Private | |
| # session-specific | |
| .dbus | |
| .cache |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import sys | |
| import os | |
| import requests | |
| from path import Path | |
| from sh import git | |
| user = 'your username' |
| #!/usr/bin/env bash | |
| SCRIPTPATH=`dirname "${BASH_SOURCE[0]}"` | |
| cd "$SCRIPTPATH" | |
| PYTHON=python | |
| if hash python2 > /dev/null 2>&1; then | |
| PYTHON=python2 | |
| fi |
| #include <iostream> | |
| #include <iomanip> | |
| #include "date.h" | |
| using namespace std; | |
| using namespace date; | |
| using namespace std::chrono; | |
| int main(int argc, char *argv[]) |
| #!/usr/bin/env bash | |
| if [ $# -eq 0 ]; then | |
| echo "Usage: $0 zip-file-to-fix" | |
| exit | |
| fi | |
| log() { | |
| printf "\e[1;31m[%s]\e[0m\t%s\n" "$1" "$2" | |
| } |