This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdlib> | |
#include <iostream> | |
#include <iomanip> | |
#include <string> | |
#include <fstream> | |
#include <cmath> | |
#include <vector> | |
using namespace std; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <iomanip> | |
#include <string> | |
#include <fstream> | |
#include <cmath> | |
using namespace std; | |
bool isPrime (long n); | |
long primeCount (long x, long y); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <iomanip> | |
#include <string> | |
#include <fstream> | |
#include <cmath> | |
using namespace std; | |
int main(void) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |