Skip to content

Instantly share code, notes, and snippets.

@MrCoder
MrCoder / CSS_Examples.css
Last active June 25, 2018 12:51
CSS example for Web Sequence Chrome Extension (Get the extension from https://chrome.google.com/webstore/detail/web-sequence/kcpganeflmhffnlofpdmcjklmdpbbmef?ref=gist)
div.occurrence {
background: yellowgreen;
}
div.message .name[data-v-7d81ead6],
div.message .name[data-v-56970371],
.message .name[data-v-72ecb252]{
font-size: 13px;
}
@MrCoder
MrCoder / zenuml.dsl
Created October 22, 2017 10:14
Code snippet created with Chrome extension 'Web Sequence'. To see the sequence diagram, paste the following code into the editor at www.zenuml.com or download the extension at http://bit.ly/web-sequence-ws.
A.method() {
B.methodB()
}
@MrCoder
MrCoder / web-sequence.dsl
Created October 22, 2017 07:48 — forked from anonymous/web-sequence.dsl
Code snippet created with Chrome extension 'Web Sequence'. To see the sequence diagram, paste the following code into the editor at www.zenuml.com or download the extension at http://bit.ly/web-sequence-ws.
A.method() {
B.methodB()
}
@MrCoder
MrCoder / restful-web-service.java
Created September 25, 2017 11:52
Example for www.zenuml.com. RESTful Web service
RestfulController.getBook(ID) {
Service.getBook(ID) {
Repository.getBookById(ID)
}
}
@MrCoder
MrCoder / package-library-with-webpack.js
Last active August 30, 2017 11:35
Package sequence parser for http://www.zenuml.com .
var path = require('path')
var JavaScriptObfuscator = require('webpack-obfuscator')
function resolve (dir) {
return path.join(__dirname, '..', dir)
}
module.exports = {
entry: {
//Relative to the directory where the command is running (not where this configure is)
@MrCoder
MrCoder / dabblet.css
Created June 19, 2017 01:21 — forked from anonymous/dabblet.css
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
private static final String someLangSourceCode =
"class SomeClass {\n"+
" fun1 {\n"+
" instruction11\n"+
" instruction12\n"+
" }\n"+
" fun2 {\n"+
" instruction21\n"+
" instruction22\n"+
" }\n"+

DevFreeBooks

@MrCoder
MrCoder / 0_reuse_code.js
Created April 18, 2017 06:36
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console