Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am kaskavalci on github.
  • I am kaskavalci (https://keybase.io/kaskavalci) on keybase.
  • I have a public key whose fingerprint is BCAF 90AE D8BF 26D5 FC76 EA6D 4CCC 4F88 3FB7 A667

To claim this, I am signing this object:

//## class MyConvert
class MyConvert {
//// Constructors and destructors ////
public :
MyConvert();
~MyConvert();
#ifndef TemplateTest_TemplateTest_H
#define TemplateTest_TemplateTest_H
template <typename T> void strtox();
template <> void strtox<double>();
template <typename T> void strtox() {
}
@echo off
SET TEMPFILE="%TEMP%\%RANDOM%.TXT"
echo SELECT VDISK FILE="C:\full\path\to\license.vhd">%TEMPFILE%
echo ATTACH VDISK>>%TEMPFILE%
DISKPART /s %TEMPFILE%
del %TEMPFILE%
http_proxy=http://proxy.com:8080/
HTTP_PROXY=http://proxy.com:8080/
https_proxy=http://proxy.com:8080/
HTTPS_PROXY=http://proxy.com:8080/
ftp_proxy=http://proxy.com:8080/
FTP_PROXY=http://proxy.com:8080/
Acquire::http::Proxy "http://proxy.com:8080";
Acquire::https::Proxy "http://proxy.com:8080";
Acquire::ftp::Proxy "http://proxy.com:8080";
void smallerF()
{
cout << "MIN FLOAT test" << endl;
errno = 0;
stringstream ss;
ss << "1.17549430e-39";
cout << "Min possible :\t" << FLT_MIN << endl;
cout << "str: \t\t" << ss.str() << endl;
float converted = strtof(ss.str().c_str(), NULL);
cout << "Error: \t\t" << (errno == ERANGE ? "Range error" : "No error") << endl;
cd /path/to/repo.git
chgrp -R groupname .
chmod -R g+rwX .
find . -type d -exec chmod g+s '{}' +
git config core.sharedRepository true
git fsck
git prune
git repack
git fsck