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
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Linq; | |
using System.Runtime.InteropServices; | |
using System.Text; | |
namespace FindWindow | |
{ | |
class FindWindow |
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
#include <sstream> | |
#include <vector> | |
using namespace std; | |
vector<string> split(const string &s, char delimiter = ',', bool includeEmpties = true) | |
{ | |
vector<string> tokens; | |
string token; | |
istringstream tokenStream(s); |
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
#include <stdio.h> | |
#include <stdlib.h> | |
char * toBinary(int n) | |
{ | |
const int size = sizeof(n) * 8; | |
char * str = (char*)malloc(sizeof(char) * (size + 1)); | |
if (str) | |
{ |
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
using namespace std; | |
string replaceAll(string str, const string &from, const string &to) | |
{ | |
size_t start_pos = 0; | |
while ((start_pos = str.find(from, start_pos)) != string::npos) | |
{ | |
str.replace(start_pos, from.length(), to); | |
start_pos += to.length(); // Handles case where 'to' is a substring of 'from' | |
} |
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
#define _IN_FILE "in.txt" | |
#define _OUT_FILE "out.txt" | |
#include <fstream> | |
#include <string> | |
#include <vector> | |
#include <algorithm> | |
#include <windows.h> | |
using namespace std; |
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
strcmp(myString._Mypair._Myval2._Bx._Buf, "test") == 0 |
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
Note: mods are specified using a '-' character. | |
Braid mods backlog: | |
- Braid - Modyssee | |
- Braid - More now than ever | |
- Braid - Nyx | |
- Braid - Silverbraid | |
Half-Life 1 mods backlog: |
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
Note: mods are specified using a '-' character. 100% means all achievements unlocked. | |
Games finished (most of them on stream), hardest difficulty: | |
- 35MM | |
- 8Bit Killer | |
- A Date in the Park (100%) | |
- A Way Out | |
- Aerinde | |
- Afterfall InSanity |
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
Note: movies watched are specified using a 'x' character, series in progress/unfinished have a '*' character. | |
Movies: | |
x 100 Girls | |
x 101 Dalmatians (https://www.imdb.com/title/tt0115433) | |
x 127 Hours | |
x 1408 | |
x 17 Again | |
x 1917 |
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
Note: bands I completely listened to are specified using a 'x' character. | |
x +44 | |
x 10cc | |
- 2Pac | |
x 3 Doors Down | |
x 888 | |
- A.R. Rahman | |
x A Beacon School | |
x A Broken Silence |
OlderNewer