Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing on React and WordPress

Muhammad Muhsin m-muhsin

🎯
Focusing on React and WordPress
Block or report user

Report or block m-muhsin

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 Calculator.vue
<template>
<div class="container">
<h1>{{ msg }}</h1>
<div class="calculator">
<div class="display">
{{ display }}
</div>
<div class="buttons">
<div class="one">
<button class="delete" @click="del()">DEL</button>
@m-muhsin
m-muhsin / index.html
Last active Nov 1, 2016
A meat JS Promises example
View index.html
<!DOCTYPE html>
<html>
<head>
<title>JS Promises</title>
<meta charset="UTF-8">
</head>
<body style="padding: 20px;">
I want
<input type="text" name="count" id="count">
@m-muhsin
m-muhsin / AdjustRGB.ino
Created Jan 1, 2016
This sketch is a follow up to my last one 'AdjustBrightness'
View AdjustRGB.ino
/*
Adjust RGB - Choose exactly what colour you want!
This sketch is a follow up to my last one 'AdjustBrightness'
The code receives the analog sensor value of the potentiometer from analog pin 0,
maps it from a range of 0 - 511 and uses this value choose what colour to light up.
created 26 Dec 2015
by Muhammad Muhsin
@m-muhsin
m-muhsin / AdjustBrightness.ino
Last active Dec 26, 2015
Works like the light dimmer at you home!
View AdjustBrightness.ino
/*
Adjust Brightness - Works just like the light dimmer at you home!
A little sketch I came up with after going through a couple of examples.
This code receives the analog sensor value of the potentiometer from analog pin 0
and uses this value to set the brightness of the output of pin 9.
Based on the following example projects:
Read Analog Voltage - https://www.arduino.cc/en/Tutorial/ReadAnalogVoltage
Fade - https://www.arduino.cc/en/Tutorial/Fade
You can’t perform that action at this time.