Skip to content

Instantly share code, notes, and snippets.

View nimi0112's full-sized avatar
🎯
Focusing

Nimish Nandwana nimi0112

🎯
Focusing
View GitHub Profile
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@fbn4sc
fbn4sc / command.txt
Created January 29, 2018 01:35
Delete all branches except master and develop.
git branch | grep -v "master\|develop" | xargs git branch -D
@sembozdemir
sembozdemir / App.java
Created July 3, 2016 17:55
Initializing Timber in the Application class
public class App extends Application {
@Override
public void onCreate() {
super.onCreate();
Timber.plant(BuildConfig.DEBUG
? new Timber.DebugTree()
: new CrashReportingTree());
@lopspower
lopspower / README.md
Last active May 13, 2025 01:14
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

Download This sample on Google Play Store

@parmentf
parmentf / GitCommitEmoji.md
Last active May 12, 2025 06:48
Git Commit message Emoji

Inspired by dannyfritz/commit-message-emoji

See also gitmoji.

Commit type Emoji
Initial commit πŸŽ‰ :tada:
Version tag πŸ”– :bookmark:
New feature ✨ :sparkles:
Bugfix πŸ› :bug:
@viktorbenei
viktorbenei / script_content.sh
Last active October 13, 2021 15:35
List available shared Schemes in an Xcode Project/Workspace file
#!/bin/bash
echo "=== List of available, **shared** Schemes ==="
set -x
# if you use a Workspace (.xcworkspace) file
xcodebuild -workspace $BITRISE_PROJECT_PATH -list
# or if you use a Project file (.xcodeproj) instead
xcodebuild -project $BITRISE_PROJECT_PATH -list
set +x
echo "============================================="
@shiva27
shiva27 / SourceCodeLineCounter.java
Created December 5, 2011 04:24
Counting Source Code lines in a Java file
package examples;
import java.io.BufferedReader;
import java.io.IOException;
/**
* This class counts the number of source code lines by excluding comments, in a Java file
* The pseudocode is as below
*
* Initial: Set count = 0, commentBegan = false