Skip to content

Instantly share code, notes, and snippets.

@vofp
vofp / Assignment7.cpp
Created June 7, 2012 20:46 — forked from joshua-bernick/Books
Assignment 7 Library Books
#include <cstdlib>
#include <iostream>
#include <iomanip>
#include <string>
#include <fstream>
#include <cmath>
#include <vector>
using namespace std;
@vofp
vofp / Assignment6.cpp
Created June 5, 2012 17:29 — forked from joshua-bernick/gist:2876377
Assignment 6 - Primes
#include <iostream>
#include <iomanip>
#include <string>
#include <fstream>
#include <cmath>
using namespace std;
bool isPrime (long n);
long primeCount (long x, long y);
@vofp
vofp / Multiplication Table C
Created June 5, 2012 17:25 — forked from joshua-bernick/Multiplication Table C++
Creates a multiplication table
#include <iostream>
#include <iomanip>
#include <string>
#include <fstream>
#include <cmath>
using namespace std;
int main(void)
{
sudo aptitude -y install git
sudo su - jenkins
git config --global user.name "Jenkins CI"
git config --global user.email "ci@yourcompany.com"
ssh-keygen -t rsa -C "ci@yourcompany.com" # Use all the default options, don't specify
# a password.
cat .ssh/id_rsa.pub # Grant this SSH key access to your Git repositories.
# If you're using github, you'll also want to do:
ssh git@github.com