Skip to content

Instantly share code, notes, and snippets.

View mkobar's full-sized avatar

mkobar mkobar

View GitHub Profile
@mkobar
mkobar / Update-branch.md
Created February 18, 2021 17:37 — forked from whoisryosuke/Update-branch.md
Bring your feature branch up to date with master. Deploying from Git branches adds flexibility. Bring your branch up to date with master and deploy it to make sure everything works. If everything looks good the branch can be merged. Otherwise, you can deploy your master branch to return production to its stable state.

Updating a feature branch

First we'll update your local master branch. Go to your local project and check out the branch you want to merge into (your local master branch)

$ git checkout master

Fetch the remote, bringing the branches and their commits from the remote repository. You can use the -p, --prune option to delete any remote-tracking references that no longer exist in the remote. Commits to master will be stored in a local branch, remotes/origin/master

@mkobar
mkobar / .block
Last active December 10, 2022 13:05 — forked from NPashaP/.block
Map Tree
license: gpl-3.0
@mkobar
mkobar / gist:d8bba62b9b69ecc906c1e740524b8488
Created December 7, 2018 17:07 — forked from pitch-gist/gist:2999707
HTML: Simple Maintenance Page
<!doctype html>
<title>Site Maintenance</title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
</style>
@mkobar
mkobar / keybase.md
Created October 19, 2018 14:41
keybase proof

Keybase proof

I hereby claim:

  • I am mkobar on github.
  • I am mkobar (https://keybase.io/mkobar) on keybase.
  • I have a public key ASApds2AnXOFCwy2qTYBKnC_VgUrCNGJLBHGpBW90rg6rQo

To claim this, I am signing this object:

@mkobar
mkobar / Rdio Proxy
Created September 29, 2015 17:18 — forked from mikerudolph/Rdio Proxy
I wanted to see how easy it was to download Rdio songs as you listen to them, turns out its just as easy as I though.
var http = require('http'),
url = require('url'),
fs = require('fs');
var port = 9000;
var httpServer = http.createServer(function(request, response) {
var parsedUrl = url.parse(request.url);
var requestData;
var requestOpts = {
Verifying that +mkobar is my Bitcoin username. You can send me #bitcoin here: https://onename.io/mkobar