I hereby claim:
- I am kav on github.
- I am kavla (https://keybase.io/kavla) on keybase.
- I have a public key ASCKk-WxqWE_GYOwTag_U2EXMjzgwSw9pXq3i0PAJu1nCwo
To claim this, I am signing this object:
Tool | |
Active | |
mark lost ->Inactive | |
mark stolen -> Inactive | |
mark out for repair -> Inactive | |
mark hidden -> Inactive | |
mark consumed -> Inactive | |
With A | |
B request -> Requested | |
A transfer -> Transferring |
I hereby claim:
To claim this, I am signing this object:
-- Import Simple Note Folder into Apple Notes. | |
-- This is based on a script I found to do general note import modified to work with the simplenote web export | |
-- get a file to import to a note | |
--set noteFiles to choose folder with prompt "Import which files?" | |
set noteFiles to every item of (choose file with prompt "Choose the Files you'd like to import:" with multiple selections allowed) as list | |
-- get the name of the account that you want to add the note to |
- (void)archiveMessage:(CTCoreMessage *)message | |
{ | |
CTCoreFolder *inbox = [account folderWithPath:@"INBOX"]; | |
[self connect]; | |
[inbox moveMessageWithUID:message.uid toPath:@"[Gmail]/All Mail"]; | |
} |
http = require('http') | |
module.exports = (app) -> | |
ensureLogin: (req, res, next) -> | |
return res.end() unless req.session? | |
if req.session.fbid? | |
return next() | |
req.authenticate ['facebook'], (error, authenticated) -> | |
unless authenticated then return res.end() | |
fbUser = req.getAuthDetails().user |
module.exports = (app) -> | |
ensureLogin: (req, res, next) -> | |
return res.end() unless req.session? | |
if req.session.fbid? | |
return next() | |
console.log req.isAuthenticated() | |
console.log 'Heading off to fb' | |
req.authenticate ['facebook'], (error, authenticated) -> |