CodePaste Logo
New Snippet New Recent Snippets Recent Snippets My Snippets My Snippets My Favorites Favorites Web Code Search Snippets Search
Sign inor Register
Format:
Recent Snippets
http://youtu.be/FBW97RTxChE
Today @ 4:02pm
Tags:
2 Views
no comments
 
#include<iostream>
#include<cstdlib>
using namespace std;

class MyInteger
{
public:
	MyInteger();
	
	void setInt();
Today @ 3:53pm
Tags:
3 Views
no comments
 
http://youtu.be/cqMfPS8jPys
Today @ 3:53pm
Tags:
3 Views
no comments
 
<iframe width="560" height="315" src="http://www.youtube.com/embed/afxBrWGuPsw" frameborder="0" allowfullscreen></iframe>
Today @ 3:50pm
Tags:
3 Views
no comments
 
#include<iostream>
#include<cstdlib>
using namespace std;

class MyInteger
{
public:
	MyInteger();
	
	void setInt();
Today @ 3:49pm
Tags:
3 Views
no comments
 
php
<?php

require_once 'connect.php';

$result = mysql_query("SELECT name FROM tbl_user");


while($row = mysql_fetch_array($result)) {
  echo $row['name'];
  echo "<br>";
Today @ 1:53pm
Tags:
9 Views
no comments
 
php
<?php
    function connecttodb() { //connect to `user` table
 
    $mysql_host = 'localhost';
    $mysql_user = 'root';
    $mysql_password = '';
    $mysql_db = 'db_mysite';
 
    $link = @mysql_connect($mysql_host , $mysql_user , $mysql_password ) ;
    mysql_select_db($mysql_db) ;
Today @ 1:26pm
Tags:
10 Views
no comments
 
php
<?php

require_once 'connect.php';

$result = mysqli_query("SELECT name FROM tbl_user");

while($row = mysqli_fetch_array($result)) {
  echo $row['name'];
  echo "<br>";
}
Today @ 1:11pm
Tags:
9 Views
no comments
 
#include <iostream>
#include <fstream>

using namespace std;

int main()
{
	ifstream input("sprite.in");
	ofstream output;
	output.open("sprite.out");
Today @ 11:06am
Tags:
15 Views
no comments
 
// abstract class "AbstractUpload"
component displayname="AbstractUpload" output="false" {
   variables.instance = {
      newline = (chr(13) & chr(10)),
      activeFile = "",
      customErrors = []
   }
   
   private void function init (required struct user, utilAuditTracker tracker) {
      throw (message="This is an abstract class and may not be directly instantiated" type="UnsupportedOperationException");
Today @ 10:48am
Tags:
15 Views
no comments
 
// abstract class "AbstractUpload"
component displayname="AbstractUpload" output="false" {
   variables.instance = {
      newline = (chr(13) & chr(10)),
      activeFile = "",
      customErrors = []
   }
   
   private void function init (required struct user, utilAuditTracker tracker) {
      throw (message="This is an abstract class and may not be directly instantiated" type="UnsupportedOperationException");
Today @ 10:47am
Tags:
13 Views
no comments
 
(cond[(equal? k 0) '('())]
       [(equal? (length lst) 0) '()]
       [(else (append tempList1 (list-tail lst 1))
              (append tempList2 (subsets-k tempList1 (- k 1)))
              (for ([i tempList2])
                (append i (list-ref k 0))
               )
              (append tempList2 (subsets-k (tempList1 k)))
         )]
   )
Today @ 9:19am
Tags:
16 Views
no comments
 
private List<HueLamp> parseJson(String jsonString) {

	List<HueLamp> returnList = new ArrayList<HueLamp>();

	try {

		// Create JSON object with json formatted data
		JSONObject json = new JSONObject(jsonString);

		for (int i = 0; i < json.length(); i++) {
Today @ 8:12am
Tags:
19 Views
no comments
 
//I want both a,b read/write to MemP which is inside baseclass S. How can i do that
class S
{
...
	vector<BufP> MemP;
};

class A:public S
{
...
Today @ 5:43am
Tags:
31 Views
no comments
 
The item helps individuals to shed pounds effortlessly without creating any destructive impacts. This recipe further is an astounding state of mind enhancer which is incredible for enthusiastic eaters. Also, the result.

http://garciniaxslimblog.com/

by chrissas   Today @ 4:55am
27 Views
no comments
 
using System;
using System.Runtime.InteropServices;
using System.Diagnostics;
using System.Threading;

namespace Clean
{
    class Program
    {

Today @ 4:34am
Tags:
28 Views
no comments
 
using System;
using System.Data;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Windows.Forms;

namespace Logger
Today @ 4:33am
Tags:
28 Views
no comments
 
KUCHING: Axiata Group Bhd (Axiata) sees its data business segment as a key growth driver for the group as its core business in voice and SMS have been declining.


In its annual report, it said that data growth has been strong across all its markets and is currently a material part of its revenue, particularly in more mature markets. Celcom, XL, and Dialog in particular, have seen continuous growth in data contribution to revenue now at 17, 23 and nine per cent respectively, it said, and noted that Celcom’s data revenue for smartphones and tablets saw a 35 per cent growth in 2013.


“We have been proactively making significant investments and enhancements to our networks, support systems, organization structure and business models to strengthen our data capabilities.


“We have modernized our networks in Celcom, XL and Dialog to be optimized for data via the conversion of our core networks from all ‘switchbased’ network to ‘IP-based’ network, including transmission backhaul.
31 Views
no comments
 
#include "libtorrent/session.hpp"
#include "libtorrent/torrent_info.hpp"
#include "libtorrent/add_torrent_params.hpp"
#include "libtorrent/alert_types.hpp"

//==============================================================================

#define FEED_URL		"http://10.73.88.21:8080/feeds/cuba.xml"
#define SAVE_URL		"c:/downloads/content/"

by drdie   Today @ 1:26am
Tags:
35 Views
no comments
 
<html>
<head>  
    <script src="@Url.Content("~/Scripts/jquery-1.7.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-latest.js")" type="text/javascript"></script>
    <link href="../../Content/CSS/newPikerview.css" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.22.custom.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/UserControlScript/GlobalScript.js")" type="text/javascript"></script>
    <link href="@Url.Content("~/Content/CSS/jquery-ui-1.8.22.custom.css")" rel="stylesheet" type="text/css" />  
    <script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.js")" type="text/javascript"></script>
by fauzulcse   Yesterday @ 10:51pm
Tags:
35 Views
no comments
 
<html>
<head>  
   
    <script src="@Url.Content("~/Scripts/jquery-1.7.1.min.js")" type="text/javascript"></script>
    <link href="@Url.Content("~/Content/CSS/jquery-ui-1.8.22.custom.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.22.custom.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/UserControlScript/GlobalScript.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Date-Format-1.2.3.js")" type="text/javascript"></script> 
by fauzulcse   Yesterday @ 10:49pm
Tags:
39 Views
no comments
 
<html>

<head>  
    <script src="@Url.Content("~/Scripts/jquery-1.7.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-latest.js")" type="text/javascript"></script>
    <link href="../../Content/CSS/newPikerview.css" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.22.custom.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/UserControlScript/GlobalScript.js")" type="text/javascript"></script>
    <link href="@Url.Content("~/Content/CSS/jquery-ui-1.8.22.custom.css")" rel="stylesheet" type="text/css" />  
by fauzulcse   Yesterday @ 10:47pm
Tags:
36 Views
no comments
 
<html>
    <head>
        <script src="@Url.Content("~/Scripts/jquery-1.7.1.min.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/jquery-latest.js")" type="text/javascript"></script>
        <link href="../../Content/CSS/newPikerview.css" rel="stylesheet" type="text/css" />
        <script src="@Url.Content("~/Scripts/jquery-ui-1.8.22.custom.min.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/UserControlScript/GlobalScript.js")" type="text/javascript"></script>
        <link href="@Url.Content("~/Content/CSS/Control.css")" rel="stylesheet" type="text/css" />
        <link href="@Url.Content("~/Content/CSS/jquery-ui-1.8.22.custom.css")" rel="stylesheet" type="text/css" />   
        <script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.js")" type="text/javascript"></script>
by fauzulcse   Yesterday @ 10:46pm
Tags:
36 Views
no comments
 
AXIS Capital, Inc. headquartered in Grand Island Nebraska, is a Direct Lender providing quality equipment leasing/financing services along with superior customer service, give you this tips to start your business with little to no capital.

1. Shape your business around what you know. As an alternative of submitting off into unexplored terrain, check that you construct your business around your skills and knowledge. The less you have to depend on external sources the better. When your business is constructed around your own personal know-how you can eradicate consultants and outside assistance. You can also avoid scam with this.
 
Furthermore, having that knowledge is sometimes all that is required to successfully throw yourself into entrepreneurship.

2. Inform everyone you are well aware of what you are doing. Notify your family, friends, business contacts and past colleagues regarding your new business. Call, send emails and make your new project known on your social-media profiles. Your friends and family members can help you broadcast the word, and previous business contacts can present your brand to their professional contacts too. This kind of popular marketing can help introduce your company to bigger addressees.

3. Prevent excessive expenses. Review every cent that you spend. You are going to have quite of expenses, and there are some that just can’t be escaped. What you can avoid however is overspending. Being thrifty in the start can be the difference between success and a failed business.

39 Views
no comments
 
protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack) {
                
                if (!string.IsNullOrEmpty(Convert.ToString(System.Web.HttpContext.Current.Session["UserId"])))
                { }
                else
                {
                    Session.Clear();
                    Response.Redirect(ResolveUrl("~/Account/Login.aspx"));
Yesterday @ 9:07pm
Tags:
35 Views
no comments
 
brought to you by:
West Wind Techologies