Skip to content

Instantly share code, notes, and snippets.

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

Boris Barroso boriscy

🏠
Working from home
  • Lead With Purpose
  • Samaipata, Bolivia
View GitHub Profile
import 'dart:async';
void main() {
var duration = Duration(milliseconds: 500);
var t = Timer.periodic(duration, (Timer t) {
print('Update ${t}');
});
print(t.isActive);
@boriscy
boriscy / Course.md
Last active September 7, 2021 19:38
Flutter Course
@boriscy
boriscy / AudioContent.md
Last active January 18, 2022 03:18
Audio
@boriscy
boriscy / commands.md
Created June 10, 2021 13:31
Tailwind tricks

npx tailwindcss init demo/tailwind.config.js --full

<script lang="ts">
import { createEventDispatcher } from "svelte"
import { fade, fly } from "svelte/transition"
import Fa from "svelte-fa"
import { faTimes } from "@fortawesome/free-solid-svg-icons"
let open = false
export let closeButton = true
export let closeOnEsc = true
@boriscy
boriscy / .rubocop.yml
Created April 21, 2021 13:36 — forked from jhass/.rubocop.yml
My preferred Rubocop config
AllCops:
RunRailsCops: true
# Commonly used screens these days easily fit more than 80 characters.
Metrics/LineLength:
Max: 120
# Too short methods lead to extraction of single-use methods, which can make
# the code easier to read (by naming things), but can also clutter the class
Metrics/MethodLength:
@boriscy
boriscy / animation.css
Last active April 11, 2021 15:41
CSS tips
/*Rotation*/
.box {
animation: rotate 1s ease infinite;
}
@keyframes rotate {
0% {
-webkit-transform: rotate(0);
transform: rotate(0);
}