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
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); |
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
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 |
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
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) { |
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
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; |
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
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; |
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
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); |
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 <vector> | |
class A; | |
class B; | |
class A { | |
std::vector <B*> list_of_b; | |
public: | |
A(); | |
void MethodOfA(); |
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 <vector> | |
class A; | |
class B; | |
class A { | |
std::vector <B*> bs; | |
void MethodOfA(); | |
}; | |
class B { |
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 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', |
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
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; |