Skip to content

Instantly share code, notes, and snippets.

View denisdemaisbr's full-sized avatar

DENIS DOS SANTOS SILVA denisdemaisbr

View GitHub Profile
@denisdemaisbr
denisdemaisbr / Flutter Clean.md
Created March 8, 2024 18:51 — forked from minhcasi/Flutter Clean.md
These are common issues on Flutter and solutions to fix

Quick Clean Cache

  1. Open android studio Tools->Flutter->Clean
  2. Go to File -> Invalidate Caches / Restart
  3. Or open terminal run "flutter clean"
  4. Remove pubspec.lock
  5. Double check the Flutter SDK Path config correcty - https://tppr.me/qn6dP

Or open the terminal and try this script:

flutter clean
@denisdemaisbr
denisdemaisbr / Android.mk
Created March 4, 2024 04:09 — forked from knighthedspi/Android.mk
Render to screen using FrameBuffer using OpenGL ES 2.0
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := FriengerScreenRecord
LOCAL_SRC_FILES := Log.cpp CustomFrameBuffer.cpp CustomFrameTexture.cpp FriengerScreenRecord.cpp
LOCAL_CFLAGS := -Werror -std=gnu++11
LOCAL_LDLIBS := -llog -lGLESv2
@denisdemaisbr
denisdemaisbr / fsm.c
Created January 21, 2024 16:29 — forked from ankurs/fsm.c
FSM in C
/**
* @file fsm.c
* @brief an implementation for a FSM in C, this file contains
* implementation of definations.
* License GPLv3+
* @author Ankur Shrivastava
*/
#include "fsm.h"
#include<stdlib.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
#include <sys/resource.h>
double get_time()
{
struct timeval t;
struct timezone tzp;
gettimeofday(&t, &tzp);
@denisdemaisbr
denisdemaisbr / ipfs-on-raspberry-pi.md
Created May 8, 2022 08:28 — forked from peterVG/ipfs-on-raspberry-pi.md
Put IPFS decentralized storage on your Raspberry Pi with USB storage

I put IPFS on a Raspberry Pi and so should you!

Total cost of joining the decentralized storage revolution with your own lo-fi node: $124 USD

raspberry-ipfs

@denisdemaisbr
denisdemaisbr / ffmpeg-to-480p.sh
Last active April 7, 2022 00:45 — forked from blacklee/ffmpeg-to-480p.sh
ffmpeg convert video to 480p
#!/bin/sh
set -e
# TODO:
# - check arguments
# - check file
ffmpeg -i $1 -s hd480 -c:v libx264 -crf 23 -c:a aac -strict -2 `basename $1 .mp4`_480p.mp4