Skip to content

Instantly share code, notes, and snippets.

Avatar

Vitor Vitorbnc

  • Brasil
View GitHub Profile
@Vitorbnc
Vitorbnc / main.js
Created Aug 22, 2018
Buefy this.$toast is undefined error 1
View main.js
// 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 Aug 22, 2018
Buefy this.$toast is undefined error
View App.vue
<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 Apr 9, 2018
Hiper Privacy Policy
View privacy.md

Política de Privacidade

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

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

STM32duino GPIO Registers and Programming

Bit Setting in C

Setting a bit

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

number |= 1 << x;