Skip to content

Instantly share code, notes, and snippets.

View prydonius's full-sized avatar

Adnan Abdulhussein prydonius

View GitHub Profile

Keybase proof

I hereby claim:

  • I am prydonius on github.
  • I am prydonius (https://keybase.io/prydonius) on keybase.
  • I have a public key ASDDUi3n4DakJbA4y6jLrtl_a0RMn3LessVHwsWvKmH61Ao

To claim this, I am signing this object:

---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
annotations: {}
labels:
created-by: kubeapps
name: kubeless-ui-editor
name: kubeless-ui-editor
roleRef:
@prydonius
prydonius / deployment.yaml
Created March 2, 2017 23:01
Common Chart example
{{ $params := dict "top" . "deployment" .Values.deployment -}}
{{ define "mariadb.env" }}
env:
- name: MARIADB_ROOT_PASSWORD
valueFrom:
secretKeyRef:
name: {{ template "common.fullname" . }}
key: mariadb-root-password
- name: MARIADB_USER
@prydonius
prydonius / bitnami.json
Created January 26, 2017 22:34
MongoDB nami package (v3.4.1-1)
{
"id": "com.bitnami.mongodb",
"name": "mongodb",
"extends": [
"Service"
],
"revision": "1",
"author": {
"name": "Bitnami",
"url": "https://bitnami.com"
@prydonius
prydonius / gist:d40e027239eeb7f95d79
Created October 22, 2014 16:52
Sublime Settings
{
"auto_complete_commit_on_tab": true,
"caret_extra_top": 0,
"caret_style": "phase",
"color_scheme": "Packages/Solarized Color Scheme/Solarized (dark).tmTheme",
"dictionary": "Packages/Language - English/en_GB.dic",
"ensure_newline_at_eof_on_save": true,
"folder_exclude_patterns":
[
".svn",
require "rubygems"
require "bundler/setup"
require "stringex"
## -- Rsync Deploy config -- ##
# Be sure your public key is listed in your server's ~/.ssh/authorized_keys file
ssh_user = "user@domain.com"
ssh_port = "22"
document_root = "~/website.com/"
rsync_delete = false
@prydonius
prydonius / scoveride.rb
Created July 3, 2012 19:55
Overriding cursor to set speed
require "spinning_cursor"
module SpinningCursor
class Cursor
def spinner
delay = 0.1 # change the delay here
spinners = ['|', '/', '-', '\\']
i = 0
loop do
print " " unless @banner.empty?