Skip to content

Instantly share code, notes, and snippets.

View ddffx's full-sized avatar

Deb Das ddffx

View GitHub Profile
@ddffx
ddffx / enable-design-mode-chrome.md
Last active July 16, 2020 23:10
Turn on design mode on Google Chrome to enable webpage editing
  1. Open Chrome, open any webpage
  2. Right click on the page and select Inspect from the Context menu to open the Developer Console
  3. Go to Console tab and type:
document.designMode = 'on'
  1. Start editing the page by clicking anywhere

Keybase proof

I hereby claim:

  • I am ddffx on github.
  • I am ddffx (https://keybase.io/ddffx) on keybase.
  • I have a public key whose fingerprint is 8AC3 64A3 FB88 01D2 09A3 1A76 AF06 7FD0 2FE0 87FD

To claim this, I am signing this object:

Verifying my Blockstack ID is secured with the address 14Yp4f82YZAAHmrJLTQDAwgCXirkDNjcph https://explorer.blockstack.org/address/14Yp4f82YZAAHmrJLTQDAwgCXirkDNjcph

Keybase proof

I hereby claim:

  • I am ddffx on github.
  • I am ddffx (https://keybase.io/ddffx) on keybase.
  • I have a public key whose fingerprint is 326D 9DED EEC2 383F F867 030F 7C64 CEA9 7F5D 2849

To claim this, I am signing this object:

@ddffx
ddffx / gc-foobar-l1-pld.py
Created September 4, 2017 03:36
gc-foobar-l1-pld created by ddffx - https://repl.it/KeDO/0
def answer(x, y):
return (set(x).symmetric_difference(y)).pop()
a = [1,2,3,4];
b= [1,2,3,6,4];
print(answer(b,a));

Keybase proof

I hereby claim:

  • I am ddffx on github.
  • I am ddffx (https://keybase.io/ddffx) on keybase.
  • I have a public key whose fingerprint is C69D 46BF B460 540D DFB7 B72F 20C7 95CF 5D92 0A70

To claim this, I am signing this object:

/* lazyload.js (c) Lorenzo Giuliani
* MIT License (http://www.opensource.org/licenses/mit-license.html)
*
* expects a list of:
* `<img src="blank.gif" data-src="my_image.png" width="600" height="400" class="lazy">`
With RequestAnimationFrame
Polyfill Available here:
*/
!function(window){
/* lazyload.js (c) Lorenzo Giuliani
* MIT License (http://www.opensource.org/licenses/mit-license.html)
*
* expects a list of:
* `<img src="blank.gif" data-src="my_image.png" width="600" height="400" class="lazy">`
With RequestAnimationFrame
Polyfill Available here:
*/
!function(window){
@ddffx
ddffx / dabblet.css
Created February 22, 2013 22:10
Text Shadow
/**
* Text Shadow
*/
.shadow{
color: #fff;
font-size:32pt;
text-shadow:0 1px 0 rgba(0,0,0, 0.3)
}
@ddffx
ddffx / dabblet.css
Created February 22, 2013 22:10
NO Wrap
/**
* NO Wrap
*/
.shadow{
color: #fff;
font-size:32pt;
text-shadow:0 1px 0 rgba(0,0,0, 0.3)
}