Skip to content

Instantly share code, notes, and snippets.

View RaitoBezarius's full-sized avatar
🎯
Very restricted availability

Ryan Lahfa RaitoBezarius

🎯
Very restricted availability
View GitHub Profile
@RaitoBezarius
RaitoBezarius / traceback
Created July 19, 2016 10:25
Traceback with ESLintBear
[WARNING][12:24:09] Bear ESLintBear failed to run. Take a look at debug messages (`-L DEBUG`) for further information.
[DEBUG][12:24:09] The bear ESLintBear raised an exception. If you are the writer of this bear, please make sure to catch all exceptions. If not and this error annoys you, you might want to get in contact with the writer of this bear.
Traceback information is provided below:
Traceback (most recent call last):
File "/home/raito/.virtualenvs/mangaki/lib/python3.5/site-packages/coalib/bears/Bear.py", line 231, in execute
return list(self.run_bear_from_section(args, kwargs) or [])
File "/home/raito/.virtualenvs/mangaki/lib/python3.5/site-packages/bears/js/ESLintBear.py", line 43, in process_output
output = json.loads(output)

Keybase proof

I hereby claim:

  • I am RaitoBezarius on github.
  • I am raitobezarius (https://keybase.io/raitobezarius) on keybase.
  • I have a public key whose fingerprint is 91AD 5D34 5ACB F9D5 01E9 4622 9B3E 45E4 B604 FF65

To claim this, I am signing this object:

@RaitoBezarius
RaitoBezarius / api_wrapper.js
Created April 21, 2016 10:19
API wrapper around a magic API which mutates itself while dispatching events
// Let's say we have three events:
// CONNECTED
// NEW ITEM IN ARRAY
// DELETED ITEM IN ARRAY
// We're a doing a chat with deletion features
// We have an API which is sync'd with our backend.
const API = new SuperAPI()
@RaitoBezarius
RaitoBezarius / index.js
Last active April 2, 2016 11:40 — forked from gaearon/index.js
Breaking out of Redux paradigm to isolate apps
import React, { Component } from 'react'
import Subapp from './subapp/Root'
class BigApp extends Component {
render() {
return (
<div>
{this.props.children}
</div>
)
@RaitoBezarius
RaitoBezarius / springer-free-maths-books.md
Created December 28, 2015 14:38 — forked from bishboria/springer-free-maths-books.md
Springer have made a bunch of maths books available for free, here are the direct links
@RaitoBezarius
RaitoBezarius / test_result
Created June 24, 2015 11:02
Tests results
Using rethinkdb binary /home/raitobezarius/rethinkdb/build/release/rethinkdb
Python 2.7 interpreter: /usr/bin/python2.7, driver: /home/raitobezarius/rethinkdb/drivers/python
== Starting: connections/twisted_connection.py2.7 (T+ 0.9 sec)
>>> Failed connections/twisted_connection.py2.7 with exit code None after 0.0 sec (T+ 0.9 sec)
Failed starting testTraceback (most recent call last):
File "./test-runner", line 1436, in run
test.startTest(server=self.server)
File "./test-runner", line 1016, in startTest
self.testProcess = subprocess.Popen(self.command, stdout=self.__console_output, stderr=self.__console_output, preexec_fn=os.setpgrp, env=envVariables)
Verifying I am +raitobezarius on my passcard. https://onename.com/raitobezarius
Verifying I am +raitobezarius on my passcard. https://onename.com/raitobezarius
@RaitoBezarius
RaitoBezarius / test_pack.py
Created February 19, 2014 16:13
Python packer
import umsgpack
with open('data_python', 'wb') as f:
f.write(umsgpack.packb(('random', 'data')))
@RaitoBezarius
RaitoBezarius / test_unpack.cpp
Created February 19, 2014 16:13
C++ unpacker
#include <iostream>
#include <msgpack.hpp>
#include <fstream>
#include <string>
#include <stdexcept>
int main()
{
std::ifstream in("data_python");
std::string file_content;