Skip to content

Instantly share code, notes, and snippets.

View gairick-saha's full-sized avatar
🏠
Working from home

Gairick Saha gairick-saha

🏠
Working from home
View GitHub Profile
@gairick-saha
gairick-saha / darkmode.dart
Created May 18, 2023 18:10 — forked from maheshmnj/darkmode.dart
Sample code showing dark mode transition similar to Telegram in flutter with circular transition
class DarkTransition extends StatefulWidget {
const DarkTransition(
{required this.childBuilder,
Key? key,
this.offset = Offset.zero,
this.themeController,
this.radius,
this.duration = const Duration(milliseconds: 400),
this.isDark = false})
: super(key: key);
@gairick-saha
gairick-saha / install_elixir_ubuntu21-10.bash
Created December 29, 2022 13:27 — forked from tgroshon/install_elixir_ubuntu21-10.bash
Installing Latest Erlang and Elixir on Ubuntu 20+
# Install the Erlang Solutions apt key; Alternative way https://askubuntu.com/questions/1286545/what-commands-exactly-should-replace-the-deprecated-apt-key
wget https://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc
sudo apt-key add erlang_solutions.asc
# 'focal' is the latest available but an empty 'impish' directory exists and will probably be ready soon
sudo echo 'deb https://packages.erlang-solutions.com/ubuntu focal contrib' | sudo tee /etc/apt/sources.list.d/erlang-solutions.list
sudo apt update
sudo apt install esl-erlang elixir
Code Desc Details
10001 Account is not active https://www.twilio.com/docs/api/errors/10001
10002 Trial account does not support this feature https://www.twilio.com/docs/api/errors/10002
10003 Incoming call rejected due to inactive account https://www.twilio.com/docs/api/errors/10003
11100 Invalid URL format https://www.twilio.com/docs/api/errors/11100
11200 HTTP retrieval failure https://www.twilio.com/docs/api/errors/11200
11205 HTTP connection failure https://www.twilio.com/docs/api/errors/11205
11206 HTTP protocol violation https://www.twilio.com/docs/api/errors/11206
11210 HTTP bad host name https://www.twilio.com/docs/api/errors/11210
11215 HTTP too many redirects https://www.twilio.com/docs/api/errors/11215
@gairick-saha
gairick-saha / README.md
Created November 19, 2019 16:42 — forked from willprice/README.md
Install OpenCV 4.1.2 for Raspberry Pi 3 or 4 (Raspbian Buster)

Install OpenCV 4.1.2 on Raspbian Buster

$ chmod +x *.sh
$ ./download-opencv.sh
$ ./install-deps.sh
$ ./build-opencv.sh
$ cd ~/opencv/opencv-4.1.2/build
$ sudo make install
<!DOCTYPE html>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style>
body {
background: repeat url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/7QCIUGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAAGscAVoAAxslRxwCAAACAAAcAnQAV8KpIENoYWV5b3VuZ1dpbGxOZXZlckNoYWVvbGQgLSBodHRwOi8vd3d3LnJlZGJ1YmJsZS5jb20vcGVvcGxlL0NoYWV5b3VuZ1dpbGxOZXZlckNoYWVvbAD/4gxYSUNDX1BST0ZJTEUAAQEAAAxITGlubwIQAABtbnRyUkdCIFhZWiAHzgACAAkABgAxAABhY3NwTVNGVAAAAABJRUMgc1JHQgAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLUhQICAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABFjcHJ0AAABUAAAADNkZXNjAAABhAAAAGx3dHB0AAAB8AAAABRia3B0AAACBAAAABRyWFlaAAACGAAAABRnWFlaAAACLAAAABRiWFlaAAACQAAAABRkbW5kAAACVAAAAHBkbWRkAAACxAAAAIh2dWVkAAADTAAAAIZ2aWV3AAAD1AAAACRsdW1pAAAD+AAAABRtZWFzAAAEDAAAACR0ZWNoAAAEMAAAAAxyVFJDAAAEPAAACAxnVFJDAAAEPAAACAxiVFJDAAAEPAAACAx0ZXh0AAAAAENvcHlyaWdodCAoYykgMTk5OCBIZXdsZXR0LVBhY2thcmQgQ29tcGFueQAAZGVzYwAAAAAAAAASc1JHQiBJRUM2MTk2Ni0yLjEAAAAAAAAAAAAAABJzUkdCIElFQzYxOTY2LTIuMQAAAAAAAA