This file contains hidden or 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
cmake_minimum_required(VERSION 3.20) | |
project(LinkedListBenchmark) | |
set(CMAKE_CXX_STANDARD 17) | |
find_package(benchmark REQUIRED) | |
add_executable(bench bench.cc) | |
target_link_libraries(bench benchmark::benchmark) |
This file contains hidden or 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
[[source]] | |
url = "https://pypi.org/simple" | |
verify_ssl = true | |
name = "pypi" | |
[packages] | |
pint = "*" | |
sympy = "*" | |
scipy = "*" |
This file contains hidden or 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
query($endCursor: String, $login: String!) { | |
user(login: $login) { | |
repositories( | |
first: 100 | |
after: $endCursor | |
orderBy: { field: STARGAZERS, direction: DESC } | |
) { | |
nodes { | |
nameWithOwner | |
isFork |
This file contains hidden or 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
use anyhow::Result; | |
use std::fs::File; | |
use std::io::{BufRead, BufReader}; | |
use walkdir::WalkDir; | |
/// Inspired by http://jmoiron.net/blog/cpp-deserves-its-bad-reputation/ | |
fn main() -> Result<()> { | |
let mut counter = std::collections::BTreeMap::new(); |
This file contains hidden or 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
[[source]] | |
name = "pypi" | |
url = "https://pypi.org/simple" | |
verify_ssl = true | |
[dev-packages] | |
black = "*" | |
[packages] | |
py-midi = "*" |
This file contains hidden or 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
DEBUG:dk -- Initializing the board | |
DEBUG:dk -- Clocks configured | |
DEBUG:dk -- RTC started | |
DEBUG:dk -- I/O pins have been configured for digital output | |
DEBUG:dk -- Radio initialized and configured with TX power set to the maximum value | |
INFO:radio_debug -- 78 - 41 - 1114111 - false - false | |
INFO:radio_debug -- 75 - 70 - 1114111 - false - false | |
INFO:radio_debug -- 98 - 73 - 1114111 - false - false | |
INFO:radio_debug -- 101 - 88 - 1114111 - false - false | |
INFO:radio_debug -- 126 - 83 - 1114111 - false - false |
This file contains hidden or 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
{ | |
"_meta": { | |
"hash": { | |
"sha256": "4c3c3988cee9ef0aabedb0fe77f041c143b7c7fdde2feb775bb0578948a09288" | |
}, | |
"pipfile-spec": 6, | |
"requires": { | |
"python_version": "3.7" | |
}, | |
"sources": [ |
This file contains hidden or 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
classdef hermite | |
% Hermite class for hermite functions | |
properties | |
x | |
polynomes | |
hermites | |
end | |
methods | |
function self = hermite(x, n) |
This file contains hidden or 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 test_get_tags(self): | |
self.blob_with_tags = Blob.objects.create(caption="Hello", slug='foo', tags="ab") | |
self.failUnlessEqual(self.blob_with_tags.get_tags(), [Tag(name="ab")]) #BUG FIXME | |
============================= | |
====================================================================== | |
FAIL: test_get_tags (blobs.tests.BlobTest) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/chris/devel/assistant/blobs/tests.py", line 34, in test_get_tags |