Skip to content

Instantly share code, notes, and snippets.

View spacepluk's full-sized avatar

Oscar Morante spacepluk

  • Berlin
  • 05:02 (UTC +02:00)
View GitHub Profile
(defn seq!!
"Returns a (blocking!) lazy sequence read from a channel."
[c]
(lazy-seq
(when-let [v (<!! c)]
(cons v (seq!! c)))))
(defn -main
[& args]
(let [c (chan)]
.
./opt
./opt/Unity
./opt/Unity/MonoDevelop
./opt/Unity/MonoDevelop/bin
./opt/Unity/MonoDevelop/bin/MonoDevelop.xml
./opt/Unity/MonoDevelop/bin/Mono.Debugging.dll.mdb
./opt/Unity/MonoDevelop/bin/Xwt.Gtk.dll.config
./opt/Unity/MonoDevelop/bin/Xwt.Gtk.dll.mdb
./opt/Unity/MonoDevelop/bin/mdmonitor.exe.mdb
This file has been truncated, but you can view the full file.
.
./opt
./opt/Unity
./opt/Unity/MonoDevelop
./opt/Unity/MonoDevelop/bin
./opt/Unity/MonoDevelop/bin/MonoDevelop.xml
./opt/Unity/MonoDevelop/bin/Mono.Debugging.dll.mdb
./opt/Unity/MonoDevelop/bin/Xwt.Gtk.dll.config
./opt/Unity/MonoDevelop/bin/Xwt.Gtk.dll.mdb
./opt/Unity/MonoDevelop/bin/mdmonitor.exe.mdb
diff --git a/Assets/Scenes/Level Testing 2.unity b/Assets/Scenes/Level Testing 2.unity
index 743c360..b5c63b6 100644
--- a/Assets/Scenes/Level Testing 2.unity
+++ b/Assets/Scenes/Level Testing 2.unity
@@ -37,7 +37,7 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
- m_IndirectSpecularColor: {r: 0.10175551, g: 0.08005973, b: 0.14786151, a: 1}
+ m_IndirectSpecularColor: {r: 0.101744734, g: 0.0800569, b: 0.14785084, a: 1}
diff --git a/Assets/Scenes/Level Testing 2.unity b/Assets/Scenes/Level Testing 2.unity
index 743c360..b5c63b6 100644
--- a/Assets/Scenes/Level Testing 2.unity
+++ b/Assets/Scenes/Level Testing 2.unity
@@ -37,7 +37,7 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
- m_IndirectSpecularColor: {r: 0.10175551, g: 0.08005973, b: 0.14786151, a: 1}
+ m_IndirectSpecularColor: {r: 0.101744734, g: 0.0800569, b: 0.14785084, a: 1}
{
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
diff --git a/dashboard.json b/dashboard.json
index 7023e64..4167a24 100644
--- a/dashboard.json
+++ b/dashboard.json
@@ -377,7 +377,7 @@
},
"targets": [
{
- "expr": "sum (container_fs_usage_bytes{device=\"/dev/vda9\",id=\"/\",kubernetes_io_hostname=~\"^$Node$\"}) / sum (container_fs_limit_bytes{device=\"/dev/vda9\",id=\"/\",kubernetes_io_hostname=~\"^$Node$\"}) * 100",
+ "expr": "sum (container_fs_usage_bytes{device=\"/dev/xvda9\",id=\"/\",kubernetes_io_hostname=~\"^$Node$\"}) / sum (container_fs_limit_bytes{device=\"/dev/xvda9\",id=\"/\",kubernetes_io_hostname=~\"^$Node$\"}) * 100",
apiVersion: v1
kind: Service
metadata:
name: grafana
namespace: monitoring
spec:
ports:
- port: 3000
targetPort: 3000
selector:
@spacepluk
spacepluk / -
Created September 20, 2016 11:15
Name : python-sqlparse
Version : 0.2.1-1
Description : Non-validating SQL parser for Python
Architecture : any
URL : https://github.com/andialbrecht/sqlparse
Licenses : BSD
Groups : None
Provides : None
Depends On : python
Optional Deps : None
@spacepluk
spacepluk / -
Created September 20, 2016 11:15
usage: sqlformat [OPTIONS] FILE, ...
Format FILE according to OPTIONS. Use "-" as FILE to read from stdin.
positional arguments:
filename
optional arguments:
-h, --help show this help message and exit
-o FILE, --outfile FILE