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
/* | |
* Copyright 2015 Aldo Borrero <aldo@aldoborrero.com> | |
* Copyright (C) 2011 Google Inc. | |
* | |
* 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 | |
* |
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
8,10d7 | |
< /** Extension htmlMimeMail | |
< * set some default params (mainly utf8 as titi is utf8) + use the mailCharset pref from a user | |
< */ | |
13c10,11 | |
< include_once("lib/webmail/htmlMimeMail.php"); | |
--- | |
> require_once ('swift/swift_required.php'); | |
> | |
15,124d12 |
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
{DATACHANNEL(channel=crear_asignatura)} | |
nombre_asignatura, Nombre asignatura | |
{DATACHANNEL} |
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
Este profile configura Tikiwiki para trabajar en ALMA. | |
Crea también los profiles necesarios para crear asignaturas de manera automática. | |
Se puede ejecutar directamente en Admin > Profiles > Advanced > Profile Tester | |
Esta sección se encarga de configurar las opciones generales de Tiki. ¡No olvides cambiar el password del correo por el password original! | |
{CODE(caption="YAML" wrap="1")} | |
preferences: | |
language: es |
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
# Enter a passphrase if you want | |
openssl genrsa -des3 -out server.key 1024 | |
# Fill data with whatever you want | |
openssl req -new -key server.key -out server.csr | |
cp server.key server.key.org | |
openssl rsa -in server.key.org -out server.key |
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
public class BluetoothCompat { | |
public static boolean createBondCompat(final BluetoothDevice device) | |
throws NoSuchMethodException, InvocationTargetException, IllegalAccessException { | |
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { | |
return device.createBond(); | |
} else { | |
Method method = device.getClass().getMethod("createBond", (Class[]) null); | |
final Object invoke = method.invoke(device, (Object[]) null); | |
return (Boolean) invoke; |
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
public class BluetoothCompat { | |
public static boolean createBondCompat(final BluetoothDevice device) | |
throws NoSuchMethodException, InvocationTargetException, IllegalAccessException { | |
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { | |
return device.createBond(); | |
} else { | |
Method method = device.getClass().getMethod("createBond", (Class[]) null); | |
final Object invoke = method.invoke(device, (Object[]) null); | |
return (Boolean) invoke; |
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
public class BugfenderTree extends Timber.Tree { | |
@Override protected void log(int priority, String tag, String message, Throwable t) { | |
switch (priority) { | |
case Log.VERBOSE: | |
Bugfender.d(tag, message); | |
break; | |
case Log.DEBUG: | |
Bugfender.d(tag, message); | |
break; |
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
locals { | |
domain = "example.com" | |
} | |
data "cloudflare_zone" "domain" { | |
name = local.domain | |
} | |
resource "tls_private_key" "nix_store_origin_key" { | |
algorithm = "RSA" |
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 main | |
import ( | |
"crypto/rand" | |
"encoding/hex" | |
"encoding/json" | |
"fmt" | |
"github.com/alecthomas/kong" | |
"github.com/ethereum/go-ethereum/crypto" | |
"github.com/pelletier/go-toml" |
OlderNewer