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
(let [text-area (RSyntaxTextArea.)] | |
(config! text-area | |
:wrap-lines? true | |
:syntax-editing-style SyntaxConstants/SYNTAX_STYLE_CLOJURE ;It's RSyntaxTextArea property, not JTextArea | |
)) |
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
(ns test.core | |
(:use seesaw.core) | |
(:require | |
[seesaw.rsyntax :as r])) | |
(defn -main [& args] | |
(invoke-later | |
(-> (frame | |
:title "Hello", |
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
console.log(0); |
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
function stringify(v){return v==0||!!v?v+'':''} |
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
function stringify(v){return!!v|0==v?v+'':''} |
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
function stringify(v){return!v&0!=v?'':v+''} |
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
#2E3436 | |
#F3F3F3 |
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
/* new versions: https://github.com/alhimik45/dark-vkontakte-style */ | |
@-moz-document regexp("https?://new\.vk\.com(?!(/stats)).*") { | |
#pv_box, .pv_reply_form_wrap, .narrow_column, .im-page--history-new-bar, .feed_row, .post, .profile_info_header_wrap > *, .ui_search, #stl_bg, .ui_tabs_header, #wk_box, .wk_history_tabs, .web_cam_photo, .photos_choose_upload_area, .im-page--history-new-bar > span, .page_media_thumbed_link, .mention_tt_actions, .mv_controls, .feedback_row_answer, .feedback_row_clickable:hover:not(.feedback_row_touched), .im-mess.im-mess_gift, .eltt, .wall_module .reply, * [class*="_header"] { | |
background: none !important; } | |
.page_block, .page_media_poll_wrap { | |
background-color: transparent !important; } | |
.flat_button, .module_header, * [class*="box_title"] { | |
background-color: rgba(66, 66, 66, 0.5) !important; } |
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
/** | |
* A class to parse color values | |
* @author Stoyan Stefanov <sstoo@gmail.com> | |
* @link http://www.phpied.com/rgb-color-parser-in-javascript/ | |
* @license Use it if you like it | |
*/ | |
function RGBColor(color_string) | |
{ | |
this.ok = false; |
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 gulp = require("gulp"); | |
var browserify = require("browserify"); | |
var source = require("vinyl-source-stream"); | |
gulp.task('js', function () { | |
return browserify({ | |
entries: './src/ts/index.ts' | |
}).plugin('tsify') | |
.bundle() | |
.pipe(source('app.js')) |
OlderNewer