Skip to content

Instantly share code, notes, and snippets.

@infernix
infernix / vcsa-kvm.yml
Created February 10, 2016 19:23
Create a VMware VCSA appliance under KVM with libvirt and ansible
---
- name: Generate a KVM enabled VMWare VCSA VM under libvirt
hosts: 127.0.0.1
connection: local
vars:
- reqpkgs_apt:
- bsdtar
- libguestfs-tools
- qemu-utils
- virtinst
@leonardoeloy
leonardoeloy / create_issue_from_note_gitlab.patch
Created September 26, 2012 12:08
Create issue from note in Gitlab
--- gitlabhq_original/app/controllers/notes_controller.rb 2012-09-26 08:58:50.000000000 -0300
+++ gitlabhq/app/controllers/notes_controller.rb 2012-09-26 08:35:35.000000000 -0300
@@ -17,6 +17,17 @@
def create
@note = Notes::CreateContext.new(project, current_user, params).execute
+ if not params[:create_issue].nil?
+ issue_params = {
+ :title => params[:note][:note][0..40] + "...",
+ :description => "#{params[:note][:note]} \n\nNote %#{@note.id}",
@viniciusteles
viniciusteles / gist:556029
Created August 29, 2010 06:20
Sete Atitudes para Hackear a Indústria de Software
Sete Atitudes para Hackear a Indústria de Software
By Klaus Wuestefeld
1) Torne-se excelente.
Seja realmente bom em alguma coisa. Não fique só choramingando ou
querendo progredir às custas dos outros. Não pense q pq vc sentou 4
anos numa faculdade ouvindo um professor falar sobre software q vc
sabe alguma coisa. Jogador de futebol não aprende a jogar bola tendo