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
| namespace ConsoleApplication2 | |
| { | |
| class Program | |
| { | |
| static void Main ( string [] args ) | |
| { | |
| using ( SharpDX.XAudio2.XAudio2 xaudio2 = new SharpDX.XAudio2.XAudio2 () ) | |
| { | |
| using ( System.IO.Stream fileStream = new System.IO.FileStream ( "Test.mp3", System.IO.FileMode.Open ) ) | |
| { |
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
| #include <Windows.h> | |
| ////////////////////////////////////////////////////////////////// | |
| // TODO: Global Variables for Direct3D | |
| bool InitializeDirect3D ( HWND hWnd ) | |
| { | |
| // TODO: Initializing Direct3D |
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
| #define _CRT_SECURE_NO_WARNINGS | |
| #include <Windows.h> | |
| #include <cstdio> | |
| #include <cmath> | |
| float x = 0, y = 0; | |
| int targetX = 0, targetY = 0; | |
| float angle; | |
| HBITMAP myBitmap; |
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
| #include <Windows.h> | |
| int x = 0, y = 0; | |
| LRESULT CALLBACK WndProc ( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam ) | |
| { | |
| switch ( uMsg ) | |
| { | |
| case WM_PAINT: | |
| { |
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
| ffmpeg -i input1.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate1.ts | |
| ffmpeg -i input2.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate2.ts | |
| ffmpeg -i "concat:intermediate1.ts|intermediate2.ts" -c copy -bsf:a aac_adtstoasc output.mp4 |
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
| #include <winsock.h> | |
| #include <Windows.h> | |
| #include <stdio.h> | |
| #pragma comment (lib, "ws2_32.lib") | |
| int main(void) | |
| { | |
| WSADATA wsaData = { 0, }; | |
| struct in_addr addr = { 0, }; |
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
| using System; | |
| using System.IO; | |
| using System.Text; | |
| namespace OpenCLTest | |
| { | |
| class Program | |
| { | |
| static void Main ( string [] args ) | |
| { |
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
| #include <stdio.h> | |
| #include <Windows.h> | |
| int main(void) | |
| { | |
| bool start = false; | |
| int c = 0; | |
| char str[32] = {0, }; | |
| bool exit = true; |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.Net; | |
| using System.Net.NetworkInformation; | |
| using System.Text; | |
| using System.Threading; | |
| using System.Windows.Forms; | |
| namespace DdnsUpdater | |
| { |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.ComponentModel; | |
| using System.Data; | |
| using System.Drawing; | |
| using System.Linq; | |
| using System.Reflection; | |
| using System.Runtime.InteropServices; | |
| using System.Text; | |
| using System.Threading.Tasks; |