Skip to content

Instantly share code, notes, and snippets.

View dotiful's full-sized avatar
🏠
Working from home

Art Dev dotiful

🏠
Working from home
View GitHub Profile
@dotiful
dotiful / keybase.md
Created July 29, 2020 21:13
keybase.md

Keybase proof

I hereby claim:

  • I am dotiful on github.
  • I am dotiful (https://keybase.io/dotiful) on keybase.
  • I have a public key whose fingerprint is 0345 3FBE 978E E76F 65D9 1C04 7B75 0EA3 A540 299F

To claim this, I am signing this object:

@dotiful
dotiful / boxstarter.ps1
Last active January 21, 2020 09:56
Boxstarter & Chocolatey Installs
<#
The command to run, built from the raw link of this gist
Win+R
iexplore http://boxstarter.org/package/url?
OR (if you don't like the way the web launcher force re-installs everything)
Create another script like the following to install and run the gist:
@dotiful
dotiful / README.md
Last active September 14, 2023 12:32
Nested collapsible Markdown list

Collapsible markdown with <details>

<details>
 <summary>Details</summary>
 hidden, collapsable content...
</details>

Demo:

/* Extracted from github.com */
body {
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
line-height: 1.5;
color: #b8bfc6;
/* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; */
font-style: normal;
line-height: 1.625rem;
@dotiful
dotiful / .sVim.css
Last active April 20, 2019 20:51
sVim styles
/* _
___/\ /(_)_ __ ___ ___ ___ ___
/ __\ \ / / | '_ ` _ \ / __/ __/ __|
\__ \\ V /| | | | | | | (__\__ \__ \
|___/ \_/ |_|_| |_| |_|\___|___/___/
@author : Artem Medvedev
@link : https://gist.github.com/dotiful/b2b2e0344fe4ea3ff9a0cdc7bad5a51f
@description : Safari extension with shortcuts similar to Vim
@dotiful
dotiful / .vimrc
Last active April 20, 2019 20:51
sVim settings
"" _
" ___/\ /(_)_ __ ___ _ __ ___
" / __\ \ / / | '_ ` _ \| '__/ __|
" \__ \\ V /| | | | | | | | | (__
" |___/ \_/ |_|_| |_| |_|_| \___|
"
" @author : Artem Medvedev
" @link : https://gist.github.com/dotiful/e851b4cb2d9f557b1611b72f59fbf48f
" @description : Safari extension with shortcuts similar to Vim
"
@dotiful
dotiful / surfingkeys-config.js
Last active April 10, 2020 20:45
Surfingkeys config. Map your keys for web surfing, expand your browser with javascript and keyboard https://addons.mozilla.org/en-US/firefox/addon/surfingkeys_ff/?src=search
/**
* Surfingkeys config.
*
* An extension that adds Vim-like bindings to your browser in order to extend
* it using JavaScript and a keyboard.
*
* @link https://git.io/surfingkeys
* @author Artem Medvedev <dotiful@gmail.com>
*
* Created at : 2019-01-15
@dotiful
dotiful / dns
Last active February 2, 2019 19:34
Testing DNS Speeds
#!/usr/bin/env bash
for domain in twitter.com tosbourn.com i.ua; do \
google_dns=$(dig @8.8.8.8 ${domain} | awk '/msec/{print $4}')
cloudflare_dns=$(dig @1.1.1.1 ${domain} | awk '/msec/{print $4}')
open_dns=$(dig @208.67.222.222 ${domain} | awk '/msec/{print $4}')
printf "${domain}\tCloudFlare DNS ${cloudflare_dns}ms\tGoogle DNS ${google_dns}ms\tOpenDNS ${open_dns}ms\n"
done