This file contains 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 | |
export_dir="/tmp/foo" | |
mkdir -p $export_dir | |
tmp_dir=$(mktemp -d -t theme_manager) | |
declare -a urls=( | |
'https://bitbucket.org/blackosx/black_green' \ | |
'https://bitbucket.org/blackosx/bgm256' \ |
This file contains 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
# Cette configuration permet de mieux sécurisé le serveur | |
# Il faut placer ce fichier dans le répertoire /etc/httpd/conf | |
# (et non pas /etc/httpd/conf.d) et rajouter A LA FIN du fichier | |
# /etc/httpd/conf/httpd.conf une ligne: | |
# Include conf/security.conf | |
# Prevents server from giving version info on error pages. | |
ServerSignature Off | |
# Prevents server from giving version info in HTTP headers | |
ServerTokens Prod |
This file contains 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/bash | |
# | |
# This script can be called directly with: | |
# bash < <(curl -sS "https://gist.githubusercontent.com/JrCs/4bd6e77d25ff02e6a305/raw/check-svn-config-gnome-keyring.sh") | |
# | |
CALL=$(basename $0) | |
[[ -z "$HOME" ]] && HOME=~ | |
SVN_DIR=$HOME/.subversion | |
SVN_CONFIG=$SVN_DIR/config |
This file contains 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 | |
GamePartitionUUID='E7F33C26-2F83-41B2-B601-E9BF29AF9C09' | |
device=$(diskutil info "$GamePartitionUUID" | sed -n 's/.*Device Identifier: *//p') | |
if [[ -z "$device" ]]; then | |
echo "Impossible de déterminer la partition 'Games' avec l'UUID $GamePartitionUUID !" >&2 | |
exit 1 | |
fi | |
disk="${device%s*}" | |
part="${device##*s}" |
This file contains 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
# | |
# Copyright (c) 2007 - 2011, Intel Corporation. All rights reserved.<BR> | |
# Portions copyright (c) 2008 - 2010, Apple Inc. All rights reserved.<BR> | |
# This program and the accompanying materials | |
# are licensed and made available under the terms and conditions of the BSD License | |
# which accompanies this distribution. The full text of the license may be found at | |
# http://opensource.org/licenses/bsd-license.php | |
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, | |
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. |
This file contains 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 | |
# Script for GCC chainload in OS X made for EDKII | |
# | |
# Primary use is for creating better crosscompile support than | |
# mingw-gcc-build.py that is found in BaseTools/gcc/ | |
# | |
# With this we can use Native GCC chainload for EDKII | |
# development | |
# |
This file contains 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 | |
set -u | |
rpmforge_rpmfile=$(mktemp -u --suffix=.rpm) | |
_clean_exit() | |
{ | |
[ -f "$rpmforge_rpmfile" ] && rm -f "$rpmforge_rpmfile" | |
} |
NewerOlder