You can find the installation instuctions in the link below.
Add metrics server components
kubectl apply -f https://raw.githubusercontent.com/redhat-et/ushift-workload/master/metrics-server/metrics-components.yaml
in vec2 v_texcoord; // texture coords | |
in vec3 v_normal; // normal | |
in vec3 v_binormal; // binormal (for TBN basis calc) | |
in vec3 v_pos; // pixel view space position | |
out vec4 color; | |
layout(std140) uniform Transforms | |
{ | |
mat4x4 world_matrix; // object's world position |
server { | |
listen 80 default_server; | |
listen [::]:80 ipv6only=on default_server; | |
server_name splunk.net blog.splunk.net www.splunk.net .taddevries.com; | |
access_log /var/log/nginx/blog.access_log main; | |
error_log /var/log/nginx/blog.error_log info; | |
return 301 https://blog.splunk.net; | |
} | |
server { |
//Based on http://www.geeksforgeeks.org/manachers-algorithm-linear-time-longest-palindromic-substring-part-4/ | |
// A C program to implement Manacher’s Algorithm | |
#include <stdio.h> | |
#include <string.h> | |
char text[100]; | |
int min(int a, int b) | |
{ | |
int res = a; | |
if (b < a) |
You can find the installation instuctions in the link below.
Add metrics server components
kubectl apply -f https://raw.githubusercontent.com/redhat-et/ushift-workload/master/metrics-server/metrics-components.yaml
export abstract class PseudoORMInterface { | |
getDataFromTable<T1, T2>(TableName: string, valuesKeysForGetting: string[], conditions?: string[] | null): T1; | |
insertDataToTable(TableName: string); | |
updateDataToTable<T2>(Data:T2, TableName: string, conditions?: string[] | null): boolean; | |
deleteDataFromTable(TableName: string, conditions?: string[] | null); | |
} | |
export class PseudoORMImpl implements PseudoORMInterface { |
// Reconstruct worldspace depth value from z/w depth buffer | |
float depth = -(z_near * z_far) / (zbuffer_depth * (z_far - z_near) - z_far); | |
// Compute screenspace coordinate of pixel | |
float2 screenspace = (float2(pixel.xy) / float2(viewport_size.xy)) * 2.0f - 1.0f; | |
// Get direction of ray from camera through pixel | |
float3 ray_direction = normalize(camera_forward + camera_right * screenspace.x - camera_up * screenspace.y); | |
// Reconstruct world position from depth: depth in z buffer is distance to picture plane, not camera |
/* | |
TreeGen for 3DSMax written by Ryan James Smith aka "Virtuosic" on polycount forums. | |
This is creative commons, edit and redistribute as you please, just remember to give original credit | |
also, if you add some cool stuff, email me at virtuosicrjs@gmail.com and let me know what you did so | |
i can be jealous i didn't think of it... Oh, and if you add something cool, sign your name below mine :D | |
*/ |
// create file: | |
sudo vim /usr/share/applications/intellij.desktop | |
// add the following | |
[Desktop Entry] | |
Version=13.0 | |
Type=Application | |
Terminal=false | |
Icon[en_US]=/home/rob/.intellij-13/bin/idea.png | |
Name[en_US]=IntelliJ |
/* | |
##Device = Desktops | |
##Screen = 1281px to higher resolution desktops | |
*/ | |
@media (min-width: 1281px) { | |
//CSS | |
/* | |
##Device = Desktops | |
##Screen = 1281px to higher resolution desktops | |
*/ | |
@media (min-width: 1281px) { | |
//CSS | |