Skip to content

Instantly share code, notes, and snippets.

@NaPs
NaPs / chart-values.yaml
Last active December 2, 2021 16:15
Velero issue
configuration:
provider: aws
backupStorageLocation:
name: default
bucket: kubernetes-backup
config:
region: de
s3ForcePathStyle: true
s3Url: https://s3.de.cloud.ovh.net
volumeSnapshotLocation:
@NaPs
NaPs / Foo.md
Last active June 25, 2020 09:30

Warning Warning
This chart is currently released as an alpha quality version. We encourage you to test it but please, do not put it in production. Please No.

# -*- coding: utf-8 -*-
# Located in ~/.FreeCAD/Macro/export.FCMacro
import os
import FreeCAD
import Mesh
import MeshPart
import PartDesign
### Keybase proof
I hereby claim:
* I am naps on github.
* I am naps (https://keybase.io/naps) on keybase.
* I have a public key ASC0Nw6T6dwaa59iL6zg5lAv4IK63NFGmispSYuW3xT2lgo
To claim this, I am signing this object:
#!/bin/bash
#
# Create and spawn a new virtual machine with Debian Squeeze
#
#
# Configuration:
DEFAULT_STORAGE="storage"
DEFAULT_BRIDGE="internet"
w='on the wall'
b=lambda x:'%d bottle%s of beer'%(x,'s'*(x>1))
v,p,n=',.\n'
def z(a='Take one down and pass it around',o=1):print b(i),w+v,b(i)+p+n,a+v,b((i-o)%100),w+p+n
i=99
while i>1:z();i-=1
z('Go to the store and buy some more',2)
@NaPs
NaPs / df.py
Created December 8, 2009 23:42
#!/usr/bin/env python
# coding=utf8
import subprocess
from graphit.client import GraphItAgent
# Parameters :
mountpoint = '/mnt/data'
#!/usr/bin/env python
#coding=utf8
'''
Lala
'''
class State(object):
''' Représente un état de l'automate. '''
#!/usr/bin/env python
#coding=utf8
from automatelib import State, Transition, Automaton, EpsilonTransition
if __name__ == '__main__':
# Automate de test acceptant l'alphabet {a, b, c} et dont les mots
# commencent et finissent forcément par a.
#~ s1 = State('1')
Const reading = 1
Const writing = 2
set wmi_service = getobject("winmgmts:" & "{impersonationLevel=impersonate}!\\"& strComputer &"\root\cimv2")
set processes = wmi_service.execquery("select * from Win32_Process")