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 | |
# Author: Pierre-Antoine Rault (rigelk) | |
# Sauce: https://gist.github.com/rigelk | |
# Licence: BSD licence | |
usage="USAGE ./new_event [editor]" | |
if [ $1 ] | |
then | |
read -r -p "Post name > " | |
title=${REPLY} |
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> | |
<head> | |
<meta http-equiv="Content-type" content="text/html;charset=UTF-8"> | |
<title>Maintenance du site</title> | |
<style> | |
h1 { color: rgb(220, 129, 0); font-size: 50px; letter-spacing: -5px; position: relative;} | |
h1:after { color: rgba(100, 200, 255, 0.5); content: "Oh noes!"; left: 4px; position: absolute; top: 5px;} | |
body { color: rgb(51, 51, 51); font: 20px Helvetica,sans-serif; padding-top: 150px;} | |
#article { display: block; margin: auto; text-align: left; width: 650px;} |
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 | |
# -*- coding: utf-8 -*- | |
# | |
# untitled.py | |
# | |
# Copyright 2014 <pi@raspberrypi> | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or |
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
TEXFILES = $(wildcard *.tex) | |
PDFFILES = $(TEXFILES:.tex=.pdf) | |
all: pdf | |
pdf: $(PDFFILES) | |
%.pdf: %.tex | |
@rubber --pdf $< | |
clean: |
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 | |
if [ $# -eq 0 ]; then | |
echo "Usage: $(basename $0) [build-args [-- run-args [-- cmd-args] ] ]" | |
echo " NOTE: the -rm-flag is hardcoded for build!" | |
exit 1 | |
fi | |
BUILD_ARG=() | |
RUN_ARG=() |
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 | |
# Wordpress dev env installer for dummies. | |
command_exists() { | |
command -v "$@" > /dev/null 2>&1 | |
} | |
user="$(id -un 2>/dev/null || true)" | |
sh_c='sh -c' |
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
/* | |
* am335x_evm.h | |
* | |
* Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ | |
* | |
* This program is free software; you can redistribute it and/or | |
* modify it under the terms of the GNU General Public License as | |
* published by the Free Software Foundation version 2. | |
* | |
* This program is distributed "as is" WITHOUT ANY WARRANTY of any |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 28ca8cd283095614d65ab9acfc1afe57c1965e57 Mon Sep 17 00:00:00 2001 | |
From: Pierre-Antoine Rault <[email protected]> | |
Date: Mon, 28 Nov 2016 01:28:26 +0100 | |
Subject: [PATCH] fixes #41 deprecated readdir_r | |
* src/hakactl/console.c (initialize_console): readdir_r is removed in favor of POSIX.1-2008-compliant readdir, mainly to support glibc >= glibc-2.24 (released Aug 5, 2016). | |
--- | |
src/hakactl/console.c | 23 ++++++++++++----------- | |
1 file changed, 12 insertions(+), 11 deletions(-) |
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 4fe24706d0ce63bf9713243567ab400fc1a13f10 Mon Sep 17 00:00:00 2001 | |
From: Pierre-Antoine Rault <[email protected]> | |
Date: Mon, 28 Nov 2016 01:28:26 +0100 | |
Subject: [PATCH] fixes #41 deprecated readdir_r | |
* src/hakactl/console.c (initialize_console): readdir_r is removed in favor of POSIX.1-2008-compliant readdir, mainly to support glibc >= glibc-2.24 (released Aug 5, 2016). | |
--- | |
src/hakactl/console.c | 22 +++++++++++----------- | |
1 file changed, 11 insertions(+), 11 deletions(-) |
OlderNewer