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
#include <math.h> | |
#include <stdbool.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
// = IMPLEMENTACAO DE ARRAY DINAMICO =========================================== | |
typedef struct { | |
int *arranjo; | |
size_t quantidadeDeElementos; |
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
import { mdiDeleteForever } from "@mdi/js"; | |
import { Form, Input, Space, Divider, Button } from "antd"; | |
import MaterialIcon from "components/MaterialIcon"; | |
import { Rule } from "rc-field-form/lib/interface"; | |
// Estabelecendo uma interface simples para servir de objeto de estudo | |
interface Example { | |
displayName: string; | |
topics: string[]; | |
user: { |
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
import React, { useCallback, useMemo, useState } from "react"; | |
import { AutoComplete, Empty } from "antd"; | |
import { debounce, get } from "lodash"; | |
import { MaterialIcon } from "icons"; | |
import { mdiLoading } from "@mdi/js"; | |
import Text from "components/Text"; | |
import useMountEffect from "hooks/Lifecycle/useMountEffect"; | |
export interface SearchInputProps<T extends Dict> { |
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
import com.google.gson.Gson | |
import com.google.gson.reflect.TypeToken | |
inline fun <I, reified O> I?.convert(): O? = this?.let { input -> | |
try { | |
Gson().let { gson -> | |
gson.toJson(input).let { output -> | |
gson.fromJson(output, object : TypeToken<O>() {}.type) | |
} | |
} |
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
/* | |
* Available context bindings: | |
* COLUMNS List<DataColumn> | |
* ROWS Iterable<DataRow> | |
* OUT { append() } | |
* FORMATTER { format(row, col); formatValue(Object, col) } | |
* TRANSPOSED Boolean | |
* plus ALL_COLUMNS, TABLE, DIALECT | |
* | |
* where: |
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
on run {input, parameters} | |
set inputVolume to input volume of (get volume settings) | |
if inputVolume < 60 then | |
set inputVolume to 60 | |
set displayNotification to "Microphone is unmuted" | |
set speechMessage to "unmuted" | |
else | |
set inputVolume to 0 | |
set displayNotification to "Microphone is muted" |
OlderNewer