Skip to content

Instantly share code, notes, and snippets.

View kvasilopoulos's full-sized avatar
:octocat:
Focusing

Kostas Vasilopoulos kvasilopoulos

:octocat:
Focusing
View GitHub Profile
@kvasilopoulos
kvasilopoulos / git-ssh-auth-win-setup.md
Created July 25, 2021 23:01 — forked from bsara/git-ssh-auth-win-setup.md
Setup SSH Authentication for Git Bash on Windows

Setup SSH Authentication for Git Bash on Windows

Prepararation

  1. Create a folder at the root of your user home folder (Example: C:/Users/uname/) called .ssh.
  2. Create the following files if they do not already exist (paths begin from the root of your user home folder):
  • .ssh/config
@kvasilopoulos
kvasilopoulos / land-registry-sparql.php
Created September 12, 2019 21:07 — forked from hubgit/land-registry-sparql.php
Fetch Land Registry transaction data using SPARQL
<?php
$curl = curl_init('http://landregistry.data.gov.uk/landregistry/query');
curl_setopt_array($curl, array(
CURLOPT_VERBOSE => true,
CURLOPT_ENCODING => 'gzip,deflate',
CURLOPT_HTTPHEADER => array('Accept: text/plain'),
));
@kvasilopoulos
kvasilopoulos / git+overleaf+github.md
Created August 19, 2019 18:12 — forked from jnaecker/git+overleaf+github.md
Using Overleaf as your TeX editor but getting your files to Github

git + overleaf + github

Setup

Connect Overleaf and your local repo

  1. Make a new project on Overleaf.
  2. In the share menu, copy the link from "Clone with git"
  3. On your computer:
    • use cd to navigate to where you want to put your project

1. Clone your fork:

git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream