This file contains hidden or 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
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>org.saintandreas</groupId> | |
<artifactId>jscratch</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<properties> | |
<maven.compiler.source>1.8</maven.compiler.source> | |
<maven.compiler.target>1.8</maven.compiler.target> | |
<maven-compiler-plugin-version>3.8.1</maven-compiler-plugin-version> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
This file contains hidden or 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
ubuntu@ip-10-128-36-250:/etc$ date && du -h -s /var/log/* | sort -h | |
Mon Jul 20 00:04:45 UTC 2020 | |
18M /var/log/datadog | |
42M /var/log/kern.log | |
216M /var/log/syslog | |
277M /var/log/journal | |
ubuntu@ip-10-128-36-250:/etc$ date && du -h -s /var/log/* | sort -h | |
Mon Jul 20 00:30:26 UTC 2020 | |
22M /var/log/datadog |
This file contains hidden or 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
package main | |
import ( | |
"fmt" | |
"os" | |
"strings" | |
"github.com/aws/aws-sdk-go/service/cloudfront/sign" | |
"github.com/pkg/errors" | |
"github.com/urfave/cli" |
This file contains hidden or 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
### Keybase proof | |
I hereby claim: | |
* I am jherico on github. | |
* I am jherico (https://keybase.io/jherico) on keybase. | |
* I have a public key ASC5SdGM6KZdsreFtOW6Pt3tskWxcahRO9X5-jUh6aIqPgo | |
To claim this, I am signing this object: |
This file contains hidden or 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
2020-02-05 13:57:06.677 2103-2759/com.khronos.vulkan_samples I/VulkanSamples: [info] Logger initialized | |
2020-02-05 13:57:06.677 2103-2759/com.khronos.vulkan_samples I/VulkanSamples: [info] Window created | |
2020-02-05 13:57:06.724 2103-2759/com.khronos.vulkan_samples I/VulkanSamples: [info] Initializing Vulkan sample | |
2020-02-05 13:57:15.483 2103-2759/com.khronos.vulkan_samples I/VulkanSamples: [info] Enabled Validation Layer VK_LAYER_KHRONOS_validation | |
2020-02-05 13:57:15.486 2103-2103/com.khronos.vulkan_samples I/VulkanSamples: [info] ContentRectChanged: 0x7ece291ec0 | |
2020-02-05 13:57:15.487 2103-2358/com.khronos.vulkan_samples I/OpenGLRenderer: Davey! duration=1542ms; Flags=2, IntendedVsync=67425782832084, Vsync=67425782832084, OldestInputEvent=0, NewestInputEvent=0, HandleInputStart=67425782832084, AnimationStart=67425782832084, PerformTraversalsStart=67425782832084, DrawStart=67425782832084, SyncQueued=67425799203949, SyncStart=67425799210980, IssueDrawCommandsStart=67425803152595, SwapBuffers=67427321998996 |
This file contains hidden or 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
{ | |
"extensions": [ | |
{ | |
"name": "XR_KHR_D3D11_enable", | |
"version": 4 | |
}, | |
{ | |
"name": "XR_KHR_D3D12_enable", | |
"version": 5 | |
}, |
This file contains hidden or 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
case Accessor::Type::eSCALAR: | |
switch (componentType) { | |
case Accessor::ComponentType::eBYTE: | |
return normalized ? vk::Format::eR8Snorm : vk::Format::eR8Sint; | |
case Accessor::ComponentType::eUNSIGNED_BYTE: | |
return normalized ? vk::Format::eR8Unorm : vk::Format::eR8Uint; | |
case Accessor::ComponentType::eSHORT: | |
return normalized ? vk::Format::eR16Snorm : vk::Format::eR16Sint; | |
case Accessor::ComponentType::eUNSIGNED_SHORT: | |
return normalized ? vk::Format::eR16Unorm : vk::Format::eR16Uint; |
This file contains hidden or 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
case Accessor::Type::eSCALAR: | |
switch (componentType) { | |
case Accessor::ComponentType::eBYTE: | |
return normalized ? vk::Format::eR8Snorm : vk::Format::eR8Sint; | |
case Accessor::ComponentType::eUNSIGNED_BYTE: | |
return normalized ? vk::Format::eR8Unorm : vk::Format::eR8Uint; | |
case Accessor::ComponentType::eSHORT: | |
return normalized ? vk::Format::eR16Snorm : vk::Format::eR16Sint; | |
case Accessor::ComponentType::eUNSIGNED_SHORT: | |
return normalized ? vk::Format::eR16Unorm : vk::Format::eR16Uint; |
This file contains hidden or 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
package org.saintandreas.audiotest; | |
import android.Manifest; | |
import android.app.Activity; | |
import android.content.pm.PackageManager; | |
import android.media.MediaRecorder; | |
import android.opengl.GLES32; | |
import android.opengl.GLSurfaceView; | |
import android.os.Bundle; | |
import android.support.annotation.NonNull; |
This file contains hidden or 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
function(deviceName) { | |
navigator.mediaDevices.getUserMedia({ audio: true, video: false }).then(function(mediaStream) { | |
navigator.mediaDevices.enumerateDevices().then(function(devices) { | |
devices.forEach(function(device) { | |
if (device.kind == "audiooutput") { | |
if (device.label == deviceName){ | |
console.log("Changing HTML audio output to device " + device.label); | |
var deviceId = device.deviceId; | |
var videos = document.getElementsByTagName("video"); | |
for (var i = 0; i < videos.length; i++){ |
NewerOlder