Skip to content

Instantly share code, notes, and snippets.

View hrishikesh-kadam's full-sized avatar

Hrishikesh Kadam hrishikesh-kadam

View GitHub Profile
@julianshen
julianshen / CircleTransform.java
Last active November 6, 2023 12:47
CircleTransform for Picasso
/*
* Copyright 2014 Julian Shen
*
* 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
*
* Unless required by applicable law or agreed to in writing, software
@fkrauthan
fkrauthan / TLSSocketFactory.java
Last active January 7, 2023 04:09
Custom SSLSocketFactory Implementation to enable tls 1.1 and tls 1.2 for android 4.1 (16+)
package net.cogindo.ssl;
import java.io.IOException;
import java.net.InetAddress;
import java.net.Socket;
import java.net.UnknownHostException;
import java.security.KeyManagementException;
import java.security.NoSuchAlgorithmException;
import javax.net.ssl.SSLContext;
@zbstof
zbstof / macos.sh
Last active July 22, 2024 07:49
Setup new Mac quickly
####### Set Up ########
# From https://github.com/mathiasbynens/dotfiles/blob/master/.macos :
# Close any open System Preferences panes, to prevent them from overriding
# settings we’re about to change
osascript -e 'tell application "System Preferences" to quit'
###### Install software ######
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install coreutils # gnu tools - everything has prefix g* - gsed, etc.
@JoeyBurzynski
JoeyBurzynski / active_os.sh
Last active August 8, 2024 20:17
Determine Active Operating System in Bash Script
#!/usr/bin/env bash
# * Determine operating system via $OSTYPE
function active_operating_system_ostype() {
echo
echo "Determining active operating system via \$OSTYPE"
echo " » \$OSTYPE output: $OSTYPE"
local active_os
@lukebrandonfarrell
lukebrandonfarrell / latest_googleplay_version_code.rb
Created February 22, 2021 10:50
Gets the latest Google Play version code using Fastlane google_play_track_version_codes
def latest_googleplay_version_code
productionVersionCodes = google_play_track_version_codes(track: 'production')
betaVersionCodes = google_play_track_version_codes(track: 'beta')
alphaVersionCodes = google_play_track_version_codes(track: 'alpha')
internalVersionCodes = google_play_track_version_codes(track: 'internal')
# puts version codes from all tracks into the same array
versionCodes = [
productionVersionCodes,
betaVersionCodes,
@eseidel
eseidel / flutter_companies.md
Last active November 13, 2023 14:28
List of companies serving Flutter developers

This is a list of companies serving Flutter developers who replied to my Twitter thread on June 14th, 2023.

This does not include companies using Flutter (there are simply too many to list!), only those offering products or services for Flutter developers.

Presence on this list is not imply any endorsement of the company or its products (other than Shorebird, of course, I endourse my own company).