Skip to content

Instantly share code, notes, and snippets.

View dgharami's full-sized avatar
🎯
Focusing

Debasish Gharami dgharami

🎯
Focusing
View GitHub Profile
@dgharami
dgharami / dabblet.css
Created September 23, 2019 05:49
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f00;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
@dgharami
dgharami / sketch-never-ending.md
Created June 25, 2019 15:27 — forked from Bhavdip/sketch-never-ending.md
Modify Sketch to never ending trial

###Sketch trial non stop

Open hosts files:

$ open /private/etc/hosts

Edit the file adding:

127.0.0.1 backend.bohemiancoding.com

127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com

@dgharami
dgharami / get_css.js
Created June 21, 2019 15:31 — forked from carymrobbins/get_css.js
Get all CSS attributes for an element.
var getCss = function(el) {
var style = window.getComputedStyle(el);
return Object.keys(style).reduce(function(acc, k) {
var name = style[k],
value = style.getPropertyValue(name);
if (value !== null) {
acc[name] = value;
}
return acc;
}, {});
@dgharami
dgharami / webadmin.php
Created October 10, 2017 14:16
webadmin.php is a simple Web-based file manager.
<?php
// source: http://cker.name/webadmin/
/*
* webadmin.php - a simple Web-based file manager
* Copyright (C) 2004-2011 Daniel Wacker [daniel dot wacker at web dot de]
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.