This file contains hidden or 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 static int FirstFactorial(int num) | |
{ | |
int[] memory = new int[num+1]; | |
for(int i = 0; i < num+1; i ++) | |
{ | |
memory[i] = i; | |
} | |
num = 1; |
This file contains hidden or 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
function FirstFactorial(num) { | |
memory = num | |
c = memory-1 | |
for(i=0;i<num;i++){ | |
if(c != 0){ | |
memory = memory * c | |
c = c -1 | |
} | |
} | |
return memory; |
This file contains hidden or 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
static List<int> SortArray(int[] array) | |
{ | |
int[] result = new int[array.Length]; | |
List<int> memory = new List<int>(); | |
List<int> toResult = new List<int>(); | |
foreach (var x in array) | |
{ | |
memory.Add(x); |
This file contains hidden or 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
using Emgu.CV; | |
using Emgu.CV.UI; | |
using Emgu.CV.Structure; | |
using System.Threading; | |
namespace WindowsFormsApp1 | |
{ | |
public class Connection | |
{ | |
public string IPStream { get; set; } |
This file contains hidden or 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
class Monarchy | |
{ | |
public enum Title | |
{ | |
Emperor, | |
King, | |
Regent, | |
Imperial_Prince, | |
Real_Prince, | |
Grand_Prince, |
This file contains hidden or 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 speech_recognition as sr | |
from pyautogui import press, typewrite, hotkey | |
r = sr.Recognizer() | |
with sr.Microphone() as source: | |
while True: | |
try: | |
audio = r.listen(source) | |
result = r.recognize_google(audio,language="pt-BR") |
This file contains hidden or 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
using System; | |
public class _int | |
{ | |
//Author Paulo Henrique | |
private Int32[] _ = new Int32[1024]; | |
private short index; | |
public void setIndex(short value) { index = value; } | |
public short getIndex() { return this.index; } |
This file contains hidden or 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
<Button variant="contained" id="btnEntrar" style={{ | |
backgroundColor: '#67BF59', | |
fontSize:25, | |
fontWeight: 'bold' | |
}} | |
color="primary" onClick={() => { | |
alert('yeah button'); | |
}}>Entrar</Button> | |
<p style={{zIndex:-1}}>aeaeaesa</p> |
This file contains hidden or 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
//arquivo api.js | |
import axios from 'axios'; | |
const api = axios.create({ | |
baseURL: "https://min-api.cryptocompare.com" | |
}); | |
export default api; | |
//arquivo de request; |
This file contains hidden or 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
(async () => { | |
const si = require('systeminformation'); | |
const cron = require('node-cron') | |
let counter = 0; | |
let Seed = `${new Date().getSeconds()}${new Date().getDate()}`; |