Skip to content

Instantly share code, notes, and snippets.

View devgru's full-sized avatar

Dima Semyushkin devgru

View GitHub Profile
@devgru
devgru / .block
Last active November 1, 2023 13:41
Heatmap of git commits - nest & local
license: mit
@devgru
devgru / apps.json
Created May 30, 2023 09:48
example karabiner app runner, put into .config/karabiner/assets/complex_modifications/
{
"title": "Run apps",
"rules": [
{
"description": "Run Safari",
"manipulators": [
{
"from": {
"key_code": "left_command",
"modifiers": {
@devgru
devgru / canvas.js
Last active January 4, 2021 16:42
High DPI Canvas (Retina support)
var width = 500,
height = 70,
font = '18px serif'
function getRetinaRatio() {
var devicePixelRatio = window.devicePixelRatio || 1
var c = document.createElement('canvas').getContext('2d')
var backingStoreRatio = [
c.webkitBackingStorePixelRatio,
c.mozBackingStorePixelRatio,
@devgru
devgru / .gitignore
Last active November 14, 2019 01:29
RGB, HSL and LAB color spaces
.idea
bower_components
@devgru
devgru / .block
Last active October 27, 2019 19:18
Heatmap
license: mit
@devgru
devgru / .block
Created March 27, 2018 13:06 — forked from mbostock/.block
Brush Handles
license: gpl-3.0
@devgru
devgru / .block
Last active October 23, 2019 20:16 — forked from mbostock/.block
Solar Path
license: gpl-3.0
@devgru
devgru / .block
Created March 27, 2018 07:44 — forked from mbostock/.block
Gradient Encoding
license: gpl-3.0
@devgru
devgru / .block
Created March 25, 2018 10:02
Pharmacies Viz
license: mit
@devgru
devgru / keybase.md
Created March 22, 2018 11:38
keybase.md

Keybase proof

I hereby claim:

  • I am devgru on github.
  • I am devgru (https://keybase.io/devgru) on keybase.
  • I have a public key whose fingerprint is CAAA 4087 855D AB51 327E 9372 9804 3402 64BA EDD9

To claim this, I am signing this object: