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
| package main | |
| import "core:fmt" | |
| import "core:math" | |
| import "core:math/linalg" | |
| import "core:math/rand" | |
| import "core:slice" | |
| import rl "vendor:raylib" | |
| // MARK: Consts |
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
| package ease | |
| // Adapted from functions here: https://github.com/warrenm/AHEasing/blob/master/AHEasing/easing.c | |
| // For previews go here: https://easings.net/ | |
| import "core:math" | |
| Mode :: enum { | |
| linear = 0, | |
| quad_in, |
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
| # Step 1: Initialize your parser and formatter | |
| # The code that initializes the parser and formatter should be called only once | |
| var schema = Machete.Schema.Factory.CreateHL7<HL7Entity>(x => x.AddFromNamespaceContaining<MSH>()); | |
| var parser = Machete.Parser.Factory.CreateHL7(schema); | |
| # Step 2: Parse the message | |
| # calling the below method does not actually parse the data yet since you have not defined what example you want to parse yet | |
| # this call will analyze the message and do some pre-parsing | |
| var parse = parser.Parse(message); |
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
| # If your project uses WebView with JS, uncomment the following | |
| # and specify the fully qualified class name to the JavaScript interface | |
| # class: | |
| -keepclassmembers class fqcn.of.javascript.interface.for.webview { | |
| public *; | |
| } | |
| ### RxJava, RxAndroid (https://gist.github.com/kosiara/487868792fbd3214f9c9) | |
| -keep class rx.schedulers.Schedulers { | |
| public static <methods>; |
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
| # by James Thornton, http://jamesthornton.com | |
| from bulbs.titan import Graph, DEBUG | |
| # TITAN_URI => "http://localhost:8182/graphs/graph" | |
| # "graph" is the default graph name set in the Titan Server config | |
| g = Graph() | |
| g.config.set_logger(DEBUG) |
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
| namespace DD4T.Web.Mvc.Ninject | |
| { | |
| ///<summary> | |
| /// NinjectDependencyResolver | |
| /// 2012-10-22 | |
| /// Author: Robert Stevenson-Leggett | |
| ///</summary> | |
| public class NinjectDependencyResolver : IDependencyResolver | |
| { | |
| private readonly IKernel _kernel; |
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
| *.py[cod] | |
| # C extensions | |
| *.so | |
| # Packages | |
| *.egg | |
| *.egg-info | |
| dist | |
| build |
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
| server { | |
| listen 80; | |
| server_name nagios.example.tld; | |
| access_log /var/log/nginx/nagios.access.log; | |
| error_log /var/log/nginx/nagios.error.log info; | |
| expires 31d; | |
| root /usr/share/nagios3/htdocs; |
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
| #!/usr/bin/env python | |
| """Tool for profiling Cassandra query performance using reverse comparators. | |
| Tests are run by profile() multiple times and the 'Read Latency' is | |
| extracted using node tool. | |
| Usage: | |
| #Create the schema using the cassandra-cli. |
NewerOlder