View run_zinba.R
1 2 3 4 5 6 7 8 9 10
# Install zimba
R
install.packages(c("R.oo"))
install.packages(c("R.utils", "quantreg","doParallel","doMC","foreach")) # for R>3.0
# only version that works with R 3.0:
# get it from here: https://code.google.com/p/zinba/issues/detail?id=69
install.packages("zinba_2.03.1.tar.gz", repos=NULL)
 
# Make bed files from bams
# system("bedtools bamtobed -i /data/mapped/sample.bam > ~/zinba/reads/sample.bed")
View -
1 2 3 4 5 6 7 8 9 10
diff --git a/example/bwmf/kldiv_loss.go b/example/bwmf/kldiv_loss.go
index 764a46d..3dbd771 100644
--- a/example/bwmf/kldiv_loss.go
+++ b/example/bwmf/kldiv_loss.go
@@ -3,6 +3,8 @@ package bwmf
import (
"math"
"sort"
+ "time"
+ "fmt"
View .vimrc
1 2 3 4 5 6 7 8 9 10
"Basic Settings {{{
scriptencoding utf-8
 
set nocompatible
 
set encoding=utf-8
set termencoding=utf-8
set fileencoding=utf-8
 
set ffs=unix,dos,mac
View pinwheel.glsl
1 2 3 4 5 6 7 8 9 10
#ifdef GL_ES
precision highp float;
#endif
uniform sampler2D from, to;
uniform float progress;
uniform vec2 resolution;
 
void main() {
vec2 p = gl_FragCoord.xy / resolution.xy;
View morph.glsl
1 2 3 4 5 6 7 8 9 10
#ifdef GL_ES
precision highp float;
#endif
uniform sampler2D from, to;
uniform float progress;
uniform vec2 resolution;
const float strength=0.1;
 
void main() {
vec2 p = gl_FragCoord.xy / resolution.xy;
View TEMPLATE.glsl
1 2 3 4 5 6 7 8 9 10
#ifdef GL_ES
precision highp float;
#endif
uniform sampler2D from, to;
uniform float progress;
uniform vec2 resolution;
 
void main() {
vec2 p = gl_FragCoord.xy / resolution.xy;
gl_FragColor = mix(texture2D(from, p), texture2D(to, p), progress);
View 01 - Theme Testing Process.markdown

Theme Testing Process

from Theme Development (Wordpress Codex)

  • Fix PHP and WordPress errors. Add the following debug setting to your wp-config.php file to see deprecated function calls and other WordPress-related errors: define('WP_DEBUG', true);. See Deprecated Functions Hook for more information.
  • Check template files against Template File Checklist.
  • Do a run-through using the Theme Unit Test.
  • Validate HTML and CSS. See Validating a Website.
  • Check for JavaScript errors.
  • Test in all your target browsers. For example, IE7, IE8, IE9, Safari, Chrome, Opera, and Firefox.
  • Clean up any extraneous comments, debug settings, or TODO items.
View CrazyParametricFun.glsl
1 2 3 4 5 6 7 8 9 10
#ifdef GL_ES
precision highp float;
#endif
uniform sampler2D from, to;
uniform float progress;
uniform vec2 resolution;
 
// default a = 4
uniform float a;
// default b = 1
View skiplist.c
1 2 3 4 5 6 7 8 9 10
/* ======================================================================
* Copyright (c) 2000,2006 Theo Schlossnagle
* All rights reserved.
* The following code was written by Theo Schlossnagle for use in the
* Backhand project at The Center for Networking and Distributed Systems
* at The Johns Hopkins University.
*
* This is a skiplist implementation to be used for abstract structures
* and is release under the LGPL license version 2.1 or later. A copy
* of this license can be found file LGPL.
View heartwipe.glsl
1 2 3 4 5 6 7 8 9 10
#ifdef GL_ES
precision highp float;
#endif
// General parameters
uniform sampler2D from;
uniform sampler2D to;
uniform float progress;
uniform vec2 resolution;
Something went wrong with that request. Please try again.