Skip to content

Instantly share code, notes, and snippets.

View arthurcvm's full-sized avatar

Arthur Cezar arthurcvm

View GitHub Profile
@arthurcvm
arthurcvm / infinite_listview.dart
Created June 24, 2022 02:56 — forked from MarcinusX/infinite_listview.dart
This is source code for a blog post.
import 'dart:async';
import 'package:flutter/material.dart';
void main() => runApp(new MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return new MaterialApp(
@arthurcvm
arthurcvm / biblivre5_install.sh
Last active September 26, 2019 04:54 — forked from cleydyr/mint_install.sh
Script para implantar Biblivre 5 no Linux Ubuntu 16.04 like
#!/usr/bin/env bash
# Adiciona repositório que contém o PostgresSQL 9.1 (obsoleto)
echo "Adicionando repositório que contém o PostgresSQL 9.1 (obsoleto)"
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
# Instala chave de segurança do PostgreSQL
echo "Instalando chave de segurança do PostgreSQL"
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
# Atualiza repositórios
@arthurcvm
arthurcvm / clear.sh
Created April 4, 2016 14:57 — forked from wellingtonpgp/clear.sh
Shell script básico de limpeza
#!/bin/bash
# limpeza de arquivos inuteis no sistema
# Criado por Wellington P. Gonçalves (Wellington Geek)
# email: wellingtongeek@gmail.com, contato@wellingtongeek.com
# Para executar o script basta localizar a pasta e digitar chmod +x clear.sh
echo "Limpando a lixeira"
sudo rm -rf /home/$USER/.local/share/Trash/files/*
echo ""