View LumaWipe.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;
 
uniform sampler2D lumaTex;
uniform bool invertLuma;
uniform float softness;
View gist:6238e05fcb8f35ad1d7a
1 2 3 4 5 6 7 8 9
xxx@xxx-VirtualBox:~/geany$ git pull
Already up-to-date.
xxx@xxx-VirtualBox:~/geany$ ./autogen.sh
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.
 
Processing configure.ac
Copying file po/Makefile.in.in
View DreamyZoom.glsl
1 2 3 4 5 6 7 8 9 10
#ifdef GL_ES
precision highp float;
#endif
 
 
// Definitions --------
#define DEG2RAD 0.03926990816987241548078304229099 // 1/180*PI
 
 
// Hardcoded parameters --------
View TilesScanline.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 vec2 tileSize = vec2(64, 64);
 
const float checkerDistance = 0.015;
View dispersionblur.glsl
1 2 3 4 5 6 7 8 9 10
#ifdef GL_ES
precision highp float;
#endif
#define QUALITY 32
// General parameters
uniform sampler2D from;
uniform sampler2D to;
uniform float progress;
View IOS --Gesture
1 2 3 4 5 6 7 8 9 10
_theImageView.contentMode = UIViewContentModeScaleToFill;
_theImageView.image = image;
//創造Tap手勢物件&加上單擊行為
_tapGesture = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(tapMotion:)];
//創造Swipe手勢物件&滑動行為
_leftSwipeGesture = [[UISwipeGestureRecognizer alloc] initWithTarget:self action:@selector(leftSwipeMotion:)];
_leftSwipeGesture.direction = UISwipeGestureRecognizerDirectionLeft;
_rightSwipeGesture = [[UISwipeGestureRecognizer alloc] initWithTarget:self action:@selector(rightSwipeMotion:)];
_rightSwipeGesture.direction = UISwipeGestureRecognizerDirectionRight;
View httpd restart
1 2 3 4 5 6 7 8 9 10
#!/usr/bin/python3
# -*- coding: utf-8 -*-
import psutil,os,datetime,math
 
def httpd():
usage=psutil.cpu_percent(interval=1, percpu=False)
if usage>89:
os.system("apachectl restart")
else:
pidlist()
View log1.md
View swap.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.