Skip to content

Instantly share code, notes, and snippets.

View tmibvishal's full-sized avatar
🎯
Focusing

Vishal Singh tmibvishal

🎯
Focusing
  • tmibvishal
  • Indian Institute of Technology, Delhi
View GitHub Profile
@JSchaenzle
JSchaenzle / RapidXmlExample.c
Created May 18, 2012 18:37
RapidXml example parsing beer journal
#include <string.h>
#include <stdio.h>
#include <iostream>
#include <fstream>
#include <vector>
#include "rapidxml-1.13/rapidxml.hpp"
using namespace rapidxml;
using namespace std;
@mohanraj-r
mohanraj-r / scp-speed-test.sh
Last active August 10, 2024 13:59
[speed test] Test ssh connection speed
#!/bin/bash
# scp-speed-test.sh
# Author: Alec Jacobson alecjacobsonATgmailDOTcom
# http://www.alecjacobson.com/weblog/?p=635
#
# Test ssh connection speed by uploading and then downloading a 10000kB test
# file (optionally user-specified size)
#
# Usage:
# ./scp-speed-test.sh user@hostname [test file size in kBs]