gitflow | git |
---|---|
git flow init |
git init |
git commit --allow-empty -m "Initial commit" |
|
git checkout -b develop master |
//Get a list of installed jenkins plugins from the groovy console | |
Jenkins.instance.pluginManager.plugins.each{ | |
plugin -> | |
println ("${plugin.getDisplayName()} (${plugin.getShortName()}): ${plugin.getVersion()}") | |
} |
#Git-flow tutorial
I created a test repository on Github to check if git-flow can aid in keeping a clean branch model. In the steps below you can see how I create a new feature and release containing our new feature.
- Create remote repository on Github
- Clone de remote repo with
git clone
- Init git flow with defaults:
git flow init -d
result:
for (int i = 0; i < 10; i++) | |
{ | |
time_t now = time(NULL); | |
printf("The time is %ld\n", now); | |
sleep(2); | |
} |
// | |
// main.c | |
// ch10 | |
// | |
// Created by john salyer on 2/12/13. | |
// Copyright (c) 2013 john salyer. All rights reserved. | |
// | |
#include <stdio.h> | |
#include <time.h> |
// | |
// main.c | |
// Loops | |
// | |
// Created by Curt on 2/5/13. | |
// Copyright (c) 2013 Curt. All rights reserved. | |
// | |
#include <stdio.h> |
// | |
// main.c | |
// Back to Math classes | |
// | |
// Created by Curt on 2/5/13. | |
// Copyright (c) 2013 Curt. All rights reserved. | |
// | |
#include <stdio.h> | |
#include <math.h> |
// | |
// main.c | |
// StructuredObjects | |
// | |
// Created by john salyer on 12/4/12. | |
// Copyright (c) 2012 Josef Salyer. All rights reserved. | |
// | |
#include <stdio.h> | |
//#include <stdbool.h> //this is what you use if you are just using C, but we're not |
Sum of Digits
Description:
Given a positive integer, find the sum of its constituent digits.
Input sample:
The first argument will be a text file containing positive integers, one per line. e.g.
Description:
The sentence 'A quick brown fox jumps over the lazy dog' contains every single letter in the alphabet. Such sentences are called pangrams. You are to write a program, which takes a sentence, and returns all the letters it is missing (which prevent it from being a pangram). You should ignore the case of the letters in sentence, and your return should be all lower case letters, in alphabetical order. You should also ignore all non US-ASCII characters.In case the input sentence is already a pangram, print out the string NULL
Input sample:
Your program should accept as its first argument a filename. This file will contain several text strings, one per line. Ignore all empty lines. eg.
A quick brown fox jumps over the lazy dog
A slow yellow fox crawls under the proactive dog