Skip to content

Instantly share code, notes, and snippets.

View Jayprecode's full-sized avatar
:atom:
Cooking

Ιερεμίας Jayprecode

:atom:
Cooking
View GitHub Profile
@n1snt
n1snt / Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md
Last active July 19, 2024 07:00
Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md

Oh my zsh.

Oh My Zsh

Install ZSH.

sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh

Install Oh my ZSH.

@JoeyBurzynski
JoeyBurzynski / 55-bytes-of-css.md
Last active July 11, 2024 21:37
58 bytes of css to look great nearly everywhere

58 bytes of CSS to look great nearly everywhere

When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:

main {
  max-width: 38rem;
  padding: 2rem;
  margin: auto;
}
@paulkoerbitz
paulkoerbitz / fiddle.ts
Last active December 12, 2023 15:03
Trying to use React.js with TypeScript and the definitions from definitely typed
/// <reference path="react-0.13.0.d.ts"/>
import React = require('react');
var RD = React.DOM;
enum ElementType { A, B, C }
interface NameTypeI {name: string; type: ElementType;}
interface CallbackI { newNode: (x: NameTypeI) => void; }
class NewNode extends React.Component<CallbackI,{},{}> {
constructor(props: CallbackI, context: {}) {