Skip to content
Menu
codewing.de

codewing.de

  • Blog
  • Apps
    • ibash for Android
    • MapViewer
    • PlayPlease
  • Games
    • Abprallschuss (Ricochet)
    • Rabbitholes
    • Canyon Race
    • Time Fridge Ninja
    • PlusMinus
  • About
    • Privacy Policy
    • Disclaimer
  • Blog
  • Apps
    • ibash for Android
    • MapViewer
    • PlayPlease
  • Games
    • Abprallschuss (Ricochet)
    • Rabbitholes
    • Canyon Race
    • Time Fridge Ninja
    • PlusMinus
  • About
    • Privacy Policy
    • Disclaimer

Category: Snippets

Programming, Snippets

Spiking Performance Evaluation with EWMA

When evaluating the performance of an application it makes sense to run the code several times to get better view on how it performs. But getting a good look at the performance is still hard.

Posted on 27. June 201927. June 2019
Programming, Snippets

Python: Overwrite file with text (utf-8)

def overwriteFile(file_path, text): f = codecs.open(file_path, ‘r+’, “utf-8-sig”) f.seek(0) f.write(text) f.truncate() f.close()

Posted on 17. March 20161. October 2018
Programming, Snippets

[Java] String zu File mit Encoding

Hier ein kleines Snippet, welches einen Text bekommt und ihn mit dem gewünschten Charset in eine Datei schreibt.

Posted on 15. August 20151. October 2018
Programming, Snippets

[C#] Generic Circular Buffer

Circular buffers are awesome! For those who don’t know them: It’s basically a list where the end is connected to the start.. like a circle..Read More

Posted on 3. May 201527. September 2017
Internet and Security, Programming, Snippets

[Java] SSLContext with client certificate

If you want to connect somewhere using an ssl-connection you will need an SSLContext object. I had some trouble creating one with a client certificateRead More

Posted on 13. March 201513. March 2015

Categories

  • Android
  • Android Games
  • Announcements
  • FotD
  • Free 2 Play
  • Games
  • Games
  • Internet and Security
  • Miscellaneous
  • Overheard
  • Politics
  • Portfolio
  • Programming
  • Snippets
  • Software-Showcase
  • Tutorials
Copyright © 2025 codewing.de. | Privacy Policy
  • Twitter
  • Github