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
| \begin{array}{l} | |
| \phantom{ | |
| {5\smash{)}} | |
| }{ | |
| 047.9 | |
| } \\ | |
| {5}\overline{\smash{)}239.5} \\ | |
| \phantom{{5\smash{)}}}\underline{0} \\ | |
| \phantom{{5\smash{)}}}23 \\ | |
| \phantom{{5\smash{)}}}\underline{20} \\ |
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 com.mycompany.test; | |
| import java.awt.Color; | |
| import java.awt.Rectangle; | |
| import java.awt.geom.Arc2D; | |
| import java.io.IOException; | |
| import java.io.OutputStreamWriter; | |
| import java.io.Writer; | |
| import java.nio.file.Files; | |
| import java.nio.file.Path; |
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
| digraph G { | |
| a -> b[headlabel="head", taillabel="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
| // Easy doesn't mean fast. See immutable-js docs for how to implement hashCode | |
| // and equals (see ValueObject -- you just add in the methods to your | |
| // class/object, no TS interfaces to implement). | |
| import { MD5 } from 'object-hash'; | |
| import deepEqual from 'deep-equal'; | |
| const o1 = { | |
| a: 'hi', | |
| b: 4, |
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
| <span style="position: fixed; top: 0; right: 0; border: 0; background-color:red">hello world</span> | |
| <div>fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff</div> | |
| hi<br> | |
| hi<br> | |
| hi<br> | |
| hi<br> | |
| hi<br> | |
| hi<br> | |
| hi<br> | |
| hi<br> |
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
| module.exports = function(md, options) { | |
| const blockIdMap = options.blockIdMap; | |
| const inlineIdMap = options.inlineIdMap; | |
| const oldFenceRule = md.renderer.rules.fence; | |
| const oldInlineCodeRule = md.renderer.rules.code_inline; | |
| md.renderer.rules.fence = function(tokens, idx, options, env, self) { | |
| const token = tokens[idx]; | |
| const infoMatch = token.info.match(/^\s*\{([A-Za-z0-9]*)\}\s*/); |
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
| var MarkdownIt = require("markdown-it"); | |
| var md = new MarkdownIt('commonmark'); | |
| // Add custom INLINE rule that pulls in anything wrapped in a ::: <TEXT> ::: and wrap in a span tag | |
| function custom_inline(state, silent) { | |
| let pos = state.pos; |
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
| -- Imagine the following table... | |
| -- -------------------- | |
| -- |ID|NAME|VAL | | |
| -- |==|====|============| | |
| -- |A |KEY1|1.0000000000| | |
| -- |A |KEY2|2.0000000000| | |
| -- |B |KEY1|3.0000000000| | |
| -- |B |KEY2|4.0000000000| | |
| -- |B |KEY3|5.0000000000| | |
| -- |C |KEY1|6.0000000000| |
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 java.io.FileInputStream; | |
| import static java.util.Arrays.asList; | |
| import org.objectweb.asm.ClassReader; | |
| import org.objectweb.asm.tree.AbstractInsnNode; | |
| import org.objectweb.asm.tree.ClassNode; | |
| import org.objectweb.asm.tree.InvokeDynamicInsnNode; | |
| import org.objectweb.asm.tree.MethodNode; | |
| public class AsmInvokeDynamic { |
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 com.offbynull.rfm.ssh; | |
| import java.io.IOException; | |
| import net.schmizz.sshj.SSHClient; | |
| import net.schmizz.sshj.connection.channel.direct.Session.Command; | |
| import net.schmizz.sshj.userauth.keyprovider.KeyProvider; | |
| public final class SshjBasic { | |
| public static void main(String[] args) throws Exception { |
NewerOlder