This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def memoize(f): | |
def wrapped(*args, **kwargs): | |
if hasattr(wrapped, '_cached_val'): | |
return wrapped._cached_val | |
result = f(*args, **kwargs) | |
wrapped._cached_val = result | |
return result | |
return wrapped |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I'm using rustup with rustc 1.9.0-nightly (526f2bf5c 2016-04-09) on windows. | |
CARGO_HOME = C:\Users\Emil\.cargo | |
RUST_SRC_PATH = D:\.local\source\rust\src (*master from today, 526f2bf) | |
RUST_LOG = debug | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2017-03-25 19:42:43,718 - ERROR - Unable to connect to server | |
Traceback (most recent call last): | |
File "/home/localsys/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/requests/requests/packages/urllib3/connection.py", line 137, in _new_conn | |
(self.host, self.port), self.timeout, **extra_kw) | |
File "/home/localsys/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/requests/requests/packages/urllib3/util/connection.py", line 91, in create_connection | |
raise err | |
File "/home/localsys/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/requests/requests/packages/urllib3/util/connection.py", line 81, in create_connection | |
sock.connect(sa) | |
ConnectionRefusedError: [Errno 111] Connection refused |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Included patches: 1-329 | |
Compiled by Arch Linux | |
Huge version without GUI. Features included (+) or not (-): | |
+acl +file_in_path +mouse_sgr +tag_old_static | |
+arabic +find_in_path -mouse_sysmouse -tag_any_white | |
+autocmd +float +mouse_urxvt +tcl/dyn | |
-balloon_eval +folding +mouse_xterm +termguicolors | |
-browse -footer +multi_byte +terminfo | |
++builtin_terms +fork() +multi_lang +termresponse | |
+byte_offset +gettext -mzscheme +textobjects |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extern crate cortex_m; | |
extern crate cortex_m_rt; | |
#[macro_use] | |
extern crate cortex_m_rtfm; | |
extern crate pac; // Our peripheral access crate | |
use rtfm::{C1, P0, P1, Resource, T0, T1, TMax}; | |
peripherals! { | |
GPIOA: Peripheral { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Unhandled exception: c0000005 | |
Date/Time: 2018-01-22, 10:45:23 | |
Fault address: 7FF88103F497 (d:\program files (x86)\obs-studio\obs-plugins\64bit\advanced-scene-switcher.dll) | |
libobs version: 20.1.3 | |
Windows version: 10.0 build 15063 (revision: 850; 64-bit) | |
CPU: Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz | |
Thread 1854 (Crashed) | |
Stack EIP Arg0 Arg1 Arg2 Arg3 Address |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 | |
00:00:00,000 --> 00:00:03,416 | |
KODJO: At 9, since this last segment got a bit of the rails, we have of course a guest | |
2 | |
00:00:03,416 --> 00:00:08,875 | |
and that is Anniefuchsia who is super big on twitch and we are going to learn all about it | |
3 | |
00:00:11,291 --> 00:00:15,125 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name clone_github_on_vscode | |
// @namespace http://greasespot.net/ | |
// @version 0.2 | |
// @description Let you open Github repositories in vscode | |
// @author idanp, emilgardis | |
// @match https://github.com/* | |
// @grant none | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[package] | |
name = "maybe" | |
version = "0.1.0" | |
edition = "2018" | |
resolver = "2" | |
[dependencies] | |
sqlx = { version = "0.5.7", default-features = false, features = [ | |
"runtime-tokio-native-tls", |
OlderNewer