Skip to content

Instantly share code, notes, and snippets.

View Crable75's full-sized avatar

Volodymyr Ishchuk Crable75

View GitHub Profile

This is a list of tweaks to make IntelliJ IDEA work better with OpenJDK 8. Refer to System Properties for Java 2D Technology for the details of the options used below.

Note that the performance boost achieved via the OpenGL-based hardware acceleration pipeline is made possible by using the open-source Radeon driver (for AMD graphics cards) included in the latest stable version (10.3.3 as of now) of the Mesa 3D Graphics Library available in the official Fedora 21 stable repository. Therefore, the gained performance boost might vary based on the types of graphics cards and the versions of the drivers used in your system.

  1. Fixing Text Anti-aliasing in Fedora (Ubuntu users may skip this step.)
  2. Fixing text anti-aliasing in IntelliJ IDEA

In $IDEA_HOME/bin/idea64.vmoptions (or $IDEA_HOME/bin/idea.vmoptions on a x86 architecture), change

@Crable75
Crable75 / ContextCmder-Disable.reg
Created October 10, 2020 09:30 — forked from jojobyte/ContextCmder-Disable.reg
Cmder Context (Right-Click) Menu for Windows 7, 8 & 10
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder]
[-HKEY_CLASSES_ROOT\Directory\shell\Cmder]
@Crable75
Crable75 / .csscomb.json
Created April 28, 2019 10:34
VS Code csscomb config
{
"always-semicolon": true,
"block-indent": " ",
"color-case": "lower",
"color-shorthand": true,
"element-case": "lower",
"eof-newline": true,
"leading-zero": false,
"quotes": "double",
"remove-empty-rulesets": false,
@Crable75
Crable75 / checkbox.css
Last active January 12, 2018 07:03
CHECKBOX
.checkbox__label {
position: relative;
display: block;
width: 25px;
height: 25px;
border: 1px solid #a6a6a6;
border-radius: 3px;
cursor: pointer;
@Crable75
Crable75 / switch_male-female.css
Last active January 12, 2018 07:04
SWITCH_MALE-FEMALE
/*http://designbump.com/css3-toggle-switches-tutorial/*/
.switch__label {
position: relative;
display: inline-block;
width: 75px;
height: 22px;
vertical-align: top;
@Crable75
Crable75 / CSScomb sorting config
Last active January 12, 2018 07:06
CSScomb sorting config
{
// If plugin has trouble finding Node.js, replace this string with path
// to your `node` bin
"node-path" : ":/usr/local/bin",
// Full list of supported options and acceptable values can be found here:
// https://github.com/csscomb/csscomb.js/blob/master/doc/options.md
"config": {
// Whether to add a semicolon after the last value/mixin.
@Crable75
Crable75 / 2_colored_btn.css
Last active January 12, 2018 07:09
btn: 2 colored button css
.trailer__plus {
position: absolute;
left: 0;
width: 30px;
font-family: 'latobold';
font-size: 21px;
text-align: center;
@Crable75
Crable75 / _triangle.css
Created December 10, 2017 17:50
img_triangle-css
.triangle {
display: block;
width: 0;
height: 0;
border-style: solid;
border-width: 0 50px 50px 0;
border-color: transparent #fff transparent transparent;
position: absolute;
top: 462px;
left: 0;
@Crable75
Crable75 / retina-img-src.html
Last active December 6, 2017 18:37
retina img src change
<picture>
<source //desktop
type="image/webp"
media="(min-width: 960px)"
srcset="img/desktop-large.webp 2x,
img/desktop-small.webp 1x">
<source
media="(min-width: 960px)"
srcset="img/desktop-large.jpg 2x,
img/desktop-small.jpg 1x">
@Crable75
Crable75 / index.php
Last active January 12, 2018 07:11
Send Email Form
<?php
if(isset($_POST['contacts']) or isset($_POST['submit30']) or isset($_POST['submit60']) or isset($_POST['submit120']))
{
$to = "[email protected], [email protected]";
$first_name = $_POST['first_name'];
$phone_number = $_POST['phone_number'];
$e_mail = $_POST['e_mail'];
$user_subject = $_POST['user_subject'];