diff --git a/.htaccess b/.htaccess new file mode 100644 index 000000000..542958e63 --- /dev/null +++ b/.htaccess @@ -0,0 +1,27 @@ + + + +ExpiresActive On +#ExpiresDefault "access plus 1 seconds" +#ExpiresByType image/x-icon "access plus 600 seconds" +ExpiresByType image/jpeg "access plus 6000000 seconds" +ExpiresByType image/png "access plus 60000 seconds" +ExpiresByType image/gif "access plus 60000 seconds" +#ExpiresByType application/x-shockwave-flash "access plus 600 seconds" +ExpiresByType text/css "access plus 6000000 seconds" +ExpiresByType text/javascript "access plus 6000000 seconds" +ExpiresByType application/x-javascript "access plus 6000000 seconds" +ExpiresByType application/javascript "access plus 6000000 seconds" +#ExpiresByType text/html "access plus 600 seconds" +#ExpiresByType application/xhtml+xml "access plus 600 seconds" + + +SetOutputFilter DEFLATE + + +# Or, compress certain file types by extension: +AddOutputFilterByType DEFLATE text/css +AddOutputFilterByType DEFLATE text/javascript + +SetOutputFilter DEFLATE + diff --git a/css/style.css b/css/style.css index ea49bda65..847810438 100644 --- a/css/style.css +++ b/css/style.css @@ -1,47 +1,27 @@ -html { - font-size: 100%; - overflow-y: scroll; - -webkit-tap-highlight-color: rgba(0,0,0,0); - -ms-text-size-adjust: 100%; - -webkit-text-size-adjust: none; -} +html { font-size: 100%; overflow-y: scroll; -webkit-tap-highlight-color: rgba(0,0,0,0); -ms-text-size-adjust: 100%; -webkit-text-size-adjust: none; } body { margin: 0; font-size: 14px; line-height: 1.61; font-weight: 400; } body, button, input, select, textarea { font-family: 'Open Sans', sans-serif; color: #333; } - a { color: #12C; } a:visited { color: #61C; } a:focus { outline: thin dotted; } a:hover, a:active { color: #c00; outline: 0; } - b, strong { font-weight: bold; } pre, code { font-family: monospace, monospace; font-size: 1em; } ul, ol { margin: 1em 0; padding: 0 0 0 20px; } img { border: 0; max-width: 100%; } - body { background: #fff; } header, footer, .container { max-width: 45em; margin: 0 auto; } - header { padding: 0 0.5em; color: #C90B0B; } header img { border-radius: 40px; float: left; } header p { font-size:1.5em; font-weight: bold; padding-left: 4em;} header p span { font-size: 0.8em; font-weight: normal;} - -.hero { padding: 2em; background-color: #f8f8f8; font-size:1.2em; - border-bottom: 1px solid #ccc; - border-top: 1px solid #ccc; -} - +.hero { padding: 2em; background-color: #f8f8f8; font-size:1.2em; border-bottom: 1px solid #ccc; border-top: 1px solid #ccc; } .content { padding: 1em 1em; } .content li { list-style-type: none; font-size: 1.1em;} li img { float:left; padding-right: 1em; } li p { font-size: 0.9em; font-style: italic; } - -footer { - padding: 0 0.5em; - border-top: 1px solid #ccc; -} -footer span { float: right; font-style: italic; } - +footer { padding: 0 0.5em; border-top: 1px solid #ccc; } +footer span { float: right; font-style: italic; } /* Smartphones (portrait) */ @media only screen and (max-width: 480px) { body { font-size: 12px;} diff --git a/img/kk-profilepic.jpg b/img/kk-profilepic.jpg new file mode 100644 index 000000000..752c11156 Binary files /dev/null and b/img/kk-profilepic.jpg differ diff --git a/img/profilepic.jpg b/img/profilepic.jpg index 855172dd8..fc0409807 100644 Binary files a/img/profilepic.jpg and b/img/profilepic.jpg differ diff --git a/index.html b/index.html index c599b101b..f753355b2 100644 --- a/index.html +++ b/index.html @@ -3,58 +3,39 @@ - - - Cameron Pittman: Portfolio + + + Krishn Kant Shukla: Portfolio - - + - - -
- +

Cameron Pittman
Course Developer

+ +

Krishna Kant Shukla
Course Learner

- I love web development! This is a template for a simple portfolio. I decided to use it to showcase a few Udacity courses I've taken and some teaching work, but you can use it to showcase any kind of project that you want the world to see :)
Contact me: me@email.com + I love web development! Currently i am working as senior Software Engineer in Indiamart Intermesh Limited. Enjoying with open source technology like Perl, PHP, Oracle, Mysql, Apache, Linux, GIT, SVN.

I decided to complete "Website Performance Optimization" Udacity course on suggestion of Mr. Devendra Singh.
Contact me: + kkshukla9@gmail.com
Here i would like to say thanks to Mr. Cameron to make such kind of online course.
@@ -62,4 +43,14 @@

© Web Performance 2014

+ + + diff --git a/js/perfmatters.js b/js/perfmatters.js index 5d84e840f..55927fcbc 100644 --- a/js/perfmatters.js +++ b/js/perfmatters.js @@ -1,6 +1,3 @@ -// Measuring the Critical Rendering Path with Navigation Timing -// https://developers.google.com/web/fundamentals/performance/critical-rendering-path/measure-crp - function logCRP() { var t = window.performance.timing, dcl = t.domContentLoadedEventStart - t.domLoading, @@ -8,7 +5,4 @@ function logCRP() { var stats = document.getElementById("crp-stats"); stats.textContent = 'DCL: ' + dcl + 'ms, onload: ' + complete + 'ms'; } - -window.addEventListener("load", function(event) { - logCRP(); -}); +window.addEventListener("load", function(event) { logCRP(); }); diff --git a/portfolio-krishna-97 b/portfolio-krishna-97 new file mode 100644 index 000000000..acf076c19 --- /dev/null +++ b/portfolio-krishna-97 @@ -0,0 +1 @@ +This is my test portfolio.