Skip to content
SWKB.NET

Yearly Archives: 2018

  1. Home>
  2. 2018

HttpXsrfInterceptor and HttpXsrfCookieExtractor implementation example

  • Post author:admin
  • Post published:December 17, 2018
  • Post category:Angular7: How To Examples
  • Post comments:0 Comments

In this example I demonstrate the implementation of cookie extraction and interception in Angular (5, 6, 7).The application server (tomcat) implements Spring Security with CSRF token response with the following…

Continue ReadingHttpXsrfInterceptor and HttpXsrfCookieExtractor implementation example

Euromillions simulation

  • Post author:admin
  • Post published:October 28, 2018
  • Post category:Java: How To Examples
  • Post comments:0 Comments

This program simulates a year of euromillions-alike game of luck. Each year it is assumed that it has 121 lotteries and it is assumed that the number of players per…

Continue ReadingEuromillions simulation

The birthday paradox

  • Post author:admin
  • Post published:October 25, 2018
  • Post category:Java: How To Examples
  • Post comments:0 Comments

The birthday paradox claims that if there are 23 people in the same room, then the chance 2 of them to have birthday on the same day is 50%.The following…

Continue ReadingThe birthday paradox

Recent Posts

  • How to loop through Collection
  • HttpXsrfInterceptor and HttpXsrfCookieExtractor implementation example
  • Euromillions simulation
  • The birthday paradox
  • Java: Write to file
  • Tomcat: How to set encoding to unicode
  • Oracle PL/SQL: SYS_RefCursor to JSON
  • Oracle PL/SQL: Conditional Cursor
  • MySQL: Load data into table from file
  • Oracle DB: NUMBER data type

Recent Comments

    Categories

    • AJAX: How To Examples
    • Angular7: How To Examples
    • Apache
    • APEX: How To Examples
    • C++: How To Examples
    • Calculations
    • CSS: How To Examples
    • Google: How To Examples
    • Hibernate: How To examples
    • HTML: How To Examples
    • Java
    • Java: Ant
    • Java: Fundamentals
    • Java: How To Examples
    • Javascript: How To Examples
    • Joomla: Fundamentals
    • Joomla: How To Examples
    • Linux-Unix: How To Examples
    • MS-Access: How To Examples
    • MS-DOS: How To Examples
    • MySQL: How To Examples
    • News
    • Oracle
    • Oracle ADF: How To Examples
    • Oracle Apps: Fundamentals
    • Oracle Apps: Links
    • Oracle DB: Fundamentals
    • Oracle DB: How To Examples
    • Oracle DB: Links
    • Oracle OAF: How To Examples
    • Oracle PL/SQL: How To Examples
    • Oracle PL/SQL: Links
    • PHP: How To Examples
    • Siebel: How To Examples
    • SOAP
    • Tomcat
    • Various
    • VB6: How To Examples
    • WebLogic
    • Windows: How To Examples

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
    Copyright - OceanWP Theme by OceanWP