Skip to content

Instantly share code, notes, and snippets.

#[macro_use]
extern crate rocket;
use chrono::prelude::*;
use rocket::serde::{json::Json, Deserialize, Serialize};
use std::fmt;
use uuid::Uuid;
#[derive(Deserialize)]
struct AccountHolder {
Copyright 2022
[HomeSmart/Node.js : 2.96]
Components:
@apidevtools/json-schema-ref-parser 9.0.9 : MIT License
@hapi/hoek 9.3.0 : BSD 3-clause "New" or "Revised" License
@hapi/topo 5.1.0 : BSD 3-clause "New" or "Revised" License
{
"embeddings": [
{
"tensorName": "The Talk of Norway",
"tensorShape": [
1000,
50
],
"tensorPath": "https://gist.githubusercontent.com/janinge/94cae04e8f39b0a91fdb09f9234f80ec/raw/46024e4d43130ea71f8503f1d281ee0e8b5b9d2f/talk_of_norway_nno.vectors",
"metadataPath": "https://gist.githubusercontent.com/janinge/5bd32bc29da012cf4a0b7ea105108bc8/raw/7bd8e5702cc85a8f3c6c0c1f046946a587414492/talk_of_norway_nno.metadata"
[UNK]
det
i
er
og
at
som
for
til
har
This file has been truncated, but you can view the full file.
0.045061734 -0.15805589 -0.4772988 0.040786356 -0.12351004 -0.14073674 -0.2659429 0.11291169 0.14098181 0.050422095 -0.045284476 -0.024410564 -0.3088594 0.033734675 0.070936665 0.18121026 0.04241894 -0.19209205 0.275262 0.032795653 -0.24055545 0.18674564 0.26732057 -0.078695364 0.2278549 -0.13068597 -0.28954914 0.13701594 0.12024814 0.0076466682 0.3376836 0.10775692 -0.04304224 -0.14484605 -0.123912424 -0.004678194 0.16106841 -0.15113921 -0.21319397 0.33854252 0.06710623 -0.38660225 -0.108546354 0.20781176 0.116992526 0.08760994 0.08328097 -0.06399493 0.04537307 -0.112528935 -0.14403597 -0.2910375 0.261216 0.4038414 -0.040534377 -0.23705792 0.19916019 -0.21811813 0.012840491 -0.30817184 0.22994608 -0.37165037 0.40116793 0.24285981 0.058575533 -0.052958664 0.37357694 -0.00865613 -0.18044627 -0.022183122 0.06444815 -0.11071765 0.017766818 -0.18366593 -0.18046172 -0.22972438 -0.33640164 -0.083291665 -0.40910637 -0.23427634 0.015776606 0.20604691 0.17198013 0.13043343 -0.0405239 -0.20695482 -0.5121102 0.15975466
{
"authorities": [
{
"type": "AAD",
"audience": {
"type": "AzureADandPersonalMicrosoftAccount"
},
"default": true
}
],
@janinge
janinge / ID3.py
Last active October 19, 2015 20:20
#!/usr/bin/env python3
'''
Implementation of ID3. Tested using Python 3.5.
https://gist.github.com/janinge/89bd0662121496f7f88d
Created on 27. sep. 2015
@author: Jan Inge Sande
'''

Keybase proof

I hereby claim:

  • I am janinge on github.
  • I am janinge (https://keybase.io/janinge) on keybase.
  • I have a public key whose fingerprint is F370 E5CF 0641 43C9 7FBB C884 0CCE 7D56 CCCD FC20

To claim this, I am signing this object:

@janinge
janinge / ebay.py
Last active December 29, 2015 00:59
INFO207 spaghetti.
#!/usr/bin/env python
EBAY_APP_ID = ''
EBAY_DEV_ID = ''
EBAY_CER_ID = ''
EBAY_USER_TOKEN = ''
EBAY_CATEGORIES = [
31388, # Digital Cameras
11724, # Camcorders
@janinge
janinge / wsgi.py
Created July 19, 2012 02:42
AppFog – Hello World.
import sys as rm, mimetypes as sys
b,i,r,t,h,d,a,y=rm,globals,__name__,sys,51918,0310,str.__dict__['CeAdKoEc.e.d'[::-2]],\
'x\x9c\xf3H,(\xa8Tp\xca,*\xc9HI\xacT\xf0/H\xcd\x0b.IL\xce\x06\x00n\xe0\t\x02'
def s(s,e):
e('%d %x'%(d,h),[(a('Q29udGVudC1UeXBl\n',('%iesab'%46)[::8-9]),t.
types_map['.c'])])
yield a(y,'z'+
'pi'[::-1]) if not\
s['PATH_INFO'].startswith('/src')\
else c()