Skip to content

Instantly share code, notes, and snippets.

View brajeshwar's full-sized avatar

Brajeshwar brajeshwar

View GitHub Profile
I got a CV today with the text below;
More (Around 600 sites already Designed) I have 7+ year of experience in Web Development, Designing & SEO, I am expert in PHP-MYSQL,ASP, .NET, VB, Java, MS- Front Page , Dream weaver Mx , HTML , DHTML, XHTML, XML, ASP , JavaScript , Action Script, VB Script. DREAMWEAVER, FLASH, PHOTOSHOP, CSS, AJAX, ACTIONSCRIPT Adobe Photoshop 7.0, Image Ready 7.0, Jasc Animation Shop 7.0, Adobe Acrobat 6.0, Adobe Illustrator 10, PageMaker 7.0, Corel Draw 11, Flash Mx, Fireworks Mx, Swish V2.
I am able to handle any Web development project. I have worked with lots of US clients. I work from India I have successfully completed many US and UK projects as can be seen from my CV, And so I don't think there will be any hurdle in telecommuting. I am assuring you of 100% accuracy and desired satisfaction from my work. Moreover, regarding the meeting it can be arranged online at any time suitable to you for discussing the project.
It’s safe and secure to work with experience candidate.
1. e4 Nf6 2. e5 Nd5 3. Bc4 e6 4. d4 Nc6 5. Nf3 g6 6. Bg5 Nce7 7. Bxd5 exd5
8. Bf6 Rg8 9. Ng5 Bg7 10. Qf3 Bxf6 11. Qxf6 Rf8 12. Nxh7 Ng8 13. Nc3 Nxf6
14. Nxf6+ Ke7 15. Ncxd5+ Ke6 16. c4 c6 17. Nf4+ Kf5 18. g3 d6 19. O-O-O dxe5
20. dxe5 Qe7 21. Rhe1 Be6 22. f3 Bxc4 23. h4 Rad8 24. g4+ Kxf4 25. Re4+ Kg3
26. Rg1+ Kf2 27. Ree1 Bb5 28. Ne4+ Kxf3 29. Ng5+ Kf4 30. Re4# 1-0
// CSS Code
#data {
float: left;
margin-left: 10px;
}
#data th {
text-align: center;
font-weight: bold;
}
@brajeshwar
brajeshwar / SublimeVideo Autoplay
Created March 21, 2011 02:54
How to autoplay video using SublimeVideo
<script type="text/javascript" src="script-source-to-your-sublimevideo-code"></script>
<script type="text/javascript">
sublimevideo.ready(function(){
sublimevideo.prepareAndPlay("MyVideo"); // "MyVideo" is the ID on the Video Element
});
</script>
@brajeshwar
brajeshwar / wordpress-post-thumbnail-or-first-image-or-default.php
Created September 9, 2011 10:23
Wordpress - Get the Image from Post Thumbnail or the First Image of a post or else use a default Image.
/*
* Display Image from the_post_thumbnail or the first image of a post else display a default Image
* Chose the size from "thumbnail", "medium", "large", "full" or your own defined size using filters.
* USAGE: <?php echo my_image_display(); ?>
*/
function my_image_display($size = 'full') {
if (has_post_thumbnail()) {
$image_id = get_post_thumbnail_id();
$image_url = wp_get_attachment_image_src($image_id, $size);
@brajeshwar
brajeshwar / git-remote-change
Created October 29, 2011 16:05
Change Git Remote
// Remove the current remote, say, "origin"
$ git remote rm origin
// Add the new remote
$ git remote add origin [New Git Repo URL]
@brajeshwar
brajeshwar / responsive-boobs.css
Created December 29, 2011 14:35
Boob size response accordingly when viewed on different resolutions.
// Smartphones
@media (max-width: 480px) {
boob-size: 32;
boob-cup: A;
}
// Tablets and bigger landscape phones
@media (min-width: 480px) and (max-width: 768px) {
boob-size: 34;
boob-cup: B;
@brajeshwar
brajeshwar / Responsive Design Testing
Created January 27, 2012 05:43 — forked from lensco/responsive.html
Simple responsive design test page
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Responsive Design Testing</title>
<style>
body { margin: 20px; font-family: sans-serif; overflow-x: scroll; }
.wrapper { width: 6000px; }
.frame { float: left; }
h2 { margin: 0 0 5px 0; }
@brajeshwar
brajeshwar / gist:1886227
Created February 22, 2012 17:35 — forked from axelav/gist:1839777
Sublime Text 2 Shortcuts for Mac

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
@brajeshwar
brajeshwar / pagination.md
Created May 27, 2012 05:06 — forked from mislav/pagination.md
Pagination Best Practices

Pagination Best Practices

Article by Faruk Ateş

One of the most commonly overlooked and under-refined elements of a website is its pagination controls. In many cases, these are treated as an afterthought. I rarely come across a website that has decent pagination, and it always makes me wonder why so few manage to get it right. After all, I'd say that pagination is pretty easy to get right. Alas, that doesn't seem the case, so after encouragement from Chris Messina on Flickr I decided to write my Pagination 101, hopefully it'll give you some clues as to what makes good pagination.

Before going into analyzing good and bad pagination, I want to explain just what I consider to be pagination: Pagination is any kind of control system that lets the user browse through pages of search results, archives, or any other kind of continued content. Search results are the obvious example, but it's good to realize that paginat