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
#include <glad/glad.h> | |
#include <GLFW/glfw3.h> | |
#include <vector> | |
#include <iostream> | |
#include <Windows.h> | |
void framebuffer_size_callback( GLFWwindow* window, int width, int height ); | |
void processInput( GLFWwindow* window ); |
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
const project = ( latLng: google.maps.LatLng, zoom: number ) => { | |
const scale = Math.pow( 2, zoom ); | |
const lambda = latLng.lng() / 180 * Math.PI; | |
const phi = latLng.lat() / 180 * Math.PI; | |
return new google.maps.Point( | |
256 / 2 / Math.PI * scale * ( lambda + Math.PI ), | |
256 / 2 / Math.PI * scale * ( Math.PI - Math.log( Math.tan( Math.PI / 4 + phi / 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
/* based on https://gitlab.gnome.org/eeshugerman/gnome-shell-theme-default-light with dock tweaks */ | |
/* save as ~/.themes/Default-light/gnome-shell/gnome-shell.css and enable with gnome-tweaks */ | |
/* This stylesheet is generated, DO NOT EDIT */ | |
/* Copyright 2009, 2015 Red Hat, Inc. | |
* | |
* Portions adapted from Mx's data/style/default.css | |
* Copyright 2009 Intel Corporation | |
* | |
* This program is free software; you can redistribute it and/or modify it |
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
#!/bin/bash | |
set -x | |
id; pwd | |
cd httpdocs | |
TEST_BIN=tests/_output/report.bin | |
TEST_RESULT=0 | |
if [ -f $TEST_BIN ]; then # require user action after a failure | |
TEST_RESULT=$(cat $TEST_BIN) |