Skip to content

Instantly share code, notes, and snippets.

View webrror's full-sized avatar
:shipit:

Jerin webrror

:shipit:
View GitHub Profile
@webrror
webrror / scrcpy
Created July 20, 2025 12:09
scrcpy commands
scrcpy --video-codec=h265 --max-size=1920 --max-fps=60 --turn-screen-off --stay-awake --no-mouse-hover --always-on-top --no-audio
@webrror
webrror / fluttercommands.zprofile
Last active May 11, 2025 19:56
Flutter Commands Aliases
alias brb="dart run build_runner build --delete-conflicting-outputs"
alias fdv="flutter doctor -v"
alias fd="flutter doctor"
alias fv="flutter --version"
alias buildapk="flutter build apk --split-per-abi --target-platform android-arm64,android-arm"
@webrror
webrror / logger.dart
Created October 13, 2024 09:45
This Dart code defines a custom logger for Flutter/Dart applications, utilizing ANSI color codes for console output. The logger supports four levels of logging: debug, info, warning, and error, with the ability to log additional error details.
// logger.dart
import 'dart:developer' as developer;
import 'package:flutter/foundation.dart';
import 'package:intl/intl.dart';
// ANSI color codes for colored output in the console
const String _reset = '\x1B[0m';
const String _red = '\x1B[31m';
const String _green = '\x1B[32m';
const String _yellow = '\x1B[33m';
@webrror
webrror / .wezterm.lua
Created August 18, 2024 16:49
My wezterm config on MacOS
local wezterm = require 'wezterm'
local config = wezterm.config_builder()
config.color_scheme = 'Catppuccin Mocha'
config.window_background_opacity = 0.75
config.macos_window_background_blur = 20
config.integrated_title_buttons = { 'Close', 'Maximize' }
config.tab_bar_at_bottom = true
@webrror
webrror / Info.plist
Created March 13, 2023 06:05
All possible iOS permissions in Info.plist file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
@webrror
webrror / AndroidManifest.xml
Created March 13, 2023 06:04
All possible android permissions for AndroidManifest file
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.baseflow.permissionhandler.example">
<!--
Internet permissions do not affect the `permission_handler` plugin, but are required if your app needs access to
the internet.
-->
<uses-permission android:name="android.permission.INTERNET"/>
@webrror
webrror / Flutter.code-snippets
Last active February 11, 2024 01:53
VS Code snippets for flutter
{
"Default Minimal App System Theme": {
"scope": "dart",
"body": [
"import 'package:flutter/material.dart';",
"",
"void main() {",
" runApp(MaterialApp(",
" title: 'Flutter Demo',",
" debugShowCheckedModeBanner: false,",
@webrror
webrror / settings.json
Created October 18, 2021 03:26
Windows Terminal Settings with default home directory for Ubuntu shell
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions":
[
{
"command":
{
"action": "copy",
"singleLine": false
},