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
/** | |
* Class to run a background thread do parallel work with different Objects using an interface | |
*/ | |
class FBackgroundRunnable : public FRunnable | |
{ | |
public: | |
explicit FBackgroundRunnable(IMediator* InObject) | |
{ | |
Object = InObject; | |
BackgroundThread = FRunnableThread::Create(this, TEXT("Background Thread"), 0, EThreadPriority::TPri_Highest, FPlatformAffinity::GetAsyncLoadingThreadMask()); |
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
/// juaxix - TicTacToe | |
/// @see https://imgur.com/a/gBmaYD4 | |
import javax.sound.sampled.AudioInputStream; | |
import javax.sound.sampled.AudioSystem; | |
import javax.sound.sampled.Clip; | |
import javax.swing.*; | |
import java.awt.*; | |
import java.awt.event.ActionEvent; | |
import java.awt.event.ActionListener; | |
import java.io.InputStream; |
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
### Keybase proof | |
I hereby claim: | |
* I am juaxix on github. | |
* I am juaxix (https://keybase.io/juaxix) on keybase. | |
* I have a public key ASCl5aLcWCrgmte5ZK51L4B9so6I3fMzBblx7CtKciofnAo | |
To claim this, I am signing this object: |
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 <iostream> | |
#include <windows.h> | |
#include <string> | |
// LeftClick function | |
void LeftClick() | |
{ | |
INPUT Input = { 0 }; | |
// left down | |
Input.type = INPUT_MOUSE; |
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 <string> | |
#include <ostream> | |
#include <vector> | |
using namespace std; | |
struct Field | |
{ | |
string name; | |
string type; |
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 <iostream> | |
#include <conio.h> | |
#include <chrono> | |
#include <thread> | |
using namespace std; | |
//game state | |
bool gameOver = false; | |
//MAP BLOCKS | |
const int width = 20; | |
const int height = 20; |
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 GameSparks.RT; | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class NetworkView : MonoBehaviour | |
{ | |
public int viewID = 0; | |
public enum ViewSynchModes |
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
//Step using a browser | |
//1) Login into your account. Go to your profile following, example https://twitter.com/xixgames/following | |
//2) Go all the way to bottom to get all the parts of the accounts you follow (the new API only allow get chunks) | |
// --> you can do that with a scrollTo jQuery script or just keep pressed the AvPage key of your keyboard. | |
//3) Open developer console and copy paste this code, and change confirm_unfollow to true if you want to execute the unfollow | |
//Get all follows data: | |
var follows = $(".FollowStatus"); | |
//Remove data from accounts who are following back: | |
for(var i=0;i<follows.length;i++) | |
{ |
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 UnityEngine; | |
using System.Collections.Generic; | |
using System.Linq; | |
using DG.Tweening; | |
using UnityEngine.Events; | |
using Random = UnityEngine.Random; | |
public class Game : MonoBehaviour | |
{ |
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
// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved. | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.IO; | |
using AutomationTool; | |
using UnrealBuildTool; | |
using Microsoft.Win32; | |
using System.Diagnostics; |
NewerOlder