Skip to content

Instantly share code, notes, and snippets.

@steinsag
steinsag / build-kbruch.sh
Created February 28, 2014 18:31
Build KDE's KBruch application
git clone git://anongit.kde.org/kbruch
cd kbruch
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=debugfull
make -j4
sudo make install
@steinsag
steinsag / iamUserLimitS3Policy.json
Last active August 29, 2015 14:02
IAM User Policy to limit access to certain AWS S3 bucket
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt-GENERATED-ID",
"Effect": "Allow",
"Action": [
"s3:ListBucket"
],
"Resource": [
@steinsag
steinsag / s3BucketPolicyEncryptionSSL.json
Created June 11, 2014 12:03
S3 bucket policy to enforce encryption and https:// access
{
"Version": "2008-10-17",
"Id": "Policy-GENERATED-ID",
"Statement": [
{
"Sid": "DenyUnSecureCommunications",
"Effect": "Deny",
"Principal": {
"AWS": "*"
},
Verifying that +sebstein is my blockchain ID. https://onename.com/sebstein