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 | |
"""Simple HTTP Server With Upload and basic auth. | |
This module builds on BaseHTTPServer by implementing the standard GET | |
and HEAD requests in a fairly straightforward manner. | |
Code is based on: | |
see: https://gist.github.com/UniIsland/3346170 | |
""" |
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 application; | |
import javax.swing.JFrame; | |
import javax.swing.SwingUtilities; | |
import javafx.application.Platform; | |
import javafx.embed.swing.JFXPanel; | |
import javafx.scene.Group; | |
import javafx.scene.Scene; | |
import javafx.scene.control.TextField; |
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
import codecs | |
import os | |
from nltk import word_tokenize | |
from nltk.corpus.reader.plaintext import PlaintextCorpusReader | |
from nltk.corpus import stopwords | |
from googletrans import Translator | |
from PyDictionary import PyDictionary | |
from googletrans import Translator |
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
<?php | |
namespace Fry; | |
use JsonStreamingParser\Listener; | |
/** | |
* This implementation allows to process an object at a specific level | |
* when it has been fully parsed | |
*/ |
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
import 'ol/ol.css'; | |
import Map from 'ol/map'; | |
import View from 'ol/view'; | |
import TileLayer from 'ol/layer/tile'; | |
import OSM from 'ol/source/osm'; | |
import Proj from 'ol/proj'; | |
import Projection from 'ol/proj/projection'; | |
import Coordinate from 'ol/coordinate'; | |
import ImageStatic from 'ol/source/imagestatic'; | |
import Image from 'ol/layer/image'; |
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
import 'ol/ol.css'; | |
import Map from 'ol/map'; | |
import View from 'ol/view'; | |
import TileLayer from 'ol/layer/tile'; | |
import OSM from 'ol/source/osm'; | |
import Proj from 'ol/proj'; | |
import Projection from 'ol/proj/projection'; | |
import Coordinate from 'ol/coordinate'; | |
import ImageStatic from 'ol/source/imagestatic'; | |
import Image from 'ol/layer/image'; |
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
--patch-module test=fastparse_2.12-1.0.0.jar | |
--patch-module test2=fastparse-utils_2.12-1.0.0.jar | |
--patch-module test3=sourcecode_2.12-0.1.4.jar | |
--add-exports javafx.controls/com.sun.javafx.scene.control=org.jabref | |
--add-exports org.controlsfx.controls/impl.org.controlsfx.skin=org.jabref | |
--add-exports javafx.graphics/com.sun.javafx.scene=org.controlsfx.controls | |
--add-exports javafx.graphics/com.sun.javafx.scene.traversal=org.controlsfx.controls | |
--add-exports javafx.graphics/com.sun.javafx.css=org.controlsfx.controls | |
--add-exports javafx.controls/com.sun.javafx.scene.control.behavior=org.controlsfx.controls | |
--add-exports javafx.controls/com.sun.javafx.scene.control=org.controlsfx.controls |
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
/** | |
* | |
* Icon Enum based on Material Design Icons v1.7.22 | |
* https://materialdesignicons.com | |
* | |
* @author Jens Deters ([email protected]) | |
*/ | |
public enum MaterialDesignIcon{ |
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
--patch-module test=fastparse_2.12-1.0.0.jar | |
--patch-module test2=fastparse-utils_2.12-1.0.0.jar | |
--patch-module test3=sourcecode_2.12-0.1.4.jar | |
--add-exports javafx.controls/com.sun.javafx.scene.control=org.jabref | |
--add-exports org.controlsfx.controls/impl.org.controlsfx.skin=org.jabref | |
--add-exports javafx.graphics/com.sun.javafx.scene=org.controlsfx.controls | |
--add-exports javafx.graphics/com.sun.javafx.scene.traversal=org.controlsfx.controls | |
--add-exports javafx.graphics/com.sun.javafx.css=org.controlsfx.controls | |
--add-exports javafx.controls/com.sun.javafx.scene.control.behavior=org.controlsfx.controls | |
--add-exports javafx.controls/com.sun.javafx.scene.control=org.controlsfx.controls |
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
import * as util from 'util' | |
const setTimeoutPromise = util.promisify(setTimeout); | |
const TIMEOUT_MILLI_SECONDS = 10000; | |
export interface MyContext extends SceneContextMessageUpdate { | |
session: any, | |
} | |
const localSession = new LocalSession({ | |
database: 'example_db.json', |
OlderNewer