Skip to content

Instantly share code, notes, and snippets.

View ifdattic's full-sized avatar

Andrew Marcinkevičius ifdattic

View GitHub Profile
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1464945805848",
"Action": [
"s3:GetObject",
"s3:PutObject",
"s3:PutObjectAcl"
],
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 August 24, 2021 09:21
Integrating DataDog & 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 June 11, 2014 06:30
Initial duplicity automation script using expect (not finished)
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 January 1, 2016 17:09
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.
# 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