-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #152 from wildpeaks/features/fixtures
Fixtures
- Loading branch information
Showing
104 changed files
with
1,139 additions
and
50 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,4 +21,3 @@ | |
|
||
# But make sure to ignore these regardless: | ||
WAS * | ||
/test/fixtures |
This file contains 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
This file contains 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
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.
Oops, something went wrong.
Diff not rendered.
Diff not rendered.
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@ECHO OFF | ||
ECHO Hello world | ||
example.exe --myflag | ||
PAUSE |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
:root { | ||
--my-color: blue; | ||
} | ||
|
||
div, *, *:before, div:before, #myid, .myclass { | ||
color: var(--another-color, blue); | ||
border-top-color: #fafafa; | ||
border-bottom-color: crimson; | ||
font-family: "Open Sans", sans-serif; | ||
font-size: 1em; | ||
-webkit-font-smoothing: subpixel-antialiased; | ||
font-feature-settings: kern, liga, clig, calt, zero, lnum, pnum; | ||
font-family: Lato, serif; | ||
font-weight: 400; | ||
font-size: 4em; | ||
transition: all 100ms; | ||
width: calc(100vw - 80px); | ||
content: attr(data-example); | ||
filter: drop-shadow(0.25rem 0 0.75rem #ef9035); | ||
} | ||
|
||
/** | ||
Multiline comment | ||
*/ |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
MATCH (n) RETURN n // This is a comment | ||
MATCH (n) WHERE n.property = '//This is NOT a comment' RETURN n | ||
MATCH (n)-->(b) RETURN b | ||
MATCH (n:title) WHERE NOT (n)<-[:CONTAINS]-(:title) RETURN n | ||
MATCH (john { name: 'John Doe' })-[:ACTED_IN*1..3]-(mymovie:Movie) RETURN mymovie.title | ||
MATCH (n:Movie { title: 'Hello World' }) OPTIONAL MATCH (n)-->(x) RETURN x | ||
MATCH (n) RETURN n.name ORDER BY n.name LIMIT toInteger(3 * rand())+ 1 | ||
|
||
MATCH (n) | ||
RETURN CASE | ||
WHEN n.param1 = 'example' THEN 1 | ||
WHEN n.param2 < 10 THEN 2 | ||
ELSE 3 | ||
END AS result | ||
|
||
MATCH (n { name: 'John Doe' })-[r:`TYPE | ||
WITH SPACE`]->() | ||
|
||
MERGE (person:Person) | ||
ON MATCH SET person.found = TRUE , person.lastAccessed = timestamp() | ||
RETURN person.name, person.found, person.lastAccessed | ||
|
||
LOAD CSV FROM 'https://example.com/data.csv' AS line | ||
CREATE (:MyType { name: line[1], year: toInteger(line[2])}) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM node:lts-alpine | ||
LABEL Name=myimage Version=1.0.0 | ||
|
||
# This is a comment | ||
|
||
RUN npm install -g [email protected] | ||
EXPOSE 80 443 | ||
CMD ["my-command", "--param1", "--param2"] |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = tab | ||
tab_width = 4 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
|
||
[*.yml] | ||
indent_style = space | ||
|
||
[example.txt] | ||
indent_style = space | ||
indent_size = 2 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Comment | ||
export EXAMPLE_INT=123 | ||
export EXAMPLE_FLOAT=123.45 | ||
export EXAMPLE_UNQUOTED=hello world | ||
export EXAMPLE_QUOTED_TEXT='Hello World' | ||
export EXAMPLE_QUOTED_MULTILINE='Multline | ||
text | ||
example | ||
' |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#extension GL_EXAMPLE : enable | ||
#define TEXEL_SIZE 1.0/512.0 | ||
#pragma glslify: example1 = require('glsl-example1', iterations=10) | ||
#pragma glslify: example2 = require('glsl-example2') | ||
varying vec2 vUv; | ||
uniform float iGlobalTime; | ||
uniform sampler2D iChannel0; | ||
vec3 sample(vec2 uv); | ||
vec3 sample(vec2 uv) { | ||
return texture2D(iChannel0, uv).rgb; | ||
} | ||
void main() { | ||
var1 = var3; | ||
var2 = var3.xyz; | ||
vec3 var4 = vNorm * 0.5 + 0.5; | ||
float dist = length(vUv - 0.5); | ||
float falloff = smoothstep(0.3, 0.7, dist); | ||
gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0); | ||
gl_FragColor.rgb = mix(colorA, colorB, blend); | ||
gl_FragColor.a = 1.0; | ||
} | ||
// Single line | ||
/* | ||
Multiple lines | ||
*/ |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Comment 1 | ||
# Comment 2 | ||
|
||
digraph g { | ||
node [style=filled,color=white,shape=box]; | ||
|
||
subgraph cluster_a { | ||
style=filled; | ||
color=green; | ||
aaa [label="Application"]; | ||
} | ||
|
||
aaa -> bbb -> ccc | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
float opacityValue = 1.0; | ||
float3 albedoColor = {1.0, 1.0, 1.0}; | ||
|
||
texture exampleMap1; | ||
sampler2D exampleSampler1 = sampler_state { | ||
Texture = <exampleMap1>; | ||
MinFilter = Linear; | ||
MagFilter = Linear; | ||
MipFilter = Point; | ||
AddressU = Wrap; | ||
AddressV = Wrap; | ||
}; | ||
|
||
texture exampleMap2: ENVIRONMENT; | ||
samplerCUBE exampleSampler2 = sampler_state { | ||
Texture = <exampleMap2>; | ||
MinFilter = Linear; | ||
MagFilter = Linear; | ||
MipFilter = Linear; | ||
}; | ||
|
||
// Single line comment | ||
float4x4 WorldInverseTranspose: WORLDINVERSETRANSPOSE; | ||
float4x4 WorldViewProjection: WORLDVIEWPROJECTION; | ||
float4x4 World: WORLD; | ||
float4x4 ViewInverse: VIEWINVERSE; | ||
|
||
/** | ||
* Multiple lines | ||
*/ | ||
struct MY_STRUCT { | ||
float4 position: POSITION; | ||
float2 texcoord: TEXCOORD0; | ||
}; | ||
|
||
VS_OUTPUT VS(VS_INPUT In) { | ||
VS_OUTPUT Out = (VS_OUTPUT)0; | ||
Out.position = mul(In.position, WorldViewProjection); | ||
Out.texcoord = In.texcoord; | ||
return Out; | ||
} | ||
|
||
float4 PS(VS_OUTPUT In): COLOR { | ||
float3 myColor = tex2D(albedoSampler, In.texcoord).rgb; | ||
float opacityValue = tex2D(opacitySampler, In.texcoord).r; | ||
float4 resultColor = float4(albedoColor, opacityValue); | ||
return resultColor; | ||
} | ||
|
||
technique t0 { | ||
pass p0 { | ||
CullMode = CW; | ||
Lighting = false; | ||
AlphaBlendEnable = (opacityValue > 0); | ||
VertexShader = compile vs_2_0 VS(); | ||
PixelShader = compile ps_2_0 PS(); | ||
} | ||
} |
Oops, something went wrong.