Custom Bots
We create custom IM bots.
Black Green Blue Red Gold
RSS
  • Home PageHome
  • Customize Your Bot / Hire a Freelancer
  • How to Create a Custom Bot / Bot Making Software
  • IMDB to WordPress
  • Youtube Comment Poster Bot

Codes & Scripts Category

Media inquiries shows unlike FF or Webkit surgery?

Codes & Scripts 0 Comment »

I have set up a test site for some responsive images.

The images are set with a width of 100% and resize between 240px and 320px wide. I also have media queries that make the break points for these widths.

What I’m having trouble with is when I resize the browser dynamically. While Chrome and Safari handle the resizing and breakpoints perfectly, FF and Opera display some weird float issues at the breakpoints.

Here is the media queries for one of the breakpoints that displays weird:

@media all and (min-width: 641px) and (max-width:719px) {
#main {
 width: 640px;
 margin: 0 auto;
}

.post {
 width: 50%;
}
}

@media all and (min-width: 720px) and (max-width:960px) {
.post {
 width: 33.3333333%;
}
}

and here is a comparison image of the browsers at 720px wide. At this breakpoint should have just switched from 2 at 320px wide to 3 at 240px wide.

Chrome: http://cl.ly/DuX8
Firefox: http://cl.ly/Dugp

(have used website clips for example)

Any Ideas?


February 5th, 2012  
Tags: inquiries, Media, shows, surgery, unlike, WebKit



Problem with horizontal icemegamenu not

Codes & Scripts 0 Comment »

I am a newbie and am attempting to create a horizontal dropdown menu using icemegamenu. This is what I get:
I’m getting:
+——+–+
| Home | |
+——+ |
| Services |
+———+

…instead of the desired:
+——+———+


February 5th, 2012  
Tags: Horizontal, icemegamenu, problem



What’s COCROX?

Codes & Scripts 0 Comment »

What is COCROX ?


February 4th, 2012  
Tags: COCROX, What's



Java String Permutations and combinations

Codes & Scripts 0 Comment »

I’m writing an Android word app. My code includes a method that would find all combinations of the string and the substrings of a 7 letter string with a minimum of length 3. Then compare all available combination to every word in the dictionary to find all the valid words. I’m using a recursive method. Here’s the code.

// Gets all the permutations of a string.
void permuteString(String beginningString, String endingString) {
    if (endingString.length() <= 1){
        if((Arrays.binarySearch(mDictionary, beginningString.toLowerCase() +   endingString.toLowerCase())) >= 0){
            mWordSet.add(beginningString + endingString);
        }
    }
    else
        for (int i = 0; i < endingString.length(); i++) {
            String newString = endingString.substring(0, i) + endingString.substring(i + 1);
            permuteString(beginningString + endingString.charAt(i), newString);
      }
}
// Get the combinations of the sub-strings. Minimum 3 letter combinations
void subStrings(String s){
    String newString = "";
    if(s.length() > 3){
        for(int x = 0; x < s.length(); x++){
            newString = removeCharAt(x, s);
            permuteString("", newString);
            subStrings(newString);
        }
    }
}

The above code runs fine but when I installed it on my Nexus s I realised that it runs a bit too slow. It takes a few seconds to complete. About 3 or 4 seconds which is unacceptable.
Now I’ve played some word games on my phone and they compute all the combinations of a string instantly whcich makes me beleive that my algorithm is not very efficient and it can be improved. Can anyone help?


February 4th, 2012  
Tags: combinations, Java, permutations, String



K can not decrease, Space Between empty table rows: Drupal / CkEdit might end?

Codes & Scripts 0 Comment »

Good morning!

I’ve got the following code (yes…ugly but I am new to CSS and doing this with inline div in Drupal in CKedit). As you can see in the attached pic: it looks like I’ve got double space or more between rows.

But I have padding and height set to zero. I’ve tried a dozen different…


February 4th, 2012  
Tags: between, CkEdit, decrease, Drupal, empty, might, rows, space, table



Clearing Session

Codes & Scripts 0 Comment »

I am facing with the issues is Iam showing a error message in the page(newpwd.jsp) via

request.getSession().setAttribute("currpwderror", "Enter Correct Password");

it is showing first time with out any problem. But at the second time loading this(newpwd.jsp) page this message shown there. the message should not be sow there on loading.
I know this problem is because of not clearing the session. But I don’t know the solution
Please help me.
In jsp:

<span style="color:#FF0000; align:right" id="lblmsg_log">${currpwderror }</span>

java

 request.getSession().setAttribute("currpwderror", "Enter Correct Password");

ModelAndView modelAndView = new ModelAndView("redirect:"+projectUrl+"newpwd.html");
            return modelAndView;

February 3rd, 2012  
Tags: Clearing, Session



Drupal CMS or Custom f? R Niche Social Network?

Codes & Scripts 0 Comment »

I am considering building a niche social network and I am concerned about Drupal’s ability to scale when there are a lot of logged in users. I have read numerous posts saying that with caching, Drupal fairs pretty well for anonymous / non-logged in users, but that scalability is an issue with a lot…


February 3rd, 2012  
Tags: Custom, Drupal, network, Niche, Social



Problem with the code f? R the software for accounting in a business? Ft. Urgent help ben? CONFIRMS!

Codes & Scripts 0 Comment »

Pleas have a look at the following code and let me know what is wrong and how to correct it.

P.S. – I am using Turbo C++ 3.0 IDE

Code:
———
//program for creating bill in a supermarket.
//Created by Chetan Bhasin


February 2nd, 2012  
Tags: accounting, Business, code, CONFIRMS, Help, problem, Software, Urgent



Complete Web Design f? R reqs from HTML? Nger to the server-side programming

Codes & Scripts 0 Comment »

I’m a beginner and I started with the HTML document and in between the document I moved to Java script to understand the document properly and from Java Script to OOPs in Java script. Now I have become so confused about what to do.I’m reading all the stuff from downloaded tutorials to on-line tutorials like echoecho, w3c and tutorialspoint. I want to learn everything about web designing so can anyone suggest me where to start so that I don’t mingle all stuff. Please suggest me some books or tutorials to start and what to follow next.
I’m interested in learning HTML, Javascript, CSS, DHTML and XML.


February 2nd, 2012  
Tags: Complete, Design, From, HTML, nger, Programming, reqs, serverside



EFaucets coupons

Codes & Scripts 0 Comment »

If you are looking forward to give an excellent finishing to your kicthen and bathroom the EFaucets is here to lend you a hand! The site features quality products to remodel your home and also provides hottest deals in terms of EFaucetsPromo Codes, Discount & Coupon Codes.
…


February 2nd, 2012  
Tags: Coupons, EFaucets



Previous Entries

Custom Bots Sponsors

  • You are currently browsing the archives for the Codes & Scripts category.

  • Categories

    • Codes & Scripts
    • Custom Requests
    • Download
    • Entertainment
    • Free Downloads
    • games-entertainment
    • How To/Articles
    • Marketing
    • Review
    • Seo Services
    • Software
    • Video Tutorial
    • Youtube
  • Recent Posts

    • Media inquiries shows unlike FF or Webkit surgery?
    • Problem with horizontal icemegamenu not
    • PHP Tutorial 7 – Loops and Repetition
    • Como hacer un login con Visual Basic 2010 y SQL Server 2008
    • What’s COCROX?
    • SMS software
    • Java String Permutations and combinations
    • K can not decrease, Space Between empty table rows: Drupal / CkEdit might end?
    • How do I start a business underwear? Scheme
    • Scott Blanchard Clickbump motor bundle
  • Blogroll

    • Rock Kitty
Categories
  • Codes & Scripts
  • Custom Requests
  • Download
  • Entertainment
  • Free Downloads
  • games-entertainment
  • How To/Articles
  • Marketing
  • Review
  • Seo Services
  • Software
  • Video Tutorial
  • Youtube
About Me

Write about yourseft, This is just a sample: Welcome to iSoftwareReviews where you can find reviews, ratings, comparisons about variety of computer software programs.

Hi, my name ChanDara and I am a software programmer, web design and development, graphics designer, software trainer, software consultant. And I have worked in IT for more than... Read more

Free Wordpress Themes | Copyright © 2012 Custom Bots All Rights Reserved XHTML CSS THEME by I SOFTWARE REVIEWS