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
/* | |
* Discord: Don't copy stuff into this box | |
* Me: dOn'T COpy sTuFf iNtO tHIs bOx | |
*/ | |
clearMessages = function (guild_id, author_id, authToken, deleted = new Set()) { | |
if (guild_id[0] == "_" && guild_id[guild_id.length - 1] == "_") { | |
alert("Oops! You forgot to set the guild_id. Please fill it in.") | |
return; | |
} | |
if (author_id[0] == "_" && author_id[author_id.length - 1] == "_") { |
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
REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WebClient\Parameters /v FileSizeLimitInBytes /t REG_DWORD /d 0xffffffff /f | |
REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters /v FsCtlRequestTimeoutInSec /t REG_DWORD /d 0xffffffff /f | |
net stop WEBCLIENT | |
net start WEBCLIENT |
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
- (void) parseBuffer:(CMSampleBufferRef) sampleBuffer | |
{ | |
CVImageBufferRef pixelBuffer = CMSampleBufferGetImageBuffer(sampleBuffer); | |
CVPixelBufferLockBaseAddress( pixelBuffer, 0 ); | |
//Processing here | |
int bufferWidth = CVPixelBufferGetWidth(pixelBuffer); | |
int bufferHeight = CVPixelBufferGetHeight(pixelBuffer); |