Skip to content

Instantly share code, notes, and snippets.

Working from home

Plamen Mitev o0pmitev

Working from home
Block or report user

Report or block o0pmitev

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 gist:e2afdf2b43f3a083d925c59b130035d9
puts "Say something "
text = gets.chomp
puts "Words you want to redact ?"
redact = gets.chomp
words = text.split(" ")
words.each do |w|
if w == redact
View bmiCalculator.js
// bmiCalculator
console.log("Calcilate your Body Mass Index(BMI)");
let weightKg = 67;
let heightCm = 177;
//bmi calculation
const bmi = weightKg/((heightCm/100)*(heightCm/100));
o0pmitev / i3wm_config
Last active Nov 29, 2018
View i3wm_config
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
# i3 config file (v4)
# Please see for a complete reference!
View BMI Calculator.rb
puts "Calculate Your Body Mass Index (BMI)"
puts "************************************"
puts "What is your name ?"
name = gets.chomp
if name ==""
puts "Hello Stranger!"
puts "Hello #{name}"
View index.html
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="ie-edge">
<link rel="stylesheet" href="css/styles.css">
<link rel="stylesheet" href="|Oswald|Orbitron|Permanent+Marker">
<link rel="stylesheet" href="" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
View blog.css
margin: 0;
padding: 0;
body {
font-family: "#";
font-size: 14pt;
background-color: #efefef;
padding: 10px;
o0pmitev / calculator.css
Last active Nov 7, 2018
Optional Project: Calculator
View calculator.css
.calculator {
color: green;
width: 320px;
display: flex;
margin-top: 10px;
padding-top: 10px;
margin-left: 100px;
padding-left: 30px;
padding-bottom: 10px;
background-color: coral;
o0pmitev / index.html
Last active Nov 29, 2018
Responsive Website: Portfolio
View index.html
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<link rel="stylesheet" href="|Oswald|Orbitron|KoHo|Cute+Font">
<title>Plamen Mitev`s page</title>
You can’t perform that action at this time.