Skip to content

Instantly share code, notes, and snippets.

View vlad-stoian's full-sized avatar
😵
99 bugs in the code, take one down, deploy it around… 127 bugs in the code!

Vlad Stoian vlad-stoian

😵
99 bugs in the code, take one down, deploy it around… 127 bugs in the code!
View GitHub Profile
// 1. Fix bad naming.
class ShoppingCart {
UUID getShopingCartId() { ... }
boolean checkFreeShippingEligibility() { ... }
void removeOrderItem(OrderItem orderItem) { ... }
void addOrderItem(OrderItem orderItem) { ... }
Collection<OrderItem> getOrderItems() { ... }
}
- type: replace
path: /name?
value: ((deployment_name))
- type: replace
path: /instance_groups/name=worker/instances?
value: ((number_of_workers))
- type: replace
path: /instance_groups/name=worker/update?
- type: replace
path: /instance_groups/name=master/networks/name=default/name
value: ((network_name))
- type: replace
path: /instance_groups/name=worker/networks/name=default/name
value: ((network_name))
- type: replace
path: /instance_groups/name=apply-addons/networks/name=default/name

Examples

TL;DR

The schema will be stable in a single production deployment. Schema changes will occur between production deployments when:

  • A new property to an existing event type is added, a new column is created in VAC.
  • A new event type is added, a new table is created in VAC.
@vlad-stoian
vlad-stoian / linux-mint.md
Created October 22, 2017 18:21
Linux Mint Interesting

How to enable/disable or change the autologin user ?

# Change the following file /etc/lightdm/lightdm.conf to something like the following
[Seat:*]
autologin-guest=false
autologin-user=vlad
autologin-user-timeout=0