Skip to content

Instantly share code, notes, and snippets.

View turesheim's full-sized avatar

Torkild U. Resheim turesheim

View GitHub Profile
@cybic
cybic / remux-hop
Last active January 24, 2020 11:55
#!/bin/bash
#
# AutoSSH to host and create or connect to tmux session
# Multi-hop version. Separate hops with `%`. Assign port with `:`
#
# $ remux-hop server.example.com sysop
# $ remux-hop alice.example.com%bob.example.com sysop
# $ remux-hop alice.example.com%[email protected]:2222 sysop
#
# Author: Oystein Steimler <[email protected]>
@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
@ujhelyiz
ujhelyiz / Ant Build script for EMF model building
Created December 12, 2010 22:30
A simple Ant script that can be used inside Eclipse as a builder for Ecore code generation.
<?xml version="1.0" encoding="UTF-8"?>
<!-- ======================================================================
Nov 16, 2010 10:33:34 PM
org.eclipse.viatra2.gtasm.model
A test build script to execute GTASM model generation
Zoltan Ujhelyi
====================================================================== -->
<project name="org.eclipse.viatra2.gtasm.model" default="default">