Skip to content

Instantly share code, notes, and snippets.

View sociopart's full-sized avatar
🙃
try to stop me!!!

John Vincento sociopart

🙃
try to stop me!!!
View GitHub Profile
@bsara
bsara / git-ssh-auth-win-setup.md
Last active September 6, 2024 05:43
Setup SSH Authentication for Git Bash on Windows

Setup SSH Authentication for Git Bash on Windows

Prepararation

  1. Create a folder at the root of your user home folder (Example: C:/Users/uname/) called .ssh.
  2. Create the following files if they do not already exist (paths begin from the root of your user home folder):
  • .ssh/config
@nathancorvussolis
nathancorvussolis / wsget.cpp
Last active January 20, 2023 16:24
commandline file downloader using wininet
/*
Wsget/1.2.3
Copyright 2022, SASAKI Nobuyuki. Released under the MIT license.
*/
#include <stdio.h>
#include <locale.h>
#include <time.h>
#include <Windows.h>
#include <WinInet.h>
@mmozeiko
mmozeiko / win32_crt_float.cpp
Last active September 5, 2024 06:56
Visual C/C++ CRT functionality
extern "C"
{
int _fltused;
#ifdef _M_IX86 // following functions are needed only for 32-bit architecture
__declspec(naked) void _ftol2()
{
__asm
{