Skip to content

Instantly share code, notes, and snippets.

View Amitpatil215's full-sized avatar
🫣
2b || !2b

Amit Patil Amitpatil215

🫣
2b || !2b
View GitHub Profile
@Amitpatil215
Amitpatil215 / readme.md
Created May 26, 2024 11:46
Multi Github account
@Amitpatil215
Amitpatil215 / android-generate-keystores.md
Created October 19, 2023 07:58 — forked from henriquemenezes/android-generate-keystores.md
Android: Generate Release/Debug Keystores

Android: Generate Release/Debug Keystores

Generate Keystores

Debug Keystore

$ keytool -genkey -v -keystore debug.keystore -storepass android -alias androiddebugkey -keypass android -keyalg RSA -keysize 2048 -validity 10000 -dname "C=US, O=Android, CN=Android Debug"
@Amitpatil215
Amitpatil215 / regex.txt
Created October 23, 2022 16:24
Some common regex examples
#include <iostream>
#include <regex>
#include <string>
using namespace std;
void PrintMatches2(string str, regex reg)
{
sregex_iterator currentMatch(str.begin(), str.end(), reg);
sregex_iterator lastMatch;
while (currentMatch != lastMatch)
@Amitpatil215
Amitpatil215 / bits-stdc++.h
Created June 8, 2021 13:40 — forked from Einstrasse/bits-stdc++.h
bits/stdc++.h header file
// C++ includes used for precompiling -*- C++ -*-
// Copyright (C) 2003-2015 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 3, or (at your option)
// any later version.
@Amitpatil215
Amitpatil215 / quotes_list.dart
Last active January 3, 2021 09:02
Some Quotes for Programmers
List<String> _quotes = [
"Don't comment bad code, rewrite it. - Brian Kernighan",
"First, solve the problem. Then, write the code. – John Johnson",
"In order to be irreplaceable, one must always be different – Coco Chanel",
"Perfection is achieved not when there is nothing more to add, but rather when there is nothing more to take away",
"Code is like humor. When you have to explain it, it’s bad. – Cory House",
"Fix the cause, not the symptom. – Steve Maguire ",
"Optimism is an occupational hazard of programming: feedback is the treatment. Kent Beck",
"Simplicity is the soul of efficiency. – Austin Freeman",
"Before software can be reusable it first has to be usable. – Ralph Johnson",
@Amitpatil215
Amitpatil215 / analysis_options.yaml
Last active December 27, 2020 18:34
Enable Null safety in flutter Project
analyzer:
enable-experiment:
- non-nullable