From 42a4c2cc290494c8842d09c41f4c66b47568f854 Mon Sep 17 00:00:00 2001 From: Sameer Rahmani Date: Fri, 29 Mar 2019 09:23:09 +0000 Subject: [PATCH] code of honor has been added --- assets/styles/web.sass | 10 ++++++++- coh.md | 47 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 coh.md diff --git a/assets/styles/web.sass b/assets/styles/web.sass index 94aefb5..f641020 100644 --- a/assets/styles/web.sass +++ b/assets/styles/web.sass @@ -19,6 +19,12 @@ $background: $white-ter $primary: $purple +html + height: 100% + +body + height: 100% + html.light background: $background $background: $white-ter @@ -90,8 +96,10 @@ body.dark li margin-left: 1em a - color: $white + color: lighten($purple, 40%) font-weight: 700 + &:hover + text-decoration: underline font-size: 1.3rem line-height: 2rem diff --git a/coh.md b/coh.md new file mode 100644 index 0000000..307c8e1 --- /dev/null +++ b/coh.md @@ -0,0 +1,47 @@ +--- +layout: page +theme: dark +title: Code Of Honor +permalink: /code-of-honor/ +--- + +I always try live by my code of honor. A man is nothing without his honor. A sin is to betray what you believe. + +## Honorable life +* Don't betray your code of honor. +* Defend your bushido way. +* Live life as a Honorable Man. +* Don't talk without a knowledge to support it. +* "Don't argue with the crazy the crazy guy". +* Always follow your sense of Justice +* Feel the pain of others. +* Always put your self in people's shoe before making any decision. +* A simple smile goes a long way. +* There's no honor in winning by cheating. +* "If you falldown 7 times make sure to get up 8 times." +* Protect your promises. +* "For a samurai everywhere is Japan." + +## Programming +* Simplicity over Complexity +* Simple first, then Easy +* Abstraction, Abstraction, Abstraction +* Put your conventions layer on top of a well written abstraction +* Always choose a name for your variables which implies the variable content or usage. +* Never ever use variable names such as x, a, b, etc. +* Bugs before new features +* Docs before new features + +### New Feature Checklist +* Is it easy to extend the feature ? +* Is it scalable ? +* Is it easy to maintan ? +* Is it well documented ? +* Does it have the best possible performance ? +* What about tests ? +* Is it following the correct coding style ? + + +## Contribute to the Code Of Honor +If you found these codes useful and like to share your values with me, you're welcome to create a PR +on [the repository](https://gitlab.com/lxsameer/lxhome).