Skip to content

Instantly share code, notes, and snippets.

View arnested's full-sized avatar

Arne Jørgensen arnested

View GitHub Profile
# Drupal watchdog facility has its own log file
? [= Sender drupal] claim only
> /var/log/watchdog.log mode=0644 format=bsd rotate=seq compress file_max=5M all_max=50M
* file /var/log/watchdog.log
@arnested
arnested / glob.patch
Last active August 29, 2015 13:56
GNU Global experimental patch
Index: libutil/conf.c
===================================================================
RCS file: /sources/global/global/libutil/conf.c,v
retrieving revision 1.61
diff -c -r1.61 conf.c
*** libutil/conf.c 18 Dec 2013 03:39:41 -0000 1.61
--- libutil/conf.c 18 Feb 2014 23:21:24 -0000
***************
*** 358,365 ****
if (exist && sb)
#!/bin/sh
# Copyright (C) 2014 Arne Jørgensen
FILE=$1
if [ ! -r "${FILE}" ]; then
echo \""${FILE}"\" is not readable
exit 1;
fi
@arnested
arnested / keybase.md
Created April 29, 2014 05:12
Keybase proof

Keybase proof

I hereby claim:

  • I am arnested on github.
  • I am arnested (https://keybase.io/arnested) on keybase.
  • I have a public key whose fingerprint is D8A1 3FA5 BAE3 E168 5C12 A72D 1397 DB79 20AB 13A8

To claim this, I am signing this object:

@arnested
arnested / dock-in
Last active September 7, 2015 12:24
Docker: setup proxy and drush aliases
#!/bin/bash
##
# Requirements:
#
# brew install jq
# docker and docker-machine
#
##
<?php
/**
* This file contains a PHP class "SeleneseTestSauceOnDemand".
*
* It is made for easy automation of running Selenese (Selenium IDE's HTML
* format) test cases on Saucelabs SauceOnDemand service.
*
* You should be able to excute all Selenese test cases in a directory without
* modifying this file either by:
% \iffalse meta-comment
%
% Copyright 1989-2004 Johannes L. Braams and any individual authors
% listed elsewhere in this file. All rights reserved.
%
% This file is part of the Babel system.
% --------------------------------------
%
% It may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
%%
%% This file will generate fast loadable files and documentation
%% driver files from the doc files in this package when run through
%% LaTeX or TeX.
%%
%% Copyright 1989-2004 Johannes L. Braams and any individual authors
%% listed elsewhere in this file. All rights reserved.
%%
%% This file is part of the Babel system.
%% --------------------------------------
% File: fo_hyphen.tex
% TeX hyphenation patterns for Faroese.
%
% Version 20040420-1, created 2004-10-24
%
% Copied from the OpenOffice.org hyphenation patterns for Faroese.
%
% Copyright © 2004 Jacob Sparre Andersen, Linux-áhugafelagið, Dimmalætting and
% the editors of FOTR.
%
;;; gnus-prcml.el --- Utilities to manage procmail recipes for Gnus
;; Copyright (C) 2001, 2003, 2005, 2006 Free Software Foundation, Inc.
;; Author: NAGY Andras <nagya@inf.elte.hu>,
;; Simon Josefsson <simon@josefsson.org>,
;; Arne J,Ax(Brgensen <arne@arnested.dk>
;; Maintainer: Arne J,Ax(Brgensen <arne@arnested.dk>
;; This file is part of GNU Emacs.