Skip to content

Instantly share code, notes, and snippets.

TMAAT you had to learn something new to solve a problem
I was doing the general assembly UX bootcamp where I learned UX design. I was working but it was a small part of the boot camp, I learned about Figma on my own and then applied the learnings in my project
* What was the project?
I was working on an e commerce website. We were given a prompt, create a checkout process. They didn't introduce us to Figma much. I struggled because I didn't know a lot. I went back and took a Figma tutorial. I watched some videos, they were helpful. Then I started making wireframes in Figma, which was easier. I received feedback.
* Why did it require Figma?
$ ./build.bat
------------------------
building sgl
------------------------
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19042.
-- Found libarchive. Enabling archive file loading support.
CMake Warning at C:/Program Files/CMake/share/cmake-3.20/Modules/FindBoost.cmake:1354 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
Symbols
============================================================
Mod 0000 | `C:\Users\Jorge\source\repos\Project2\Project2\x64\Debug\Source.obj`:
4 | S_OBJNAME [size = 76] sig=0, `C:\Users\Jorge\source\repos\Project2\Project2\x64\Debug\Source.obj`
80 | S_COMPILE3 [size = 60]
machine = intel x86-x64, Ver = Microsoft (R) Optimizing Compiler, language = c++
frontend = 19.30.30528.0, backend = 19.30.30528.0
flags = edit and continue | security checks | hot patchable | sdl
Unreal port exploration
PORT TO NEW ENGINE
==================
* Better graphics
* Easier to add new features
STAY ON SDK2013
===============
Build started...
1>------ Build started: Project: ZERO_CHECK, Configuration: Debug x64 ------
1>Checking Build System
1>CMake is re-running because D:/builds/cling/CMakeFiles/generate.stamp is out-of-date.
1> the file 'D:/builds/cling/LLVMBuild.cmake'
1> is newer than 'D:/builds/cling/CMakeFiles/generate.stamp.depend'
1> result='-1'
1>CMake Warning at CMakeLists.txt:37 (message):
1> Visual Studio generators use the x86 host compiler by default, even for
1> 64-bit targets. This can result in linker instability and out of memory
@BSVino
BSVino / example.sublime-project
Created May 10, 2020 18:13
Sublime project microsoft toolchain compile regex for build results double click on cl.exe output
{
"build_systems":
[
{
"encoding": "cp850",
"file_regex": "([a-zA-Z]:[\\\\/a-zA-Z0-9_. ()]+)\\(([0-9]+)?,?([0-9]+)?\\): (.+)",
"name": "BuildExample",
"windows":
{
"cmd":
@BSVino
BSVino / bayer.cpp
Created November 3, 2016 14:58
Generates arbitrary-size bayer matrices using two algorithms. The first algorithm I wrote on stream here: https://www.youtube.com/watch?v=tV4M1cGaEJA The second algorithm is a transcription from this article on Bayer matrices: https://bartwronski.com/2016/10/30/dithering-part-three-real-world-2d-quantization-dithering/
#include <stdio.h>
#include <stdlib.h>
void bayer(int* matrix, int n, int recursion_level = 0, int start_number = 0, int x = 0, int y = 0) {
int stride = (1<<recursion_level);
int log_2_matrix_size = n;
int increment = (1<<(2*(log_2_matrix_size-recursion_level-1)));
if (increment == 1) {
int matrix_size = (1<<n);
#include <random>
int main(int argc, const char** args)
{
const int num_data = 255;
unsigned char data[num_data];
srand(0);
for (int k = 0; k < num_data; k++) {
@BSVino
BSVino / Factorial example
Created October 16, 2016 20:06
Factorial example
unsigned int factorial(unsigned int n) {
if (n == 0)
return 1;
return n * factorial(n - 1);
}
int main(int argc, char** args) {
return factorial(2);
}
#include <cstdint>
uint64_t FinalSum(uint64_t a, uint64_t b, uint64_t c, uint64_t d) {
return a + b + c + d;
}
uint64_t Sum(uint64_t a, uint64_t b, uint64_t c, uint64_t d) {
return FinalSum(a, b, c, d);
}