Skip to content

Instantly share code, notes, and snippets.

View uhmiller's full-sized avatar
🔍
I'm looking for a job, hire me!

Uhtred M. uhmiller

🔍
I'm looking for a job, hire me!
View GitHub Profile
@uhmiller
uhmiller / exercicos-pagina-06.py
Last active January 3, 2020 22:14
Resolucao dos Exercicios da Pagina 06 - Cadeias de Caractres - Strings - Para Ivanilson Braga
# Usando exprecoes regulares para validacoa de text
import re
"""
Resolucao dos Exercicios da Pagina 06
Cadeias de Caractres - Strings
"""
# EXPRESSOES REGULARES COMPILADAS COMPILADAS
@uhmiller
uhmiller / insta-codingtips2-style.vue
Created September 19, 2019 10:13
How to easily use transitions in Vue ( separate, style ), this file is for a tutorial that i made on instagram, you can see in my instagram account ( @AgeuMatheus )
<style lang="sass" scoped>
/**
* Vue will generate this class name for us
* based on our transition name
*/
.fade-enter
opacity: 0
/**
* this is the transition style that will be applied
* when the popup appears and when it disappears
@uhmiller
uhmiller / insta-codingtips2-script.vue
Created September 19, 2019 10:11
How to easily use transitions in Vue ( separate, script ), this file is for a tutorial that i made on instagram, you can see in my instagram account ( @AgeuMatheus )
<script>
export default {
data () {
return {
show: false
}
},
methods: {
remove ( e ) {
/**
@uhmiller
uhmiller / insta-codingtips2-template.vue
Created September 19, 2019 10:10
How to easily use transitions in Vue ( separate, template ), this file is for a tutorial that i made on instagram, you can see in my instagram account ( @AgeuMatheus )
<template>
<div id="main">
<div class="main-c">
<h1>Click the button below to see the popup</h1>
<button @click="show = true">Open</button>
</div>
<!-- let's name our transition to differentiate it from other -->
<transition name="fade">
<!-- popup, black area -->
<div id="popup" ref="popup" v-show="show" @click="remove($event)">
@uhmiller
uhmiller / instagram-codetips-transition-with-vue.vue
Last active September 13, 2019 11:09
How to easily use transitions in Vue, this file is for a tutorial that i made on instagram, you can see in my instagram account ( @ageumatheus )
<template>
<div id="main">
<div class="main-c">
<h1>Click the button below to see the popup</h1>
<button @click="show = true">Open</button>
</div>
<!-- let's name our transition to differentiate it from other -->
<transition name="fade">
<!-- popup, black area -->
<div id="popup" ref="popup" v-show="show" @click="remove($event)">