This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function z --wraps=zellij --description 'alias z zellij' | |
if [ -z "$argv" ] | |
if zellij list-sessions | |
zellij attach "$hostname" | |
else | |
zellij | |
end | |
else | |
zellij $argv | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
cat $@ | sed "s,\x1B\[[0-9;]*[a-zA-Z],,g" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function x --wraps=exit --description 'alias x exit' | |
set -l currentSession (ps aux | grep (zellij list-sessions | sed "s,\x1B\[[0-9;]*[a-zA-Z],,g" | grep current 2>/dev/null | awk -F' ' '{print $1}') 2>/dev/null | grep -v grep 2>/dev/null | awk -F' ' '{print $2}') | |
set -l zellijAttach (pgrep -f "zellij attach") | |
set -l zellijMain (pgrep -f "zellij" | head -n1) | |
[ -n "$zellijAttach" ] && kill -15 "$zellijAttach" && return 0 | |
#↓ else: haven't detached from session yet | |
if contains "$currentSession" (pgrep zellij) | |
kill -15 "$zellijMain" | |
return 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_ooOoo_ | |
o8888888o | |
88" . "88 | |
(| -_- |) | |
O\ = /O | |
____/`---'\____ | |
.' \\| |// `. | |
/ \\||| : |||// \ | |
/ _||||| -:- |||||_ \ | |
| | \\\ - /'| | | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: oliver < a t > first . in-berlin . de | |
# Contributor: charlesthehawk at yahoo dot com | |
# Contributor: Serge Zirukin <ftrvxmtrx@gmail.com> | |
pkgname=ocaml-sqlite3 | |
_pkgname=sqlite3-ocaml | |
pkgver=4.4.0 | |
pkgrel=2 | |
pkgdesc="SQLite3 bindings for OCaml" | |
arch=('i686' 'x86_64') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Contributor: Slash <demodevil5[at]yahoo[dot]com> | |
# Maintainer: Lukas Sabota [prg318] <LTsmooth42[at]gmail[dot]com> | |
pkgname=quake3-cpma-maps | |
pkgver=20180120 | |
pkgrel=1 | |
pkgdesc="Challenge ProMode Arena (CPMA) Official Mappack (Can be used in any Quake 3 Mod)." | |
url="http://playmorepromode.org" | |
license=('custom') | |
arch=('any') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
which openssl || echo Missing dependency openssl || exit 1 | |
if ! [[ -d ssl ]]; then | |
mkdir ssl; | |
fi | |
openssl genrsa -out ./ssl/client-key.pem 2048 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: oliver < a t > first . in-berlin . de | |
# Contributor: Serge Zirukin <ftrvxmtrx@gmail.com> | |
# Contributor: Sergei Lebedev <superbobry@gmail.com> | |
# Contributor: Nicolas Pouillard <Nicolas.Pouillard@gmail.com> | |
# Contributor: Guillem Rieu <guillemr@gmx.net> | |
pkgname=ocamlnet | |
pkgver=4.1.4 | |
pkgrel=1 | |
pkgdesc="A library for Web and Internet programming in OCaml" | |
arch=('i686' 'x86_64') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
DRIVE_PATH=$(mount |grep google-drive-ocamlfuse |awk '{print $3}') | |
fn_usage () { | |
echo Usage: | |
echo $(basename $0) [PATH] | |
echo | |
echo If a Google Drive directory is mounted through google-drive-ocamlfuse, | |
echo unmount it. Otherwise, mount it at PATH. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* http://meyerweb.com/eric/tools/css/reset/ | |
v2.0 | 20110126 | |
License: none (public domain) | |
*/ | |
html, body, div, span, applet, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
a, abbr, acronym, address, big, cite, code, | |
del, dfn, em, img, ins, kbd, q, s, samp, | |
small, strike, strong, sub, sup, tt, var, |
NewerOlder