Skip to content

Instantly share code, notes, and snippets.

View caiodanielnunessantos's full-sized avatar

Caio Daniel Nunes Santos caiodanielnunessantos

View GitHub Profile
constexpr unsigned P = 0;
constexpr unsigned C0 = round(16.35);
constexpr unsigned CS0 = round(17.32);
constexpr unsigned D0 = round(18.35);
constexpr unsigned DS0 = round(19.45);
constexpr unsigned E0 = round(20.60);
constexpr unsigned F0 = round(21.83);
constexpr unsigned FS0 = round(23.12);
constexpr unsigned G0 = round(24.50);
constexpr unsigned GS0 = round(25.96);
https://otokonokopharma.wixsite.com/otokonokopharma
Every ingredient can be bought from Amazon.
(except the raw powder that you can find on Alibaba, most suppliers there are trustable don't worry)
What you'll need:
Oil injections:
-Benzyl benzoate
-Benzyl alcohool
const [dummyArray, dummyObject, dummyString, dummyNumber] = [Array, Object, String, Number];
dummyArray.prototype.merge = function (source) {
source.forEach((element) => {
if (!this.includes(element)) this.push(element);
});
return this;
};
dummyObject.prototype.deepMerge = function (source) {
size_t PowerOfTwoGuard(size_t input) {
size_t power_of_two = 1;
while (input > power_of_two)
power_of_two *= 2;
return power_of_two;
}
typedef struct {
size_t element_type_size;
size_t size;
typedef struct {
size_t element_type_size;
size_t size;
size_t capacity;
char* elements;
} _GenericVector;
void* _GenericVectorGetReference(_GenericVector* vector_address, size_t index) {
if (index >= vector_address->size) return (void*)0;
return vector_address->elements + vector_address->elements_type_size * index;
class Circle {
// Várias coisas...
HDC drawing;
MakeDrawing(HDC hdc) {
CreateCompatibleDC(hdc);
Ellipse(hdc, /*Args...*/);
}
Paint(HDC hdc) {
SelectObject(hdc, drawing);
BitBlt(hdc, /*Args...*/, SRCCOPY);
#include <vector>
class A;
class B;
class A {
std::vector <B*> list_of_b;
public:
A();
void MethodOfA();
#include <vector>
class A;
class B;
class A {
std::vector <B*> bs;
void MethodOfA();
};
class B {
import math
import tkinter
import random
radio = int(input("Digite o raio (entre 5 e 50)" ))
size = int(input("Agora, o tamanho da janela (entre 200 e 600)" ))
quantidade = int(input("Agora, a quantidade de bolas" ))
COLORS = ['snow', 'ghost white', 'white smoke', 'gainsboro', 'floral white', 'old lace',
'linen', 'antique white', 'papaya whip', 'blanched almond', 'bisque', 'peach puff',
'navajo white', 'lemon chiffon', 'mint cream', 'azure', 'alice blue', 'lavender',
@caiodanielnunessantos
caiodanielnunessantos / reference.h
Created April 28, 2020 13:01
Preprocessed "windows.h" header
typedef __builtin_va_list __gnuc_va_list;
typedef __gnuc_va_list va_list;
void __attribute__((__cdecl__)) __debugbreak(void);
extern __inline__ __attribute__((__always_inline__, __gnu_inline__)) void __attribute__((__cdecl__)) __debugbreak(void)
{
__asm__ __volatile__("int {$}3"
:);
}
const char *__mingw_get_crt_info(void);
__extension__ typedef unsigned long long size_t;