Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Emrul Zawad ehzawad

🎯
Focusing
Block or report user

Report or block ehzawad

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View temp.md

pedant peddle palpable culpable pejorative pellucid penitent penumbra penury peregrinate

View hola.md

misanthropic affable countenance loquacious meretricious equivocate augury bellicose nettle surly 😡

View .bash_profile
# Install npm packages globally without sudo on macOS
NPM_PACKAGES="${HOME}/.npm-packages"
PATH="$NPM_PACKAGES/bin:$PATH"
# Unset manpath so we can inherit from /etc/manpath via the `manpath` command
unset MANPATH # delete if you already modified MANPATH elsewhere in your config
export MANPATH="$NPM_PACKAGES/share/man:$(manpath)"
View Maybe.js
var Maybe = function(x) {
this.__value = x;
}
Maybe.of = function(x) {
return new Maybe(x)
}
Maybe.prototype.isNothing = function() {
return (this.__value === null || this.__value === undefined)
View ego.md

Ego is you.

Ego is a belief system.

I I I I I I I I I I is "EGO"

me me me me

Ego is clingy and it is self-preservation of YOU

View four.cpp
#include <stdio.h>
#define PI 3.1416
int main()
{
float A, B, C, D;
scanf("%f", &A);
scanf("%f", &B);
scanf("%f", &C);
scanf("%f", &D);
View color_data.html
<!DOCTYPE html>
<html>
<head>
<script>
document.addEventListener('DOMContentLoaded', function() {
// Have each button change the color of the heading
document.querySelectorAll('.color-change').forEach( (button) => {
button.onclick = () => document.querySelector('#hello').style.color = button.dataset.color
})
})
View colors.html
<!DOCTYPE html>
<html>
<head>
<script>
document.addEventListener('DOMContentLoaded', function() {
// Change font color to red
document.querySelector('#red').onclick = function() {
document.querySelector('#hello').style.color = 'red'
}
View hell.js
document.addEventListener('DOMContentLoaded', function() {
document.querySelector('button').onclick = count
})
let counter = 0
function count() {
counter++
document.querySelector('#counter').innerHTML = counter
View counter.html
<!DOCTYPE html>
<html>
<head>
<title>heck</title>
<script src="counter.js"></script>
</head>
<body>
<h1 id="myCounter">0</h1>
<button onClick="hellCount()">Increment</button>
</body>
You can’t perform that action at this time.