Generate a new SSH key
ssh-keygen -t ed25519 -C "[email protected]"
if the system doesn't support Ed25519
ssh-keygen -t rsa -b 4096 -C "[email protected]"
| Política de Privacidad | |
| Última actualización: 17 Enero 2024 | |
| Esta aplicación no recoge ni almacena ningún tipo de información personal de los usuarios. | |
| Información que no recogemos: | |
| No recogemos nombres, direcciones de correo electrónico, números de teléfono u otra información de identificación personal. | |
| Datos de ubicación: |
| [{ | |
| "id": 1, | |
| "name": "Pan Francés Tiramisú", | |
| "description": "Aprende una nueva versión de tu clásico PAN FRANCES, ahora con un toque de café y chocolate para volverlos sabor TIRAMISÚ. El secreto: Leche condensada", | |
| "procedure": [{ | |
| "order": 1, | |
| "name": "Mezcla la leche evaporada, 1 cucharada de cocoa, ½ cucharada de café soluble, el huevo y la esencia de vainilla, bate hasta integrar por completo." | |
| }, | |
| { | |
| "order": 2, |
| public class XmlOrJsonConverterFactory extends Converter.Factory { | |
| final Converter.Factory xml = SimpleXmlConverterFactory.create(); | |
| final Converter.Factory gson = GsonConverterFactory.create(); | |
| @Override | |
| public Converter<ResponseBody, ?> responseBodyConverter( | |
| Type type, Annotation[] annotations, Retrofit retrofit) { | |
| // Retrofit gives us all the annotations so we just need to check | |
| for (Annotation annotation : annotations) { |
Generate a new SSH key
ssh-keygen -t ed25519 -C "[email protected]"
if the system doesn't support Ed25519
ssh-keygen -t rsa -b 4096 -C "[email protected]"
| val x509TrustManager = DynamicX509TrustManager { | |
| // get certificated | |
| val cf = CertificateFactory.getInstance("X.509") | |
| var ca: Certificate? = null | |
| val certUrl = URL("https://cert.pem") | |
| runBlocking(Dispatchers.IO){ |
| * text=auto | |
| ###### Git | |
| .gitattributes text | |
| .gitignore text | |
| .gitconfig text | |
| .gitmodules text | |
| ##### Windows | |
| *.bat text eol=crlf |
This text is the section about OS X Yosemite (which also works for macOS Sierra) from https://docs.basho.com/riak/kv/2.1.4/using/performance/open-files-limit/#mac-os-x
The last time i visited this link it was dead (403), so I cloned it here from the latest snapshot in Archive.org's Wayback Machine https://web.archive.org/web/20170523131633/https://docs.basho.com/riak/kv/2.1.4/using/performance/open-files-limit/
| class LiveDataValidator<T>(private val liveData: LiveData<T>){ | |
| private val validationRules = mutableListOf< (T?) -> Boolean >() | |
| private val errorMessages = mutableListOf< Message >() | |
| var error = MutableLiveData<Message?>() | |
| fun addRule(errorMsg: Message, predicate: (T?) -> Boolean ){ | |
| validationRules.add(predicate) | |
| errorMessages.add(errorMsg) | |
| } |
| public void testObfuscate(){ | |
| String obfuscate = obfuscate("092486", 20); | |
| String source = deobfuscate( obfuscate ); | |
| } | |
| public static String obfuscate(String num, int _length){ | |
| Random random = new Random(); | |
| int length = _length - 4; // reserva 4 posiciones para la metadata | |
| int l = num.length(); |