Skip to content

Instantly share code, notes, and snippets.

@fristonio
fristonio / hotspot.ini
Created July 26, 2018 18:47
Sample NetworkManager config for hotspot
[connection]
id=hotspot
uuid=b627a77b-a032-413e-847e-cd5def7c555e
type=wifi
interface-name=wlp3s0
permissions=
secondaries=
autoconnect=true
[wifi]
@fristonio
fristonio / VisDial_demo.py
Created July 3, 2018 19:03
Origami wrapped visual dialog demo.
from origami_lib.origami import Origami
from visdial.models.answerer import Answerer
from nltk.tokenize import word_tokenize
from six.moves import range
from skimage.transform import resize
from torch.autograd import Variable
import json
@fristonio
fristonio / Origami Dockerfile template
Created July 3, 2018 17:29
Sample dockerfile for origami wrapped model.
FROM teamcloudcv/origami:ub14.04-py3.5-cu8.0
COPY . /app
# For now this is enough, later we can also
# allow user to specify a setup.sh file wherein he can run custom
# commands for the demo.
RUN cd app && \
pip install -r requirements.txt

Keybase proof

I hereby claim:

  • I am fristonio on github.
  • I am fristonio (https://keybase.io/fristonio) on keybase.
  • I have a public key whose fingerprint is 1C23 0547 369B 7464 D84F FCF1 D9AA 53BE C9C3 3F71

To claim this, I am signing this object:

@fristonio
fristonio / .editorconfig
Created February 4, 2018 09:58
Sample .editorconfig
root = true
[*]
end_of_line = lf
insert_final_newline = true
[*.{js,py}]
charset = utf-8
[*.{py,c,cpp,hs}]
indent_style = space
indent_size = 4
[*.{js,css,html}]