1.- Get into the src folder, download & extract nginx source
cd ~/src
curl -O http://nginx.org/download/nginx-1.7.0.tar.gz
tar -xzvf nginx-1.7.0.tar.gz
cd nginx-1.7.0
2.- Configuring the source
./configure --prefix=$HOME/local/nginx \
diff --git a/libs/taxes/hub/ui-components/src/lib/Result/ResultElement.stories.tsx b/libs/taxes/hub/ui-components/src/lib/Result/ResultElement.stories.tsx | |
new file mode 100644 | |
index 000000000..bfb85f74d | |
--- /dev/null | |
+++ b/libs/taxes/hub/ui-components/src/lib/Result/ResultElement.stories.tsx | |
@@ -0,0 +1,38 @@ | |
+import { Meta, StoryFn } from '@storybook/react' | |
+ | |
+import { Result, ResultType } from "./ResultElement"; | |
+import { Provider as DesignSystemProvider } from '@cash-design-system/react' |
public interface Connection extends Closeable { | |
/** | |
* Sends an event to the Sentry server. | |
* | |
* @param event captured event to add in Sentry. | |
* @throws ConnectionException Thrown when an Event send fails. | |
*/ | |
void send(Event event) throws ConnectionException; | |
/** |
public boolean isValidTx(Transaction tx) { | |
boolean areInputsInUTXOPool = !tx.getInputs().stream() | |
.filter(i -> !utxoPool.contains(new UTXO(i.prevTxHash, i.outputIndex))) | |
.findFirst() | |
.isPresent(); | |
boolean areOutputValuesNonNegative = !tx.getOutputs().stream() | |
.filter(o -> o.value < 0) | |
.findFirst() | |
.isPresent(); | |
double inputsValue = tx.getInputs().stream() |
1.- Get into the src folder, download & extract nginx source
cd ~/src
curl -O http://nginx.org/download/nginx-1.7.0.tar.gz
tar -xzvf nginx-1.7.0.tar.gz
cd nginx-1.7.0
2.- Configuring the source
./configure --prefix=$HOME/local/nginx \
from facturacion.models import DocumentoContable | |
from utils.nubox import actions as nubox_actions | |
from settings import FACTURACION_CSV_DIR, FACTURACION_PDF_DIR | |
from utils.nubox.client import Client | |
documento_contable = DocumentoContable.objects.get(id=1/0) | |
documento_map = documento_contable.print_repr() | |
extended_document = nubox_actions.create_extended_document(documento_map) |
from facturacion.models import DocumentoContable | |
from utils.nubox import actions as nubox_actions | |
from settings import FACTURACION_CSV_DIR, FACTURACION_PDF_DIR | |
from utils.nubox.client import Client | |
documento_contable = DocumentoContable.objects.get(id=1/0) | |
documento_map = documento_contable.print_repr() | |
extended_document = nubox_actions.create_extended_document(documento_map) |
JPITypeDecl : TypeDecl ::= | |
ReturnType:Access Parameters:ParameterDeclaration* Exception:Access*; SuperTypeName:Access SuperArgumentName:Access*; | |
ExhibitBodyDecl : BodyDecl ::= | |
ReturnType:Access JPIName:Access Parameter:ParameterDeclaration* Pointcut:PointcutExpr; | |
CJPAdviceDecl : AdviceDecl; | |
CJPPointcutExpr: PointcutExpr; | |
CJPBeforeSpec : BeforeSpec ::= JPIName:Access; | |
/*the rest of the advice specifications are omitted from this listing*/ |
-module(queue_adt). | |
-export([empty_queue/0, | |
enqueue/2, | |
dequeue/1, | |
current/1]). | |
empty_queue() -> | |
{[], []}. | |
enqueue({[Value], []}, Element) -> |
#include <stdio.h> | |
#include <stdlib.h> | |
int* initialize_array(int n) { | |
int* array = (int *) malloc(n * sizeof(int)); //allocate memory in the Heap | |
for(int i=0; i<n; i=i+1){ | |
array[i] = i+1; | |
} | |
return array; | |
} |
#include <stdio.h> | |
int* initialize_array(int n) { | |
int array[n]; | |
for(int i=0; i<n; i=i+1){ | |
array[i] = i+1; | |
} | |
return array; | |
} |