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
@startuml | |
'https://plantuml.com/class-diagram | |
skinparam class { | |
BackgroundColor<<Disallow>> Orange | |
BackgroundColor<<Request>> Lime | |
} | |
interface AST | |
interface Type<<Request>> |
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 com.github.aborg0.caseyclassy | |
import fastparse.all._ | |
import java.time.{LocalDate, LocalTime} | |
import fastparse.core | |
import language.experimental.macros | |
import magnolia._ |
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
Exception in thread "AWT-EventQueue-0" java.lang.InternalError: couldn't create component peer | |
at sun.awt.windows.WComponentPeer.checkCreation(WComponentPeer.java:779) | |
at sun.awt.windows.WComponentPeer.<init>(WComponentPeer.java:761) | |
at sun.awt.windows.WCanvasPeer.<init>(WCanvasPeer.java:41) | |
at sun.awt.windows.WPanelPeer.<init>(WPanelPeer.java:73) | |
at sun.awt.windows.WWindowPeer.<init>(WWindowPeer.java:159) | |
at sun.awt.windows.WFramePeer.<init>(WFramePeer.java:175) | |
at sun.awt.windows.WEmbeddedFramePeer.<init>(WEmbeddedFramePeer.java:38) | |
at sun.awt.windows.WToolkit.createEmbeddedFrame(WToolkit.java:472) | |
at sun.awt.windows.WEmbeddedFrame.addNotify(WEmbeddedFrame.java:78) |
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
grammar mercury_alt; | |
//options { | |
// backtrack = true; | |
// memoize=true; | |
//} | |
model: | |
s item*; | |
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/ruby | |
# X = 88, 0 = 48, 9 = 57, / = 47 | |
File.foreach(ARGV[0]) do |line| | |
ret = 0 | |
prev = 0 | |
pos = 0 | |
(line.rstrip << " 0 0").bytes.select{|c| c!=32}.each_cons(3) { | |
|c, n, nn| #current, next, nextnext | |
if c >=48 && c < 58 #number |
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
let tagsChangedHandlers = new ResizeArray<EventHandler<SnapshotSpanEventArgs>>() | |
interface ITagger<ooktokentag> with | |
member this.add_TagsChanged v = tagsChangedHandlers.Add v |> ignore | |
member this.remove_TagsChanged v = tagsChangedHandlers.Remove v |> ignore |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using Eureqa; | |
using System.Threading; | |
namespace BasicClient | |
{ | |
class Program |
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 Playground | |
import javax.annotation.Nonnull | |
import javax.annotation.Nonnegative | |
import javax.annotation.CheckReturnValue | |
import edu.umd.cs.findbugs.annotations.DefaultAnnotation | |
/** | |
* User: root | |
* Date: 15-Nov-2009 |