Skip to content

Instantly share code, notes, and snippets.

Avatar

Andrew Marcinkevičius ifdattic

View GitHub Profile
View iam-s3-policy
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1464945805848",
"Action": [
"s3:GetObject",
"s3:PutObject",
"s3:PutObjectAcl"
],
View 00-info-symfony-events-require-account-information-after-registration
Source code for article http://ifdattic.com/symfony-events-require-account-information-after-registration
The first line provides the full file path, remove it from real files!
@ifdattic
ifdattic / 00-info-integrating-datadog-and-logstash-on-aws-ec2
Last active Oct 3, 2018
Integrating DataDog & logstash on AWS EC2
View 00-info-integrating-datadog-and-logstash-on-aws-ec2
Source code for article http://ifdattic.com/integrating-datadog-and-logstash-on-aws-ec2/
The first line provides the full file path, remove it from real files!
@ifdattic
ifdattic / config
Created Jun 11, 2014
Initial duplicity automation script using expect (not finished)
View config
set GOOGLE_ACCOUNT "foobar"
set GOOGLE_PASSWORD "foobar"
# # Watch out !!!
# # If you have a '$' in your passphrase, make sure you escape it with '\'
set GNUPG_PASSPHRASE "foobar"
set VERBOSITY_LEVEL 8
@ifdattic
ifdattic / git-cherry-pick-between-repositories.sh
Last active Jan 1, 2016
An example of using cherry-pick to move commits between different repositories (refactoring project case). Also contains full workflow of fetching, merging and cleaning up.
View git-cherry-pick-between-repositories.sh
# The gist for cherry pick between repositories
git remote add repositoryName An:\\absolute\path\to\repo
git fetch --progress --prune repositoryName
# OR
git remote show repositoryName
git fetch --progress -n repositoryName refs/heads/branch-name:refs/remotes/repositoryName/branch-name
You can’t perform that action at this time.