Skip to content

Instantly share code, notes, and snippets.

View tripledes's full-sized avatar

Sergi Jimenez tripledes

View GitHub Profile
{
"meta": {
"type": "db",
"canSave": false,
"canEdit": false,
"canAdmin": false,
"canStar": true,
"slug": "meteo-dashboard",
"url": "/d/YXgkwzOGz/meteo-dashboard",
"expires": "0001-01-01T00:00:00Z",
@tripledes
tripledes / minikube-1.12
Created July 14, 2020 17:43
PKGBUILD diff for minikube 1.12
diff --git a/minikube/repos/community-x86_64/PKGBUILD b/minikube/repos/community-x86_64/PKGBUILD
index 75c692753da..d2c9294645a 100644
--- a/minikube/repos/community-x86_64/PKGBUILD
+++ b/minikube/repos/community-x86_64/PKGBUILD
@@ -2,9 +2,9 @@
# Contributor: Ivan Shapovalov <intelfx@intelfx.name>
pkgname=minikube
-pkgver=1.11.0
-_minikube_commit=57e2f55f47effe9ce396cea42a1e0eb4f611ebbd
@tripledes
tripledes / gist:ae4509dbd30bc6826070
Created September 23, 2014 14:45
ruby-lxc attach, run_command and stdout
require 'lxc'
require 'stringio'
c = LXC::Container.new('test')
unless c.running?
c.start
c.wait(:running,5)
end

Keybase proof

I hereby claim:

  • I am tripledes on github.
  • I am tripledes (https://keybase.io/tripledes) on keybase.
  • I have a public key whose fingerprint is FD62 D32E 6863 237C 2605 934D AA86 B0BF A411 C071

To claim this, I am signing this object:

@tripledes
tripledes / testarrays
Last active August 29, 2015 13:56
test java arrays
class ArrayDemo {
public static void main(String[] args) {
// declares an array of integers
int[] anArray;
int i,x;
// allocates memory for 10 integers
anArray = new int[10];
@tripledes
tripledes / gist:5282376
Last active December 15, 2015 15:29
Defined type, it seems I'm confused with ${name} usage...as I understood it, the augeas resource should translate $name for its own name...but instead is picking the defined type's name...
define debnet::bridge(
$brname=$name,
$members=[],
$ipaddr='',
$netmask='',
$gateway='',