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
package org.example; | |
import io.jsonwebtoken.Jwts; | |
import io.jsonwebtoken.SignatureAlgorithm; | |
import org.apache.commons.codec.binary.Base64; | |
import java.io.BufferedReader; | |
import java.io.FileInputStream; | |
import java.io.IOException; | |
import java.io.InputStream; |
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/sh | |
# Remove trailing whitespace from files in the src directory. | |
# This is useful because (for example) trailing whitespace hinders Vim's | |
# paragraph movement. | |
# INFO: http://stackoverflow.com/a/4438318/574190 | |
# INFO: http://stackoverflow.com/q/1583219/574190 | |
# The directory under which we want to search for files. |