Skip to content

Instantly share code, notes, and snippets.

View felipecruz's full-sized avatar

Felipe Cruz felipecruz

  • Berlin, Germany
View GitHub Profile
@felipecruz
felipecruz / Niederlassungerlaubnis.md
Created April 12, 2021 19:19
Niederlassungerlaubnis

Dokumente

  • Altersvorsorge
  • Gesicherter Lebensunterhalt einschließlich Krankenversicherung
  • Keine Straftaten
  • Hauptwohnsitz in Berlin
  • Gültiger Pass, zusammen mit Ihrer Blauen Karte EU
  • 1 aktuelles biometrisches Foto
  • Formular "Antrag auf Erteilung einer Niederlassungserlaubnis"
  • Einkommensnachweise
from decimal import Decimal as D
MAX_TRIBUTAVEL = D("28559.70")
MAX_NAO_TRIBUTAVEL = D("40000.00")
def tabela_imposto(renda):
if renda < D('1903.98'):
/*
* Cognitivo draft snippet
*/
(function(_w) {
var _name = 'C01',
_script = document.createElement('script'),
_first_script = document.getElementsByTagName('script')[0];
_w[_name] = _w[_name] || function() { (_w[_name].queue = _w[_name].queue || []).push(arguments) }
func MatrixCholeskyDecomposition(matrix Matrix) Matrix {
columns := matrix.cols()
rows := matrix.rows()
result_matrix := DenseZeros(rows, columns)
var val float64
for i := 0; i < rows; i++ {
for j := 0; j <= i; j++ {
accumulator := 0.
// Input:
// Values (stored in array v)
// Weights (stored in array w)
// Number of distinct items (n)
// Knapsack capacity (W)
for j from 0 to W do:
m[0, j] := 0
for i from 1 to n do:
#include "Python.h"
#include "lwan/lwan.h"
/*
Compile with:
gcc `python3-config --cflags` -I/usr/local/include/lwan /usr/local/lib/liblwan.a `python3-config --ldflags` server.c -lz -o pylw
Run with:
./pylw wsgi.py
func MatrixLUDecomposition(matrix Matrix) Matrix {
columns := matrix.cols()
rows := matrix.rows()
for i := 0; i < columns-1; i++ {
val, pivot_index := PivotIndex(matrix, i, i)
MatrixExchangeRows(matrix, i, pivot_index)
for j := i + 1; j < rows; j++ {
multiplier := -matrix.at(j, i) / val
<?php
$attributes_str = "small_image";
function IsNullOrEmptyString($value){
return (!isset($value) || trim($value)==='');
}
foreach (explode(",", $attributes_str) as $attr) {
$meta_tag = '<meta name="product:%s" content="%s" />';
$value = $product->getData();
# errado - identação de "if not imposto"
salario = int(input('Salario? '))
imposto = 27.
while imposto > 0.:
imposto = input('Imposto ou (0) para sair: ')
if not imposto:
imposto = 27.
else:
imposto = float(imposto)
print("Valor real: {0}".format(salario - (salario * (imposto * 0.01))))
Verifying that +felipecruz is my blockchain ID. https://onename.com/felipecruz