Skip to content

Instantly share code, notes, and snippets.

View DoviMaj's full-sized avatar

Dovid Majowka DoviMaj

View GitHub Profile
#!/usr/bin/env bash
funnyCommit() {
commitMessage=$(echo $(curl --silent --fail whatthecommit.com/index.txt))
echo "Your Commit Message is -> ${commitMessage}"
echo "Do you wish to procced with this commit message 😅 (y/n/o = other)?"
old_stty_cfg=$(stty -g)
stty raw -echo ; answer=$(head -c 1) ; stty $old_stty_cfg
if echo "$answer" | grep -iq "^y" ;then
git add -A && git commit -m "${commitMessage}"
<!DOCTYPE html>
<html>
<head>
<title>Practical JS</title>
</head>
<body>
<script>
let todosList = {
todos: [],
import React, {Component} from "react"
import "./style.css"
export default class MemeGenarator extends Component {
constructor(){
super()
this.state = {
data: [],
topText: "",
bottomText: "",