Windows 10 users: you won't need this guide. NVidia has made signed drivers available with the modifications outlined here, although it's been said you'll have to get them from third-party vendors - distributing them like they do with notebook GPU drivers. I use drivers bundled with the Razer Core enclosure.
๐ฟ๏ธ
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 UnityEngine; | |
| using System.Collections; | |
| using UnityEngine.SocialPlatforms; | |
| using UnityEngine.SocialPlatforms.GameCenter; | |
| public class GameCenter : MonoBehaviour { | |
| static ILeaderboard m_Leaderboard; | |
| public int highScoreInt = 1000; | |
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
| lexer grammar HlslAntlrLexer; | |
| @lexer::header {#pragma warning disable 3021} | |
| AppendStructuredBuffer : 'AppendStructuredBuffer'; | |
| Bool : 'bool'; | |
| Bool1 : 'bool1'; | |
| Bool2 : 'bool2'; | |
| Bool3 : 'bool3'; | |
| Bool4 : 'bool4'; |
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
| function check_password(pwd) { | |
| // Copyright (c) 2015 Lee Sahghyuck <shlee322@elab.kr> | |
| // MIT License (http://opensource.org/licenses/mit-license.php) | |
| // Author : Lee Sahghyuck <shlee322@elab.kr> | |
| // Date : 2015.02.17 | |
| var char_type = 0; | |
| if (/[a-z]/.test(pwd)) char_type = char_type + 1; | |
| if (/[A-Z]/.test(pwd)) char_type = char_type + 1; | |
| if (/[0-9]/.test(pwd)) char_type = char_type + 1; |
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
| # Amend manifest to tell Windows that the application is DPI aware (needed for Windows 8.1 and up) | |
| IF (MSVC) | |
| IF (CMAKE_MAJOR_VERSION LESS 3) | |
| MESSAGE(WARNING "CMake version 3.0 or newer is required use build variable TARGET_FILE") | |
| ELSE() | |
| ADD_CUSTOM_COMMAND( | |
| TARGET ${TARGET_TARGETNAME} | |
| POST_BUILD | |
| COMMAND "mt.exe" -manifest \"${CMAKE_CURRENT_SOURCE_DIR}\\dpiawarescaleing.manifest\" -inputresource:\"$<TARGET_FILE:${TARGET_TARGETNAME}>\"\;\#1 -outputresource:\"$<TARGET_FILE:${TARGET_TARGETNAME}>\"\;\#1 | |
| COMMENT "Adding display aware 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
| #define AppId "{INSERT HERE YOUR GUID}" | |
| #define AppName "My App" | |
| #define AppVersion "1.7" | |
| [CustomMessages] | |
| english.NewerVersionExists=A newer version of {#AppName} is already installed.%n%nInstaller version: {#AppVersion}%nCurrent version: | |
| [Code] | |
| // find current version before installation | |
| function InitializeSetup: Boolean; | |
| var Version: String; |
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 <iostream> | |
| #include <string> | |
| #include <curl/curl.h> | |
| static size_t WriteCallback(void *contents, size_t size, size_t nmemb, void *userp) | |
| { | |
| ((std::string*)userp)->append((char*)contents, size * nmemb); | |
| return size * nmemb; | |
| } |
You might want to read this to get an introduction to armel vs armhf.
If the below is too much, you can try Ubuntu-ARMv7-Qemu but note it contains non-free blobs.
First, cross-compile user programs with GCC-ARM toolchain. Then install qemu-arm-static so that you can run ARM executables directly on linux
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
| /********************************************************************************************************* | |
| * Windows Registered I/O (RIO) Sample Code (Echo Server) | |
| * Minimum requirement: Windows 8 or Windows Server 2012 | |
| * Author: @sm9kr | |
| * | |
| * Notice | |
| * ๋ช๋ช ์ฝ๋ ์กฐ๊ฐ๋ค์ (http://www.serverframework.com/asynchronousevents/rio/)์์ ๊ฐ์ ธ์ด. | |
| * ๊ทธ๋ฐ๋ฐ ์ฌ๊ธฐ๋ ์ ๋๋ก ์์ฑ๋ ์ฝ๋๊ฐ ์์๋ ๊ฒ์ ์๋๋ผ์ ์๋น ๋ถ๋ถ ๊ธฐ๋ฅ์ ์ถ๊ฐํ์ฌ ๋์ํ๋๋ก ํจ. | |
| * RIO์ ์ฌ์ฉ๋ฒ์ ๋ณด์ฌ์ฃผ๊ธฐ ์ํ ์ฝ๋๋ผ ์ต๋ํ ๊ฐ๋จํ๊ฒ ํ์ํ ๋ถ๋ถ๋ง ๋ฃ์์. | |
| * ๊ทธ๋์, ๋ฒ๊ทธ๊ฐ ์์ ์ ์์... |
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 <immintrin.h> | |
| #include <intrin.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| union Mat44 { | |
| float m[4][4]; | |
| __m128 row[4]; | |
| }; |