Skip to content

Instantly share code, notes, and snippets.

View DnyaneshwarWagh's full-sized avatar
🎯
Focusing

Dnyaneshwar Wagh DnyaneshwarWagh

🎯
Focusing
  • 63moons Technologies
  • Mumbai, India
  • X @idrwagh
View GitHub Profile
@DnyaneshwarWagh
DnyaneshwarWagh / multi-git.md
Created November 19, 2017 16:49 — forked from rosswd/multi-git-win.md
Setting up a Github and Bitbucket account on the same computer.

Setting up github and bitbucket on the same computer

Github will be the main account and bitbucket the secondary.

Create SSH Keys

ssh-keygen -t rsa -C "github email"

Enter passphrase when prompted. If you see an option to save the passphrase in your keychain, do it for an easier life.

@DnyaneshwarWagh
DnyaneshwarWagh / git-pushing-multiple.rst
Created November 19, 2017 19:16 — forked from rvl/git-pushing-multiple.rst
How to push to multiple git remotes at once. Useful if you keep mirrors of your repo.

Pushing to Multiple Git Repos

If a project has to have multiple git repos (e.g. Bitbucket and Github) then it's better that they remain in sync.

Usually this would involve pushing each branch to each repo in turn, but actually Git allows pushing to multiple repos in one go.

If in doubt about what git is doing when you run these commands, just

@DnyaneshwarWagh
DnyaneshwarWagh / build.config
Created September 4, 2018 22:04 — forked from ryanhanwu/build.config
My iOS IPA build script for XCode workspace with CocoaPods installed
#Code Sign
PRODUCT_NAME="MyApp"
WORKSPACE_NAME=$PRODUCT_NAME
SCHEME_NAME=$PRODUCT_NAME
DEVELOPER_NAME="iPhone Developer: XXXXXXXX (2CA66F8Y8L)"
PROVISONNING_PROFILE_DEBUG="profile/OOO.mobileprovision"
PROVISONNING_PROFILE_RELEASE="profile/XXXXX.mobileprovision"
@DnyaneshwarWagh
DnyaneshwarWagh / .travis.yml
Created January 14, 2019 18:53 — forked from yjbanov/.travis.yml
Fast Flutter build
matrix:
# This causes the build to complete immediately upon first failure or once
# required jobs are green.
fast_finish: true
# Building APK/IPA takes a long time; do not wait for them to finish.
allow_failures:
- env: JOB=APK
- env: JOB=IPA
@DnyaneshwarWagh
DnyaneshwarWagh / .travis.yml
Created January 14, 2019 18:54 — forked from yjbanov/.travis.yml
Continuously build Flutter IPAs
os: osx
language: generic
osx_image: xcode8.3
before_script:
- pip install six
- brew update
- brew install --HEAD libimobiledevice
- brew install ideviceinstaller
- brew install ios-deploy
- git clone https://github.com/flutter/flutter.git -b alpha --depth 1
@DnyaneshwarWagh
DnyaneshwarWagh / .travis.yml
Created January 14, 2019 18:55 — forked from yjbanov/.travis.yml
Continuously build Flutter APKs
os: linux
language: android
licenses:
- 'android-sdk-preview-license-.+'
- 'android-sdk-license-.+'
- 'google-gdk-license-.+'
android:
components:
- tools
- platform-tools
diff --git a/packages/flutter_tools/lib/src/ios/devices.dart b/packages/flutter_tools/lib/src/ios/devices.dart
index c55cb8533..c17c290da 100644
--- a/packages/flutter_tools/lib/src/ios/devices.dart
+++ b/packages/flutter_tools/lib/src/ios/devices.dart
@@ -103,7 +103,7 @@ class IOSDevices extends PollingDeviceDiscovery {
IOSDevices() : super('iOS devices');
@override
- bool get supportsPlatform => platform.isMacOS;
+ bool get supportsPlatform => true;
@DnyaneshwarWagh
DnyaneshwarWagh / UIView+Accessibility.swift
Created April 25, 2019 15:55 — forked from cjnevin/UIView+Accessibility.swift
Automatically add Accessibility Labels/Identifiers to all components that extend UIView
import UIKit
private func isExcluded(_ kind: AnyClass) -> Bool {
let name = String(describing: kind)
return (name.count > 2 && name.prefix(2) == "UI") ||
(name.count > 3 && name.prefix(3) == "_UI")
}
extension UIControl {
override open var accessibilityIdentifier: String? {
@DnyaneshwarWagh
DnyaneshwarWagh / starUML.md
Created April 25, 2020 16:08 — forked from trandaison/starUML.md
Get full version of StarUML
@DnyaneshwarWagh
DnyaneshwarWagh / StarUml-V3.md
Created April 25, 2020 16:08 — forked from danteay/StarUml-V3.md
Active StarUml 3 license