This file contains 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
#!/bin/bash | |
echo -n "username in lowercase : " | |
read username | |
echo -n "password : " | |
read password | |
echo -n "team : " | |
read team | |
for r in $(echo */) | |
do | |
repo=${r%%/} |
This file contains 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
#ifndef SATURATE_CAST_HPP | |
#define SATURATE_CAST_HPP | |
#include <cmath> | |
// because C++ doesn't allow partial function | |
// specialization, we must use static method | |
// from specialized class | |
//----------- |
This file contains 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
/* --------------------------------------------------------------------------- | |
* ** This software is in the public domain, furnished "as is", without technical | |
* ** support, and with no warranty, express or implied, as to its usefulness for | |
* ** any purpose. | |
* ** | |
* ** The file provide a way to avoid interleaved printing in a multithreaded | |
* ** environment. It works like qDebug() for the Qt framework | |
* ** | |
* ** Usage : | |
* ** Print() << " The debug value = " << 42; |
This file contains 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 <sstream> | |
typedef std::map<std::string,int> chemicalComposition; | |
void transferChemical(chemicalComposition& left, chemicalComposition& right) | |
{ | |
for(chemicalComposition::iterator it = right.begin(); it!=right.end(); ++it) | |
left[it->first] += it->second; |
This file contains 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
set nocompatible | |
" map jj to escape | |
imap jj <Esc> | |
" activate mouse control | |
set mouse=a |
NewerOlder