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
apiVersion: batch/v1 | |
kind: Job | |
metadata: | |
name: push-lambdabot | |
labels: | |
purpose: build | |
spec: | |
ttlSecondsAfterFinished: 30 | |
template: | |
spec: |
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
# by default, halyard doesn't set any k8s sizing. do our own | |
deploymentConfigurations[0].deploymentEnvironment.customSizing: | |
# replicate most deployments | |
spin-gate: | |
replicas: 2 | |
spin-deck: | |
replicas: 2 | |
spin-front50: | |
replicas: 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
apiVersion: batch/v1 | |
kind: Job | |
metadata: | |
name: push-dust-server | |
labels: | |
purpose: build | |
spec: | |
ttlSecondsAfterFinished: 30 | |
template: | |
spec: |
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
/* solar.js -- Solar position ported source | |
This file was a part of Redshift. | |
Redshift is free software: you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation, either version 3 of the License, or | |
(at your option) any later version. | |
Redshift is distributed in the hope that it will be useful, | |
but WITHOUT ANY WARRANTY; without even the implied warranty of | |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
GNU General Public License for more details. |
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
{folderId, userId} = @config | |
return unless folderId and userId | |
return unless user = Meteor.users.findOne userId | |
{assets_s3_bucket} = Meteor.settings.public | |
parts = assets_s3_bucket.split '/' | |
if parts[2] isnt 's3.amazonaws.com' | |
throw new Error 'Weird S3 bucket' | |
Bucket = parts[3] | |
AssetPrefix = parts.slice(4).join('/') |
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
package main | |
import ( | |
"fmt" | |
"strings" | |
"github.com/google/uuid" | |
"github.com/olekukonko/tablewriter" | |
) |
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
diff -u -p -r1.71 relay_http.c | |
--- relay_http.c 6 Aug 2018 17:31:31 -0000 1.71 | |
+++ relay_http.c 1 Mar 2019 01:33:35 -0000 | |
@@ -276,6 +276,13 @@ relay_read_http(struct bufferevent *bev, | |
DPRINTF("http_version %s http_rescode %s " | |
"http_resmesg %s", desc->http_version, | |
desc->http_rescode, desc->http_resmesg); | |
+ | |
+ // HTTP 101 Switching Protocols | |
+ if (desc->http_status == 101) { |
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
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEditor; | |
using UnityEngine; | |
using UnityEngine.SceneManagement; | |
using Random = UnityEngine.Random; | |
[RequireComponent(typeof(Rigidbody))] | |
public class PhysicalGolfball : MonoBehaviour |
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
<svg viewBox="-1 -1 2 2" style="transform: rotate(-90deg)"> | |
{{#each pieSlices}} | |
<path d={{pathData}} fill={{color}}></path> | |
{{/each}} | |
</svg> |
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
~ $ curl http://192.168.86.49:5004/auto/v5.1 --silent \ | |
| ffmpeg -nostdin -loglevel panic -f lavfi \ | |
-i movie=/dev/stdin[out+subcc] -map 0:1 -f srt - \ | |
| grep '</font>' | |
<font face="Monospace">{\an7}THE 2019 PRO BOWL</font> | |
PRESENT YOU GUYS THIS TROPHY.</font> | |
HERE YOU GO DOWN BELOW. YOU</font> | |
GOT IT. YOU GUYS GO. THERE WE</font> | |
GO GRADUATIONS GUYS. DID SHE</font> | |
COME JASON WIT WHEN THEY WORK</font> |