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
| # Initialize a gh-pages branch... GitHub expects this branch to exist to publish a project website from it. | |
| git checkout --orphan gh-pages | |
| git reset --hard | |
| git commit --allow-empty -m "Initializing gh-pages branch" | |
| git push origin gh-pages | |
| git checkout master | |
| # Define a directory where the static website files will reside | |
| WEBSITE_DIR=target |
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
| /** | |
| Inspired by https://4zm.org/2024/12/25/a-simple-elf.html | |
| Found MacOS syscall code by luck on https://stackoverflow.com/questions/47834513/64-bit-syscall-documentation-for-macos-assembly | |
| ASM register explanations: https://www.tutorialspoint.com/assembly_programming/assembly_registers.htm | |
| Compile this with: "dmd -betterC -ofhello hello.d" | |
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
| import 'dart:convert'; | |
| import 'dart:io'; | |
| import 'dart:typed_data'; | |
| const arHeaderLength = 60; | |
| class ArHeader { | |
| /// File name. | |
| final String file; |
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 app; | |
| import javafx.application.Application; | |
| import javafx.geometry.Insets; | |
| import javafx.scene.Node; | |
| import javafx.scene.Parent; | |
| import javafx.scene.Scene; | |
| import javafx.scene.control.Button; | |
| import javafx.scene.control.Label; | |
| import javafx.scene.control.SplitPane; |
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
| -- make a window structure from a list of items. | |
| -- the structure arranges items in groups of 2, with only | |
| -- the last element left alone (so it can be paired with the next). | |
| makeWindow : (a -> a ->{g} a) -> Optional a -> [a] ->{g} [a] | |
| makeWindow op prev = cases | |
| [item] -> match prev with | |
| Some p -> [op p item, item] | |
| None -> [item] | |
| item +: tail -> |
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
| // add this to buildSrc/src/main/groovy/foo/MyFunctions.groovy | |
| package foo | |
| class MyFunctions { | |
| static String hello() { 'hello' } | |
| } |
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
| [Shortcuts] | |
| Next Editing Line=Ctrl+Shift+E | |
| Previous Editing Line=Ctrl+E | |
| add_bom=none | |
| backspace=Backspace; Shift+Backspace | |
| beginning_of_document=Ctrl+Home | |
| beginning_of_line=Meta+A; Ctrl+Num+Left | |
| bookmarks_clear=none | |
| bookmarks_next=Alt+PgDown | |
| bookmarks_previous=Alt+PgUp |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| ------------------ | |
| 1009 _D3std10functional__T6safeOpVAyaa1_3cZ__TQuTmTiZQBbFNaNbNiNfKmKiZb | |
| _D3std10functional__T6safeOpVAyaa1_3cZ__T8unsafeOpTmTiZQoFNaNbNiNfmiZb 1009 946 946 | |
| ------------------ | |
| 52214 _D3std10functional__T6safeOpVAyaa1_3cZ__TQuTyiTmZQBcFNaNbNiNfKyiKmZb | |
| _D3std10functional__T6safeOpVAyaa1_3cZ__T8unsafeOpTyiTmZQpFNaNbNiNfyimZb 52214 6329 6329 | |
| ------------------ | |
| 1009 _D3std9algorithm10comparison__T3maxTmTiZQjFNaNbNiNfmiZm | |
| _D3std10functional__T6safeOpVAyaa1_3cZ__TQuTmTiZQBbFNaNbNiNfKmKiZb 1009 2184 1238 | |
| 1009 _D3std10functional__T6safeOpVAyaa1_3cZ__T8unsafeOpTmTiZQoFNaNbNiNfmiZb |
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 groovy | |
| import org.eclipse.jetty.server.Server | |
| import org.eclipse.jetty.servlet.* | |
| import groovy.servlet.* | |
| @Grab(group='org.eclipse.jetty.aggregate', module='jetty-all', version='7.6.15.v20140411') | |
| def startJetty() { | |
| def server = new Server(8080) |
NewerOlder