This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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) | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// HelloWorldScene.cpp | |
// Pong | |
// | |
// Created by Clawoo on 9/18/11. | |
// Copyright __MyCompanyName__ 2011. All rights reserved. | |
// | |
#include "HelloWorldScene.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 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__), '..')) | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"color_scheme": "Packages/User/Monokai Soda.tmTheme", | |
"file_exclude_patterns": | |
[ | |
"*.pyc", | |
"*.pyo", | |
"*.exe", | |
"*.dll", | |
"*.obj", | |
"*.o", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unmap j | |
unmap J | |
unmap k | |
unmap K | |
unmap l | |
unmap L | |
unmap h | |
unmap H | |
unmap d | |
unmap u |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <u.h> | |
#include <libc.h> | |
void | |
main(int argc, char *argv[]) | |
{ | |
int nflag; | |
int i, len; | |
char *buf, *p; |
OlderNewer