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 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
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
#!/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
<!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/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
#!/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
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
# This file is part of PulseAudio. | |
# | |
# PulseAudio is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU Lesser General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or | |
# (at your option) any later version. | |
# | |
# PulseAudio is distributed in the hope that it will be useful, but | |
# WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
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
[Unit] | |
Description=Loads the VirtualBox kernel modules | |
[Service] | |
Type=oneshot | |
ExecStart=/sbin/rcvboxdrv setup | |
[Install] | |
RequiredBy=multi-user.target |