Skip to content

Instantly share code, notes, and snippets.

View prydonius's full-sized avatar

Adnan Abdulhussein prydonius

View GitHub Profile
@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?
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 = "[email protected]"
ssh_port = "22"
document_root = "~/website.com/"
rsync_delete = false
@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",
@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 / 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
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
annotations: {}
labels:
created-by: kubeapps
name: kubeless-ui-editor
name: kubeless-ui-editor
roleRef:

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: