Skip to content

Instantly share code, notes, and snippets.

View cooljith91112's full-sized avatar
💬
Making a Retro Game

Indrajith K L cooljith91112

💬
Making a Retro Game
View GitHub Profile
@cooljith91112
cooljith91112 / DOM3D.js
Created March 27, 2024 16:50 — forked from OrionReed/dom3d.js
3D DOM viewer, copy-paste this into your console to visualise the DOM topographically.
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks.
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/)
(() => {
const SHOW_SIDES = false; // color sides of DOM nodes?
const COLOR_SURFACE = true; // color tops of DOM nodes?
const COLOR_RANDOM = false; // randomise color?
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com)
const MAX_ROTATION = 180; // set to 360 to rotate all the way round
const THICKNESS = 20; // thickness of layers
const DISTANCE = 10000; // ¯\\_(ツ)_/¯
@cooljith91112
cooljith91112 / apache.conf
Created November 6, 2023 06:18 — forked from ankitrgadiya/apache.conf
Cgit configurations
# Apache Conf
# Mod cgi required for cgi script
<VirtualHost *:80>
ServerName locahost
# ServerAdmin webmaster@localhost
DocumentRoot "/usr/share/cgit"
<Directory "/usr/lib/cgit/">
@cooljith91112
cooljith91112 / picom.conf
Created August 10, 2023 17:27
Picom Conf
#################################
# Shadows #
#################################
# Enabled client-side shadows on windows. Note desktop windows
# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow,
# unless explicitly requested using the wintypes option.
#
# shadow = false
@cooljith91112
cooljith91112 / keybase.md
Created April 16, 2023 07:39
keybase proof

Keybase proof

I hereby claim:

  • I am cooljith91112 on github.
  • I am klias (https://keybase.io/klias) on keybase.
  • I have a public key ASDteLcEAo5_vdZfFS249QvM8VRrJjRWBqAGmMlzeztcGwo

To claim this, I am signing this object:

"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": [
"comment",
"comment.block",
"comment.block.documentation",
"comment.line",
"constant",
"constant.character",
@cooljith91112
cooljith91112 / keybase.md
Created May 23, 2021 10:32
Keybase Verification

Keybase proof

I hereby claim:

  • I am cooljith91112 on github.
  • I am klias (https://keybase.io/klias) on keybase.
  • I have a public key whose fingerprint is A4E5 744A C901 14F9 AB2F AEEE D49F 7F29 5D26 C585

To claim this, I am signing this object:

@cooljith91112
cooljith91112 / index.html
Created December 8, 2020 04:36 — forked from CodeMyUI/index.html
VHS Filter
<h1>VHS Filter</h1>
<div class="wrapper">
<img src="https://source.unsplash.com/200x200/?i" class="js-vhs-filter" />
<img src="https://source.unsplash.com/200x200/?got" class="js-vhs-filter" />
<img src="https://source.unsplash.com/200x200/?love" class="js-vhs-filter" />
<img src="https://source.unsplash.com/200x200/?for" class="js-vhs-filter" />
<img src="https://source.unsplash.com/420x200/?those" class="js-vhs-filter" />
<img src="https://source.unsplash.com/200x200/?who" class="js-vhs-filter" />
<img src="https://source.unsplash.com/200x200/?were" class="js-vhs-filter" />
<img src="https://source.unsplash.com/200x200/?born" class="js-vhs-filter" />

Indie Game Developer/Designer, trying to dive into the world of Physics, Mathematics and Astronomy. Die hard fan of Relativity Theory & anything related to numbers.

@cooljith91112
cooljith91112 / DraggableModal.js
Created June 28, 2019 11:37 — forked from burgalon/DraggableModal.js
Draggable React Bootstrap modal
import { Modal } from 'react-bootstrap'
import ModalDialog from 'react-bootstrap/lib/ModalDialog'
class DraggableModalDialog extends React.Component {
render() {
return <Draggable handle=".modal-title"><ModalDialog {...this.props} /></Draggable>
}
}
// enforceForce=false causes recursion exception otherwise....