Skip to content

Instantly share code, notes, and snippets.

View kkarakk's full-sized avatar
💭
Back on the grind

Karan Harsh Wardhan kkarakk

💭
Back on the grind
  • India
View GitHub Profile
@rvl
rvl / git-pushing-multiple.rst
Created February 9, 2016 11:41
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

@wcoder
wcoder / EditTextActivity.cs
Last active September 28, 2021 18:14
Example of formatted input for EditText using Xamarin Android
using Android.App;
using Android.Widget;
using Android.OS;
using Android.Views;
using Android.Text;
using Android.Runtime;
using Java.Text;
using System.Text.RegularExpressions;
namespace EditTextExample
@btoone
btoone / curl.md
Last active November 3, 2024 23:34
A curl tutorial using GitHub's API

Introduction

An introduction to curl using GitHub's API.

The Basics

Makes a basic GET request to the specifed URI

curl https://api.github.com/users/caspyin