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
cat <<EOM | telnet localhost 25 | |
EHLO localhost | |
MAIL FROM: duarnad@gmail.com | |
RCPT TO: wael.nasreddine@gmail.com | |
DATA | |
From: Arnaud Le Roy <duarnad@gmail.com> | |
To: Wael Nasreddine <wael.nasreddine@gmail.com> | |
Subject: Test Postfix/Amazon SES (Arnaud => Wael) | |
Test depuis postfix + amazon ses |
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
diff -Naur a/bin/ses-send-email.pl b/bin/ses-send-email.pl | |
--- a/bin/ses-send-email.pl 2011-11-22 01:25:06.000000000 +0000 | |
+++ b/bin/ses-send-email.pl 2011-11-22 01:26:07.000000000 +0000 | |
@@ -77,6 +77,7 @@ | |
# Read message body from STDIN. | |
sub read_message { | |
$opts{'m'} = join '', readline *STDIN; | |
+ $opts{'m'} =~ s/Precedence/X-Precedence/; | |
$opts{'m'} =~ s/^\x{FEFF}//; | |
} |
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
# This is CPAN.pm's systemwide configuration file. This file provides | |
# defaults for users, and the values can be changed in a per-user | |
# configuration file. The user-config file is being looked for as | |
# /root/.cpan/CPAN/MyConfig.pm. | |
$CPAN::Config = { | |
'auto_commit' => q[1], | |
'build_cache' => q[100], | |
'build_dir' => q[/root/.cpan/build], |
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
cat <<EOM | telnet localhost 25 | |
EHLO localhost | |
MAIL FROM: wael.nasreddine@gmail.com | |
RCPT TO: listeune@affinitic.fr | |
DATA | |
From: Wael Nasreddine <wael.nasreddine@gmail.com> | |
To: listeune@affinitic.fr | |
Subject: Test Mailman/Postfix/Amazon SES (Arnaud => Wael) | |
Test depuis postfix + amazon ses |
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
diff -Naur a/usr/local/bin/mvim b/usr/local/bin/mvim | |
--- a/usr/local/bin/mvim 2012-01-03 05:58:39.000000000 +0100 | |
+++ b/usr/local/bin/mvim 2012-01-03 06:00:07.000000000 +0100 | |
@@ -57,6 +57,10 @@ | |
;; | |
esac | |
+# Unset GEM_HOME and GEM_PATH | |
+unset GEM_HOME | |
+unset GEM_PATH |
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/env ruby | |
# usage: | |
# $ das_download.rb email password [download_directory] | |
require 'mechanize' | |
# gem 'mechanize-progressbar' | |
email = ARGV[0] or raise('Please provide the email address for your account') | |
password = ARGV[1] or raise('Please provide the password for your account') | |
path = (ARGV[2] || './').gsub /\//,'' |
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/env ruby | |
# | |
# Proof-of-Concept RCE exploit against Gemcutter | |
# | |
# ## Advisory | |
# | |
# ## Caveats | |
# | |
# ## Synopsis | |
# |
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
diff -Naur a/my.cnf b/my.cnf | |
--- a/my.cnf 2013-05-24 15:56:51.311075819 -0700 | |
+++ b/my.cnf 2013-05-24 20:39:26.679062359 -0700 | |
@@ -19,6 +19,7 @@ | |
[client] | |
port = 3306 | |
socket = /var/run/mysqld/mysqld.sock | |
+default-character-set = utf8 | |
# Here is entries for some specific programs |
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
diff --git a/Library/Formula/notmuch.rb b/Library/Formula/notmuch.rb | |
index 4840475..019ce2a 100644 | |
--- a/Library/Formula/notmuch.rb | |
+++ b/Library/Formula/notmuch.rb | |
@@ -12,9 +12,10 @@ class Notmuch < Formula | |
depends_on "gmime" | |
depends_on "zlib" | |
+ patch :DATA | |
+ |
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/sh | |
# This script will setup Evm and Cask on Travis to use for Emacs Lisp testing. | |
# | |
# In .travis.yml, add Evm and Cask to PATH. | |
# | |
# - export PATH="/home/travis/.evm/bin:$PATH" | |
sudo mkdir /usr/local/evm | |
sudo chown travis:travis /usr/local/evm |