I hereby claim:
- I am shell on github.
- I am penkinv (https://keybase.io/penkinv) on keybase.
- I have a public key ASDMAsXB4uFImyX1825nDysSbtLRXx02NZdaM6oWdp736wo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
function myFunction() { | |
GmailApp.search("in:inbox subject:\"[Slack] Notifications\" older_than:2d") | |
.forEach(function (msg) { return msg.moveToTrash(); }); | |
} |
## Like a Symbol#to_proc but for array | |
class Array | |
def to_proc | |
lambda {|object| | |
self.map{|symbol| object.send(symbol.to_sym)} | |
} | |
end | |
end |