Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am skonteam on github.
  • I am skonteam (https://keybase.io/skonteam) on keybase.
  • I have a public key ASAh3o4jzMxJ5xxg9aK9gTbrqDVzViGa4M-dYIfhKJHh0Qo

To claim this, I am signing this object:

diff -Naur -x .DS_Store dcmtk-3.6.0/dcmimage/include/dcmtk/dcmimage/diargpxt.h dcmtk-3.6.0_patched/dcmimage/include/dcmtk/dcmimage/diargpxt.h
--- dcmtk-3.6.0/dcmimage/include/dcmtk/dcmimage/diargpxt.h 2010-10-14 15:16:29.000000000 +0200
+++ dcmtk-3.6.0_patched/dcmimage/include/dcmtk/dcmimage/diargpxt.h 2017-02-13 17:18:06.000000000 +0100
@@ -91,7 +91,7 @@
const unsigned long planeSize,
const int bits)
{ // not very much optimized, but no one really uses ARGB !!
- if (Init(pixel))
+ if (this->Init(pixel))
{
import re
def spaceCorrect(str):
sub1 = re.sub(r'(\s)*(\.|\,)(\s)*','\\2 ',str)
return re.sub(r'(\s)*(\?|\!|\:|\;)(\s)*',' \\2 ',sub1)
function spaceCorrect(str){
return str.replace(/(\s)*(\.|\,)(\s)*/g,"$2 ") //Matches: [".", ","]
.replace(/(\s)*(\?|\!|\:|\;)(\s)*/g," $2 ");//Matches: ["?", "!", ":", ";"]
}