Skip to content

Instantly share code, notes, and snippets.

View boanergepro's full-sized avatar
🤓
Flutter <3

Antony Carrizo boanergepro

🤓
Flutter <3
View GitHub Profile
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/home/boanergepro/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
@boanergepro
boanergepro / .i3
Created March 16, 2020 17:27
Configuración escritorio i3 para manjaroi3
# i3 config file (v4)
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
# Set mod key (Mod1=<Alt>, Mod4=<Super>)
set $mod Mod4
# set default desktop layout (default is tiling)
# workspace_layout tabbed <stacking|tabbed>
# Configure border style <normal|1pixel|pixel xx|none|pixel>
@boanergepro
boanergepro / app.dart
Created July 1, 2019 18:55
Flutter dynamic theming - Change theme at runtime using Provider
import 'package:flutter/material.dart';
class AppProvider with ChangeNotifier {
ThemeData _currentTheme;
AppProvider() {
_currentTheme = ThemeDat.light()
}
ThemeData get currentTheme => _currentTheme;
@boanergepro
boanergepro / server.go
Last active November 2, 2017 14:54
Como crear un servidor en go usando iris
package main
import(
"github/kataras/iris"
)
func main() {
@boanergepro
boanergepro / pdf.js
Created September 14, 2017 14:08 — forked from danawoodman/pdf.js
Example of using pdfkit in Node.js
var fs = require('fs');
var PDFDocument = require('pdfkit');
var pdf = new PDFDocument({
size: 'LEGAL', // See other page sizes here: https://github.com/devongovett/pdfkit/blob/d95b826475dd325fb29ef007a9c1bf7a527e9808/lib/page.coffee#L69
info: {
Title: 'Tile of File Here',
Author: 'Some Author',
}
});