Skip to content

Instantly share code, notes, and snippets.

View maudmcok's full-sized avatar

Maud maudmcok

  • D Mcok Corporation
  • Rennes, France
View GitHub Profile
@maudmcok
maudmcok / getStaticFinalStringValue
Created April 25, 2023 09:23
Method to get the value of a private static final field of a class Java.
/**
* Method to get the value of a private static final field of a class.
*/
protected String getStaticFinalStringValue(Class<?> targetClass, String fieldName) throws NoSuchFieldException, IllegalAccessException {
Field field = targetClass.getDeclaredField(fieldName);
field.setAccessible(true);
return (String) field.get(null);
}
# Security Policy
## Supported Versions
Use this section to tell people about which versions of your project are
currently being supported with security updates.
| Version | Supported |
| ------- | ------------------ |
| » 5.1.x | :white_check_mark: |
# Copyright 2017 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
@maudmcok
maudmcok / socketserver_.idea_compiler.xml
Created April 16, 2016 21:08
game socket testestestestestest
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<resourceExtensions />
<wildcardResourcePatterns>
<entry name="!?*.java" />
<entry name="!?*.form" />
<entry name="!?*.class" />
<entry name="!?*.groovy" />
<entry name="!?*.scala" />
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<resourceExtensions />
<wildcardResourcePatterns>
<entry name="!?*.java" />
<entry name="!?*.form" />
<entry name="!?*.class" />
<entry name="!?*.groovy" />
<entry name="!?*.scala" />
@maudmcok
maudmcok / app_.gitignore
Created February 22, 2016 12:49
Maudmcok Santé+
/build