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 MySwingDomain._ | |
object Gui extends ReactiveSwingApp { | |
val button = new MyButton("test") | |
def top = new MainFrame { | |
contents = new FlowPanel { | |
contents += button | |
} | |
} |
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
var _loadScript = function(path){ | |
var script= document.createElement('script'); | |
script.type= 'text/javascript'; | |
script.src= path; | |
document.head.appendChild(script); | |
}; | |
function fetchLocal(url) { | |
return new Promise(function(resolve, reject) { | |
var xhr = new XMLHttpRequest |
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
-- https://gist.github.com/kylechui/a5c1258cd2d86755f97b10fc921315c3 | |
-- https://www.vikasraj.dev/blog/vim-dot-repeat | |
-- https://github.com/phaazon/hop.nvim/issues/58 | |
-- https://github.com/smoka7/hop.nvim/issues/39 | |
-- https://github.com/FelipeLema | |
local hop = require("hop") | |
local builtin_targets = require("hop.jump_target") | |
local builtin_targets2 = require("hop.jump_regex") |