Skip to content

Instantly share code, notes, and snippets.

View pedroborges's full-sized avatar
🏠
Working from home

Pedro Borges pedroborges

🏠
Working from home
  • Brazil
View GitHub Profile
@pedroborges
pedroborges / Alert.vue
Created December 16, 2015 19:35 — forked from martinlindhe/Alert.vue
jasmine + karma for vue test
<style>
.Alert {
padding: 2em;
}
.Alert-Success {
border: 10px solid green;
}
.Alert-Error {
border: 10px solid red;
}
/* Generate unique values with the UUID() function. */
UPDATE table SET column = UUID();
/* Optionally strip the hyphens from the values. */
UPDATE table SET column = REPLACE(UUID(), '-', '');