Skip to content

Instantly share code, notes, and snippets.

@Kavignon
Kavignon / improving-as-a-software-developer.md
Last active October 27, 2023 17:49
Always hungry for more. This is a list of resources I've used or that I plan to use as a way to improve my knowledge and technical skills as a software developer.

Some of the books I'll be recommending are based on .NET. Do not be discouraged. We shouldn't strive to stick to a specific technology stack. Your ambitions and goals will evolve over time and that might lead you a completely new space. Moreover, there are lessons to be learned from an environment that's different from what you're used to.

Software Development

@norswap
norswap / ! Visitors Comparison
Last active June 22, 2020 21:56
Visitors Comparison
See https://norswap.com/expression-problem-java/

I bundled these up into groups and wrote some thoughts about why I ask them!

If these helped you, I'd love to hear about it!! I'm on twitter @vcarl_ or send me an email [email protected]

Onboarding and the workplace

https://blog.vcarl.com/interview-questions-onboarding-workplace/

  • How long will it take to deploy my first change? To become productive? To understand the codebase?
  • What kind of equipment will I be provided? Will the company pay/reimburse me if I want something specific?
@mmozeiko
mmozeiko / incbin.c
Last active December 15, 2024 14:58
Include binary file with gcc/clang
#include <stdio.h>
#define STR2(x) #x
#define STR(x) STR2(x)
#ifdef _WIN32
#define INCBIN_SECTION ".rdata, \"dr\""
#else
#define INCBIN_SECTION ".rodata"
#endif
@rbuckton
rbuckton / mirrors.ts
Last active July 13, 2024 07:02
Prototype of possible mirroring API for decorators (and/or Object.mirror)
// extensions to global Reflect object
declare namespace Reflect {
function mirror(value: (...args: any[]) => any): FunctionMirror;
function mirror(value: new (...args: any[]) => any): ClassMirror;
function mirror(value: any): ObjectMirror;
function mirror(value: any, propertyKey: PropertyKey): MemberMirror;
}
// Extensions to the Object() constructor function object.
interface ObjectConstructor {
@yorickdewid
yorickdewid / blaster.c
Created November 16, 2015 19:55
Blaster worm source
/*
DECOMPILED SOURCE FOR MS RPC DCOM BLASTER WORM
<http://robertgraham.com/journal/030815-blaster.c>
This file contains source code for the "msblast.exe" worm
that was launched against the Internet on August 10, 2003.
This "source-code" was decompiled using "IDApro", an
"interactive disassembler". IDA is the most popular tool
@paulirish
paulirish / what-forces-layout.md
Last active December 20, 2024 19:44
What forces layout/reflow. The comprehensive list.

What forces layout / reflow

All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.

Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.

Element APIs

Getting box metrics
  • elem.offsetLeft, elem.offsetTop, elem.offsetWidth, elem.offsetHeight, elem.offsetParent
@t-mat
t-mat / ResourcelessDialog.cpp
Last active October 15, 2023 23:09
WIN32 : Resourceless dialog
// Resourceless Dialog
// Dialog Template by Max McGuire
// http://www.flipcode.com/archives/Dialog_Template.shtml
#include <windows.h>
#include <tchar.h>
#include <stdio.h>
class DialogTemplate {
public: