Skip to content

Instantly share code, notes, and snippets.

View marcbelmont's full-sized avatar
🐧

Marc Belmont marcbelmont

🐧
View GitHub Profile
@marcbelmont
marcbelmont / keybase.md
Created November 2, 2018 14:16
keybase.md

Keybase proof

I hereby claim:

  • I am marcbelmont on github.
  • I am marcemile (https://keybase.io/marcemile) on keybase.
  • I have a public key ASBAQ4uMeCYD353vGrasriJsy1LIKcSajl89Mfux2_8ClAo

To claim this, I am signing this object:

local ParallelCriterionSkip, parent = torch.class('nn.ParallelCriterionSkip', 'nn.Criterion')
function ParallelCriterionSkip:__init(repeatTarget)
parent.__init(self)
self.criterions = {}
self.weights = {}
self.gradInput = {}
self.repeatTarget = repeatTarget
end
@marcbelmont
marcbelmont / gist:5259298
Created March 28, 2013 00:01
Extract Skype chats / conversations from preferences (main.db file), convert them to html and send them to an email using Gmail stmp.
# -*- coding: utf-8 -*-
"""
Skype database access functionality.
@author Erki Suurjaak
@created 26.11.2011
@modified 07.03.2013
"""
import copy
import csv