Skip to content

Instantly share code, notes, and snippets.

View timxor's full-sized avatar

Tim Siwula timxor

View GitHub Profile
@timxor
timxor / problem_details
Created August 11, 2019 11:19
firefox crash dump
This file has been truncated, but you can view the full file.
Date/Time: 2019-08-11 06:18:11 -0500
End time: 2019-08-11 06:18:12 -0500
OS Version: Mac OS X 10.14.6 (Build 18G87)
Architecture: x86_64h
Report Version: 28
Data Source: Stackshots
Shared Cache: 0x179b2000 F0AFAAA6-600D-320C-8AD7-0BFFAB361C17
Command: firefox
@timxor
timxor / emoji.md
Created March 10, 2019 15:06
Github emoji support 2019

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
#@shared_task
def decode_speech(audio_file):
decoder.decode_phrase(audio_file)
# If the keyword "ordenador" is spotted, then switch to jsgf mode
# Speech Example: Ordenador show me photos of Sara
if decoder.get_hyp() == "ordenador":
print ("BINGOOOO")
print(decoder.get_search_method())
decoder.set_search("grammar")
@timxor
timxor / debug.txt
Created December 4, 2018 22:19
sudo pip3 install --user karl
```
➜ karl git:(master) sudo pip3 install --user karl
The directory '/Users/tim.siwula/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/Users/tim.siwula/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting karl
Downloading https://files.pythonhosted.org/packages/46/db/c75ee661d10e7a3aa49c3d1d05fdd34e008537fbcfee531fa66a55eea71f/karl-0.2.10-py3-none-any.whl
Collecting mythril>=0.19.1 (from karl)
Requirement already satisfied: web3>=4.8.2 in /Users/tim.siwula/Library/Python/3.7/lib/python/site-packages (from karl) (4.8.2)
Requirement already satisfied: rlp>=1.0.1 in /Users/tim.siwula/Library/Python/3.7/lib/python/site-packages (from myth
@timxor
timxor / transferQueryCliNotes.md
Last active October 17, 2018 02:18
postTX --transfer-to notes

FVCproductions

screenshot

INSERT GRAPHIC HERE (include hyperlink in image)

Repository Title Goes Here

@timxor
timxor / sampleREADME.md
Created October 17, 2018 01:03 — forked from FrancesCoronel/sampleREADME.md
A sample README for all your GitHub projects.

FVCproductions

INSERT GRAPHIC HERE (include hyperlink in image)

Repository Title Goes Here

Subtitle or Short Description Goes Here

@timxor
timxor / haskell-error-001
Created September 24, 2018 01:54
Haskell Ambiguous type variable error message. Clueless..
Ambiguous type variable ‘a0’ arising from a use of ‘getLast’
prevents the constraint ‘(Read a0)’ from being solved.
Relevant bindings include
transferTXIDM :: Maybe a0 (bound at bin/FaeServer/App.hs:93:5)
Probable fix: use a type annotation to specify what ‘a0’ should be.
These potential instances exist:
instance (Read b, Read a) => Read (Either a b)
-- Defined in ‘Data.Either’
instance forall k (s :: k). Read (Proxy s)
-- Defined in ‘Data.Proxy’
@timxor
timxor / ghci
Created September 17, 2018 22:30
ghci seems to be broken on my mac
[~/Documents/Projects/Fae]$ghci
GHCi, version 8.2.2: http://www.haskell.org/ghc/ :? for help
<interactive>:1:19: error:
Not in scope: ‘System.IO.hSetBuffering’
No module named ‘System.IO’ is imported.
<interactive>:1:43: error:
Not in scope: ‘System.IO.stdin’
No module named ‘System.IO’ is imported.
extern crate diesel;
extern crate payment_api;
use std::process::Command;
use payment_api::*;
fn main() {
let connection = establish_connection();
// execute a cli to generate a key pair
let output = Command::new("/Users/tim.siwula/Desktop/parity/target/debug/./ethkey")
#![feature(plugin)]
#[macro_use] extern crate diesel;
#[macro_use] extern crate serde_json;
#[macro_use] extern crate serde_derive;
extern crate dotenv;
//extern crate uuid;
pub mod schema;
pub mod models;