Skip to content

Instantly share code, notes, and snippets.

@beagleknight
beagleknight / cloudSettings
Last active April 5, 2017 12:23
Visual Studio Code Sync Settings Gist
{"lastUpload":"2017-04-05T12:23:24.411Z","extensionVersion":"v2.6.2"}
@beagleknight
beagleknight / cloudSettings
Created April 5, 2017 12:24
Visual Studio Code Sync Settings Gist
{"lastUpload":"2017-04-05T12:24:48.989Z","extensionVersion":"v2.6.2"}
class MigrateTemplateTextsToSettings < ActiveRecord::Migration[5.1]
class Feature < ApplicationRecord
self.table_name = :decidim_features
end
def up
template_texts = execute "SELECT * from decidim_accountability_template_texts"
template_texts.each do |template_text|
feature = Feature.find(template_text["decidim_feature_id"])
feature.settings["global"].merge!(
apiVersion: v1
kind: Pod
metadata:
name: hello-pod
labels:
zone: prod
version: v1
spec:
containers:
- name: hello-ctr

Keybase proof

I hereby claim:

  • I am beagleknight on github.
  • I am beagleknight (https://keybase.io/beagleknight) on keybase.
  • I have a public key ASCt0klgwwiMK4hvFeihxIwd-gqX0MpNH0cogYEAQ_Woogo

To claim this, I am signing this object:

In case you are interested on some of the tools I mentioned I am gonna just leave a list of links here:

I also mentioned these three CLI tools written in Rust: