Skip to content

Instantly share code, notes, and snippets.

@malford
malford / jenkins-install.template
Created October 24, 2013 15:10
This is a Cloudformation Template that will bootstrap a Jenkins Master Instance.
{
"Description": "Jenkins-based stack template.",
"Outputs": {
"JenkinsHostname": {
"Description": "DNS Name of the newly created EC2 instance",
"Value": {
"Fn::GetAtt": [
"JenkinsEC2",
"PublicDnsName"
]

Keybase proof

I hereby claim:

  • I am malford on github.
  • I am malford (https://keybase.io/malford) on keybase.
  • I have a public key whose fingerprint is 8241 1B63 238D C471 D8A5 D204 C1F0 F5E5 32F3 6C5E

To claim this, I am signing this object:

@malford
malford / remove_bad_identity_asset_font_urls.out
Created July 14, 2014 18:17
python tools/migration/remove_bad_identity_asset_font_urls.py output
('Cleaning font asset urls for license %s', 11591L)
License has no malformed font urls
('Cleaning font asset urls for license %s', 12114L)
License has no malformed font urls
('Cleaning font asset urls for license %s', 12832L)
License has no malformed font urls
('Cleaning font asset urls for license %s', 13195L)
License has no malformed font urls
('Cleaning font asset urls for license %s', 13204L)
License has no malformed font urls
@malford
malford / deploy_output
Created July 17, 2014 16:27
deploy_output
✓ should update dimensions after load
✓ should return a clone of the el
Model_Media_Search
✓ should throw an error when there is no searchPhrase
Model_PostSet
✓ should handle a linkless post and posts with link/brew
✓ should set the brew and link params on existing posts
✓ should create a valid uid
✓ should set proper attachment params on existing posts
✓ should know if it has an attachment
@malford
malford / remove_rss_subs_from_editor_web_brews.out
Created July 24, 2014 19:10
remove_rss_subs_from_editor_web_brews.py output
ubuntu@shell:/percolate/hotlanta/tools/migration (4.19.6-23-g169d932)$ python remove_rss_subs_from_editor_web_brews.py
Traceback (most recent call last):
File "remove_rss_subs_from_editor_web_brews.py", line 26, in <module>
num_cleared = main()
File "remove_rss_subs_from_editor_web_brews.py", line 16, in main
channel = Channel.objects.get(pk=sub.cid)
File "/usr/local/lib/python2.7/dist-packages/django/db/models/manager.py", line 151, in get
return self.get_queryset().get(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 307, in get
self.model._meta.object_name)
@malford
malford / migrate_analytics_cards.out
Created July 31, 2014 19:42
./tools/migration/migrate_analytics_cards.py output
ubuntu@shell:/percolate/hotlanta (4.19.22)$ ./tools/migration/migrate_analytics_cards.py
Found 1519 analytics cards to update
Done!
@malford
malford / sync_builtin_roles.out
Created July 31, 2014 19:44
sync_builtin_roles.py output
ubuntu@shell:/percolate/hotlanta (4.19.22)$ ./tools/sync_builtin_roles.py
done!
@malford
malford / normalize_briefs_platforms.out
Created August 6, 2014 22:07
normalize_briefs_platforms.py output
created a brief_platform mapping 15047 for brief 36980 and platform facebook
created a brief_platform mapping 15048 for brief 36982 and platform facebook
created a brief_platform mapping 15049 for brief 36983 and platform facebook
created a brief_platform mapping 15050 for brief 36984 and platform facebook
created a brief_platform mapping 15051 for brief 36986 and platform facebook
created a brief_platform mapping 15052 for brief 36987 and platform facebook
created a brief_platform mapping 15053 for brief 36988 and platform facebook
created a brief_platform mapping 15054 for brief 36989 and platform facebook
created a brief_platform mapping 15055 for brief 36990 and platform facebook
created a brief_platform mapping 15056 for brief 36991 and platform facebook
@malford
malford / user.sql.diff
Created August 26, 2014 15:36
user.sql diff
diff --git a/sql/user.sql b/sql/user.sql
index 5c2a160..af6023f 100644
--- a/sql/user.sql
+++ b/sql/user.sql
@@ -311,7 +311,6 @@ CREATE TABLE `brands` (
CONSTRAINT `FK_brands_salesforce_brand_strategist_id` FOREIGN KEY (`salesforce_brand_strategist_id`) REFERENCES `salesforce_users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='A brand is part of an account, and can have multiple licences (auth_user)';
-
--
@malford
malford / fake_gnip_supervisor.conf
Created September 12, 2014 17:56
Fake gnip supervisor conf
[program:fakegnip]
command = /usr/local/bin/fake_gnip --
config = /percolate/redeye/etc/dev/gnip_utils.ini
user = ubuntu
autorestart = true
stdout_logfile = /var/log/supervisor/redeye-fakegnip.log
stderr_logfile = /var/log/supervisor/redeye-fakegnip.err.log