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.
{
"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()