Skip to content

Instantly share code, notes, and snippets.

/**
* SyntaxHighlighter
* http://alexgorbatchev.com/SyntaxHighlighter
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
*
* @version
* 3.0.83 (July 02 2010)
*
Bit versus qubit
A bit is the basic unit of computer information. Regardless of its physical realization, a bit is always understood to be either a 0 or a 1. An analogy to this is a light switch— with the off position representing 0 and the on position representing 1.
A qubit has some similarities to a classical bit, but is overall very different. Like a bit, a qubit can have two possible values—normally a 0 or a 1. The difference is that whereas a bit must be either 0 or 1, a qubit can be 0, 1, or a superposition of both.
//
// HelloWorldScene.cpp
// Pong
//
// Created by Clawoo on 9/18/11.
// Copyright __MyCompanyName__ 2011. All rights reserved.
//
#include "HelloWorldScene.h"
#
# cocos2d
# http://cocos2d.org
#
# This code is so you can run the samples without installing the package
import sys
import os
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..'))
#
[core]
#modules=desktop-shell.so,xwayland.so
[shell]
background-image=/usr/share/backgrounds/arch.png
background-color=0xff002244
panel-color=0x90ff0000
locking=true
animation=zoom
#binding-modifier=ctrl
EXAMPLES
$ file file.c file /dev/{wd0a,hda}
file.c: C program text
file: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
dynamically linked (uses shared libs), stripped
/dev/wd0a: block special (0/0)
/dev/hda: block special (3/0)
$ file -s /dev/wd0{b,d}
/dev/wd0b: data
source $ZSH/oh-my-zsh.sh
export MORT=$HOME/gopath/src/github.com/mortdeus
export GOROOT=$HOME/go
export GOPATH=$HOME/gopath
export ANDROID=$HOME/android
# Customize to your needs...
export PATH=$GOPATH/bin:$GOROOT/bin:$ANDROID/sdk/tools:$HOME/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl
{
"color_scheme": "Packages/User/Monokai Soda.tmTheme",
"file_exclude_patterns":
[
"*.pyc",
"*.pyo",
"*.exe",
"*.dll",
"*.obj",
"*.o",
unmap j
unmap J
unmap k
unmap K
unmap l
unmap L
unmap h
unmap H
unmap d
unmap u
#include <u.h>
#include <libc.h>
void
main(int argc, char *argv[])
{
int nflag;
int i, len;
char *buf, *p;