Skip to content

Instantly share code, notes, and snippets.

// create a bookmark and use this code as the URL, you can now toggle the css on/off
// thanks+credit: https://dev.to/gajus/my-favorite-css-hack-32g3
javascript: (function() {
var domStyle = document.createElement("style");
domStyle.append(
'* { color:#0f0!important;outline:solid #f00 1px!important; background-color: rgba(255,0,0,.2) !important; }\
* * { background-color: rgba(0,255,0,.2) !important; }\
* * * { background-color: rgba(0,0,255,.2) !important; }\
* * * * { background-color: rgba(255,0,255,.2) !important; }\
* * * * * { background-color: rgba(0,255,255,.2) !important; }\
@inothilmi
inothilmi / gist:4fa5d26c80b199826bf2c48d16a30bf7
Created May 25, 2019 09:40 — forked from SelmanKahya/gist:6973863
simple example of using google dictionary word lookup. getMean() makes an ajax call to the api, then process function takes the result string and returns defination of the word as a json object.
function getMean(word){
if(word==""|| word=="Enter a word")
return;
ajax = new XMLHttpRequest();
// result callback
ajax.onreadystatechange = function(){
if(ajax.readyState==4 && ajax.status==200){
var massaged = ajax.responseText.replace(/^[^(]+\(|[^}]+$/g, ''), res;
set nocompatible " be iMproved, required
filetype off " required
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
" -----------------------------
" IMPORTANT:
" Keep Plugin commands between vundle#begin/end.
@inothilmi
inothilmi / docker-help.md
Created May 25, 2019 09:40 — forked from SelmanKahya/docker-help.md
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->