References:
- http://blog.bekijkhet.com/2012/05/install-teamcity-continuous-integration.html
- https://gist.github.com/ianbattersby/4641450
sudo apt-get update
| using UnityEngine; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| /** | |
| DownloadManager | |
| @author koki ibukuro | |
| */ | |
| public class DownloadManager : MonoBehaviour , System.IDisposable { | |
| // using classes |
| # the name of the target operating system | |
| set(CMAKE_SYSTEM_NAME Windows) | |
| # which compilers to use for C and C++ | |
| include(CMakeForceCompiler) | |
| cmake_force_c_compiler(i686-w64-mingw32-gcc GNU) | |
| cmake_force_cxx_compiler(i686-w64-mingw32-g++ GNU) | |
| set(CMAKE_RC_COMPILER i686-w64-mingw32-windres) | |
| set(CMAKE_RC_FLAGS -DGCC_WINDRES) |
| using System; | |
| using System.Runtime.InteropServices; | |
| public class GLFW { | |
| // TODO: Obviously don't do this. | |
| public const string GLFW_LIB = "/Users/kortham/lib/libglfw.dylib"; | |
| public static int WINDOW = 0x00010001; |
References:
sudo apt-get update
| import java.io.*; | |
| import java.util.*; | |
| import javax.servlet.*; | |
| import javax.servlet.http.*; | |
| import java.lang.reflect.*; | |
| import com.thetransactioncompany.jsonrpc2.*; | |
| public class init extends HttpServlet { | |
| public init() { |
| using UnityEditor; | |
| using System.IO; | |
| using System.Collections; | |
| using UnityEngine; | |
| using System.Collections.Generic; | |
| class PerformBuild | |
| { | |
| private static string BUILD_LOCATION = "+buildlocation"; |
| ; À compiler avec nasm -felf64 cat.asm && ld cat.o -o cat | |
| %define SYS_EXIT 60 | |
| %define SYS_READ 0 | |
| %define SYS_WRITE 1 | |
| %define SYS_OPEN 2 | |
| %define SYS_CLOSE 3 | |
| %define STDOUT 1 | |
| %define BUFFER_SIZE 2048 |
| # Set variables in .bashrc file | |
| # don't forget to change your path correctly! | |
| export GOPATH=$HOME/golang | |
| export GOROOT=/usr/local/opt/go/libexec | |
| export PATH=$PATH:$GOPATH/bin | |
| export PATH=$PATH:$GOROOT/bin |
keytool -genkey -alias wiremock -keyalg RSA -keysize 1024 \
-validity 365 -keypass password -keystore identity.jks -storepass password
Important: keypass must equal storepass, or else you'll receive java.io.IOException: !JsseListener: java.security.UnrecoverableKeyException: Cannot recover key