Skip to content

Instantly share code, notes, and snippets.

{
"editor.autoClosingBrackets": "always",
"editor.fontSize": 12,
"editor.formatOnSave": true,
"editor.lineNumbers": "relative",
"editor.minimap.enabled": false,
"editor.rulers": [120],
"editor.tabSize": 2,
"explorer.autoReveal": true,
"files.trimTrailingWhitespace": true,
@ECHO OFF
::----------------------------------------------------------------------
:: CLion startup script.
::----------------------------------------------------------------------
:: ---------------------------------------------------------------------
:: Ensure IDE_HOME points to the directory where the IDE is installed.
:: ---------------------------------------------------------------------
SET IDE_BIN_DIR=%~dp0
@ksrb
ksrb / getTaskList.js
Last active April 20, 2017 16:17
Jira task list bookmarklet
javascript:(function() {
var tasks = '';
$('.ghx-swimlane:not(:nth-last-child(2))').each(function(i, elem) {
var taskTitle = $(elem).find('.ghx-parent-key').text() + ' ';
tasks += taskTitle;
var taskSummary = $(elem).find('.ghx-heading .ghx-summary').text();
if (taskSummary.substring(0, 7) === 'Flagged') {
tasks += taskSummary.substring(7, taskSummary.length) + '\n';
} else {
tasks += taskSummary + '\n';
@ksrb
ksrb / index.ejs
Last active March 10, 2021 05:58
jquery.inputmask webpack configuration and package.json
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title><%= htmlWebpackPlugin.options.title %></title>
</head>
<body>
<input id="float"/>
</body>
</html>
import java.util.logging.Logger;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.query.client.Function;
import com.google.gwt.query.client.Promise;
import com.google.gwt.query.client.plugins.deferred.PromiseFunction;
import com.google.gwt.user.client.Timer;
public class GWTQueryTest implements EntryPoint {
private final Logger log = Logger.getLogger("GWTQueryTest");