- create repo on github (from web interface)
- run script:
./bitbucket_to_github.sh <user_name> <repository_name>
#!/usr/bin/env bash | |
# For Xamarin Android or iOS, change the package name located in AndroidManifest.xml and Info.plist. | |
# AN IMPORTANT THING: YOU NEED DECLARE PACKAGE_NAME, PACKAGE_VERSION ENVIRONMENT VARIABLE IN APP CENTER BUILD CONFIGURATION. | |
PACKAGE_NAME="com.your.name" | |
PACKAGE_VERSION="0.1" | |
ANDROID_PROJECT_PATH="ProjectName.Android" | |
ANDROID_MANIFEST_PATH="$ANDROID_PROJECT_PATH/Properties/AndroidManifest.xml" |
using System; | |
using System.Collections.Generic; | |
using System.Collections.Specialized; | |
using System.Threading; | |
using AsyncDisplayKitBindings; | |
using Foundation; | |
using UIKit; | |
using Softeq.XToolkit.Common.Collections; | |
using Softeq.XToolkit.Common.WeakSubscription; |
using System; | |
using UIKit; | |
namespace XamarinOfficeUIFabric | |
{ | |
public static class ColorExtensions | |
{ | |
// Original MS Source: | |
// https://github.com/OfficeDev/office-ui-fabric-ios/blob/master/OfficeUIFabricCore/OfficeUIFabricCore/Core/Colors/UIColorMSHashExtension.swift | |
public static UIColor MSHashColor(this string hash) |
find -E . -regex ".*/(bin|obj)" -type d -exec rm -r "{}" \; |
# EditorConfig is awesome: http://EditorConfig.org | |
# Based on: | |
# https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-code-style-settings-reference | |
# https://github.com/dotnet/roslyn/blob/master/.editorconfig | |
# top-most EditorConfig file | |
root = true |
<?xml version="1.0" encoding="utf-8" ?> | |
<resources> | |
<!-- Colors --> | |
<color name="CustomHighlight">@android:color/transparent</color> | |
<color name="DarkOverride">@android:color/black</color> | |
<color name="Brand">#BE1003</color> | |
<style name="MainTheme" parent="MainTheme.Base"> | |
</style> | |
:: /t:Rebuild /p:Configuration=Debug | |
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\MSBuild.exe" ProgressDownload\ProgressDownload.csproj /t:Clean | |
:: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\MSBuild.exe" ProgressDownload\ProgressDownload.csproj /t:Build /p:Configuration=Debug /t:SignAndroidPackage |
192.168.0.2
(fiddler machine IP)192.168.0.2
var handler = new HttpClientHandler
{
UseProxy = true,