Skip to content

Instantly share code, notes, and snippets.

Avatar
😻

Cesar de la Vega vegaro

😻
View GitHub Profile
@vegaro
vegaro / main.dart
Created Sep 19, 2019
Using PurchaserInfoUpdateListener
View main.dart
import 'package:flutter/material.dart';
import 'dart:async';
import 'package:flutter/services.dart';
import 'package:purchases_flutter/purchases_flutter.dart';
void main() {
runApp(MaterialApp(
title: 'RevenueCat Sample',
home: InitialScreen(),
View gist:8cba1171322d86596b6251d44646a7b9
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 17,
// font family with optional fallbacks
@vegaro
vegaro / gist:9470733
Last active Aug 29, 2015
.bashrc mysysgit
View gist:9470733
# Note: ~/.ssh/environment should not be used, as it
# already has a different purpose in SSH.
env=~/.ssh/agent.env
# Note: Don't bother checking SSH_AGENT_PID. It's not used
# by SSH itself, and it might even be incorrect
# (for example, when using agent-forwarding over SSH).
agent_is_running() {
@vegaro
vegaro / terrain.py
Last active Dec 20, 2015 — forked from scastillo/terrain.py
Lettuce's Terrain.py for Django + Google App Engine
View terrain.py
import logging
import os
# Add appengine stuff to path
import dev_appserver as script
script.fix_sys_path()
from google.appengine.api import yaml_errors
from google.appengine.tools import dev_appserver
from google.appengine.tools import dev_appserver_main as main