Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View Vitorbnc's full-sized avatar

Vitor Vitorbnc

  • Ireland
View GitHub Profile
@Vitorbnc
Vitorbnc / main.js
Created August 22, 2018 19:27
Buefy this.$toast is undefined error 1
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import Buefy from 'buefy'
import 'buefy/lib/buefy.css'
Vue.config.productionTip = false
@Vitorbnc
Vitorbnc / App.vue
Created August 22, 2018 19:26
Buefy this.$toast is undefined error
<template>
<div id="app">
<img src="./assets/logo.png">
<router-view/>
<button class="button" @click="logout">Test Toast</button>
</div>
</template>
<script>
export default {
@Vitorbnc
Vitorbnc / privacy.md
Created April 9, 2018 14:08
Hiper Privacy Policy

Política de Privacidade

Nós não coletamos nenhum dado do usuário.

@Vitorbnc
Vitorbnc / stm32_gpio_registers_and_c_bitwise.md
Created August 17, 2016 01:00
How to set bits in C and write to STM32 GPIO registers using Arduino IDE

STM32duino GPIO Registers and Programming

Bit Setting in C

Setting a bit

Use the bitwise OR operator ( | ) to set a bit.

number |= 1 << x;