I hereby claim:
- I am bringhurst on github.
- I am jb (https://keybase.io/jb) on keybase.
- I have a public key ASDzNeeb8DY80qzaN_B8e46sTNQqeIUXwml0d1jjZHzLBQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| def softmax(x): | |
| """Compute softmax values for each sets of scores in x.""" | |
| exps = np.exp(x) | |
| total_exp = reduce(operator.add, exps, 0) | |
| return np.array([(i / total_exp) for i in exps]) |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd" > | |
| <log4j:configuration> | |
| <appender name="stdout" class="org.apache.log4j.ConsoleAppender"> | |
| <layout class="org.apache.log4j.PatternLayout"> | |
| <param name="ConversionPattern" value="%d{ABSOLUTE} %5p %c{1}:%L - %m%n"/> | |
| </layout> | |
| </appender> | |
| <appender name="KAFKA" class="kafka.producer.KafkaLog4jAppender"> |
| } elif( last_argument_is_directory ) { | |
| set_base(last_argument) | |
| for(src in srcs) { | |
| push_work_queue(src.path) | |
| } | |
| } else { | |
| error(unsupported_filetype); | |
| } |
| if( last_argument_is_file ) { | |
| if( number_of_source_files == 1 && is_file(src_path) ) { | |
| set_base(basename_of_last_argument) | |
| push_work_queue(src_path); | |
| } else { | |
| error(impossible_condition) | |
| } |
| } else { | |
| if(allow_recursion) { | |
| last_argument_is_file = true | |
| for(src in srcs) { | |
| if (is_dir(src)) { | |
| last_argument_is_file = false | |
| } | |
| } |
| if(is_file(last_argument) { | |
| last_argument_is_file = true | |
| last_argument_is_dir = false | |
| } elif( is_dir(last_argument) { | |
| last_argument_is_dir = true | |
| last_argument_is_file = false |
| usage: dcp [CdfhpRrv] [--] source_file target_file | |
| dcp [CdfhpRrv] [--] source_file ... target_directory |
I hereby claim:
To claim this, I am signing this object:
| import javax.crypto.Cipher; | |
| class CipherTest { | |
| public static void main(String args[]) { | |
| try { | |
| int maxKeyLen = Cipher.getMaxAllowedKeyLength("AES"); | |
| if(maxKeyLen < 256) { | |
| System.out.println("FAILED: Max key length too small! (" + maxKeyLen + ")."); | |
| } else { | |
| System.out.println("PASSED: Max key length OK! (" + maxKeyLen + ")."); | |
| } |