This file contains hidden or 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
| /* Use libcurl to test and trace mime POSTs. | |
| Usage: mimediag2 [datasize [readsize]] | |
| Issue: "Multi-part uploads never send more than one buffersize" | |
| https://github.com/curl/curl/issues/22586 | |
| Reporter says certain size mime POSTs are failing to complete on an embedded | |
| system. The default datasize and readsize (max size to read per callback call) | |
| can be changed by using command line arguments. |
This file contains hidden or 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
| // ==UserScript== | |
| // @name Amazon old favicon - method 3 | |
| // @namespace Violentmonkey Scripts | |
| // @icon https://cdn.jsdelivr.net/gh/jay/jay.github.io@master/amazon-old-favicon-48px.png | |
| // @version 1.0.1 | |
| // | |
| // @match http*://*.amazon.tld/* | |
| // @run-at document-start | |
| // @grant none | |
| // |
This file contains hidden or 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
| /* Monitor for last input time change in Windows. | |
| Usage: lastinput | |
| g++ -o lastinput lastinput.cpp | |
| * Copyright (C) 2026 Jay Satiro <raysatiro@yahoo.com> | |
| https://gist.github.com/jay/09d422a019b778fa63bf8fab75aafd26 | |
| */ |
This file contains hidden or 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
| #!/usr/bin/env perl | |
| =begin comment | |
| README | |
| This script removes wolfSSL configurations from the legacy Visual Studio | |
| curl projects in the projects directory. | |
| Copyright (C) 2024 Jay Satiro <raysatiro@yahoo.com> | |
| https://curl.se/docs/copyright.html |
This file contains hidden or 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
| /* | |
| test of GetVersionExW, RtlGetVersion and RtlGetNtVersionNumbers on Windows 11. | |
| can be built with cygwin/mingw/mingw-w64 gcc or microsoft cl. | |
| https://cygwin.com/pipermail/cygwin/2024-March/255728.html | |
| --- | |
| without manifest: |
This file contains hidden or 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
| /* Use getaddrinfo to retrieve addresses the same way libcurl does. | |
| Usage: getaddrinfo [-u] [-4|-6] [--] <host> [service|port] | |
| curl bug report: | |
| 'Cannot resolve named proxy host when configured with async DNS' | |
| https://github.com/curl/curl/issues/12955 | |
| * Copyright (C) 2024 Jay Satiro <raysatiro@yahoo.com> | |
| https://curl.se/docs/copyright.html |
This file contains hidden or 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
| #!/usr/bin/env perl | |
| =begin comment | |
| README | |
| ./change_openssl_lib_names.pl | |
| This script was written to update Windows project file templates in the curl | |
| repo. It changes the OpenSSL libnames from 1.0.x to 1.1.x: |
This file contains hidden or 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
| /* Use libcurl to test synchronous transfers in a multi. | |
| Usage: multi_synchronous | |
| This is a demonstration of a repeated synchronous transfer done in a multi | |
| by creating a separate easy handle for each transfer. Normally you would not | |
| do this, you'd use curl_easy_perform in a loop instead. | |
| I forget what curl issue I wrote this in response to. |
This file contains hidden or 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
| :: Example of a UTF-8 encoded batch file. | |
| :: | |
| :: Usage: utf8_encoded_example.bat | |
| :: | |
| :: Ref: https://github.com/curl/curl/issues/6386#issuecomment-761745450 | |
| :: | |
| :: Public Domain: No License. Written by Jay Satiro <raysatiro@yahoo.com> | |
| :: | |
| :: https://gist.github.com/jay/731030525b58ae3845b7ba59c0757b3c | |
| :: |
This file contains hidden or 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
| /* hooktest2 | |
| Monitor *raw* mouse buttons, keypresses, everything but MOUSEMOVE via low level | |
| mouse and keyboard hooks. I wrote this to help identify some bugs in Chrome and | |
| software running on Dell laptops. | |
| The program will exit when the caps lock key is pressed. You can change that in | |
| the LowLevelKeyboardProc function. | |
| g++ -Wall -o hooktest2 hooktest2.cpp && hooktest2 |
NewerOlder