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 compile(selector) { | |
function identity(x) { | |
return x | |
} | |
function compose(f, access) { | |
return function(x) { | |
let r = f(x) | |
if (r && access in r) return r[access] |
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 | |
self="$(readlink -f "$0")" | |
scriptdir="${self}.d" | |
if ! test -d "$scriptdir" | |
then | |
echo "Hook directory ${scriptdir} not found!" | |
exit 1 | |
fi |
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 python | |
from requests import Session | |
from re import findall | |
from argparse import ArgumentParser | |
parser = ArgumentParser() | |
parser.add_argument('--pfsense', type=str, metavar='address', required=True, help="Firewall base url") | |
parser.add_argument('--username', type=str, metavar='username', required=True, help="Firewall login username") | |
parser.add_argument('--password', type=str, metavar='password', required=True, help="Firewall login password") |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Commute Cost Calculator</title> | |
<meta charset="UTF-8"> | |
<style> | |
html, body { | |
padding: 0; | |
margin: 0; | |
font-family: Verdana, Arial, sans-serif; |
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/python | |
from __future__ import print_function | |
import sys, re, math | |
from requests import Session | |
headers = { | |
'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:48.0) Gecko/20100101 Firefox/48.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
build_ps1() { | |
local black='\[\033[00;30m\]' | |
local blue='\[\033[00;34m\]' | |
local green='\[\033[00;32m\]' | |
local cyan='\[\033[00;36m\]' | |
local red='\[\033[00;31m\]' | |
local purple='\[\033[00;35m\]' | |
local brown='\[\033[00;33m\]' | |
local lgray='\[\033[00;37m\]' |
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
From 2bc3ec968a2c5d287a23b331efa710a72a31f0e2 Mon Sep 17 00:00:00 2001 | |
From: Phillip Schichtel <[email protected]> | |
Date: Tue, 19 Sep 2017 22:51:53 +0200 | |
Subject: [PATCH] remove multilib dependencies | |
--- | |
PKGBUILD | 28 ++++++++++------------------ | |
1 file changed, 10 insertions(+), 18 deletions(-) | |
diff --git a/PKGBUILD b/PKGBUILD |
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
#include<stdlib.h> | |
#include<stdio.h> | |
#include<math.h> | |
#define MIN_STEM_HEIGHT 1 | |
#define MIN_STEM_WIDTH 1 | |
int main(int argc, char** argv) { |
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
From 4eef7f0ccc4a721655eefc638976c311aaa12e73 Mon Sep 17 00:00:00 2001 | |
From: Phillip Schichtel <[email protected]> | |
Date: Sat, 14 Oct 2017 18:12:50 +0200 | |
Subject: [PATCH] Update to latest nginx 1.13.6 and rtmp module 1.2.0 | |
Additionally synced the PKGFILE with community/nginx-mainline | |
--- | |
.SRCINFO | 20 ++++++++++---------- | |
PKGBUILD | 38 +++++++++++++++++++++++--------------- | |
logrotate | 2 +- |
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: Daniel Bermond < yahoo-com: danielbermond > | |
# Contributor: Phillip Schichtel <[email protected]> | |
pkgname=ndi-sdk | |
pkgver="3.20171009.r82134" | |
_libver="3.0.9" | |
pkgrel=1 | |
pkgdesc="Newtek NDI SDK (binary download)" | |
arch=('i686' 'x86_64') | |
url="https://www.newtek.com/ndi/sdk/" | |
depends=("glibc") |