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
print("STARTED") | |
import time | |
from adafruit_circuitplayground import cp | |
notes = { | |
"C": { | |
"frequency": 523.25, | |
"color": (0, 0, 3) | |
}, | |
"D": { |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#!/usr/bin/env python3 | |
""" | |
This processes TiddlyWiki dumps to stick them into a format that Bear can import. | |
Full steps: | |
* First in your TiddlyWiki under the Tools menu click "export all>Static HTML". | |
* Next, run this command `process_tiddly_export --tiddler_dump_file=somewhere/tiddlers.html --output_directory=/tmp/some_empty_folder/ --extra_tags=any,tags,you,want` it will | |
* process the static HTML file into one file per tiddler | |
* each file will start with <h1>your tiddler title</h1> | |
* next it will list any #tags on the original tiddler as well as and extra tags you supplied |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 main | |
import ( | |
"fmt" | |
"math/rand" | |
"net/http" | |
"os" | |
"strconv" | |
"time" | |
) |
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
public class SwanQueries { | |
static int MAX_PARAGRAPH_LENGTH = 5000; | |
static int MAX_SENTENCE_LENGTH = 500; | |
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
public class WimpySwanQParser extends QParser { | |
public WimpySwanQParser(String qstr, SolrParams localParams, | |
SolrParams params, SolrQueryRequest req) { | |
super(qstr, localParams, params, req); | |
} | |
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
public class WimpySwanParser extends BaseParser<SpanQuery> { | |
int MAX_PARAGRAPH_LENGTH = 5000; | |
int MAX_SENTENCE_LENGTH = 500; | |
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
public class WimpySwanQParserPlugin extends QParserPlugin { | |
@Override | |
public void init(NamedList args) { | |
//if you need it! | |
} | |
NewerOlder