Assuming you received the certificate in DER form, saved to cert.der
:
openssl x509 -inform der -in cert.der -out chain.pem
Append the content of
https://letsencrypt.org/certs/lets-encrypt-x1-cross-signed.pem.txt to
chain.pem
.
using UnityEngine; | |
using System.Collections; | |
public class Example : MonoBehaviour | |
{ | |
public ExampleClass example; | |
void Start() {} | |
void Update() {} | |
} |
using System; | |
using UnityEditor; | |
[InitializeOnLoad] | |
public class ExecutionOrderManager : Editor | |
{ | |
static ExecutionOrderManager() | |
{ | |
foreach (MonoScript monoScript in MonoImporter.GetAllRuntimeMonoScripts()) | |
{ |
Assuming you received the certificate in DER form, saved to cert.der
:
openssl x509 -inform der -in cert.der -out chain.pem
Append the content of
https://letsencrypt.org/certs/lets-encrypt-x1-cross-signed.pem.txt to
chain.pem
.
// ==UserScript== | |
// @name SO_like_keyboards_shortcuts | |
// @namespace sputnick | |
// @include https://github.com/* | |
// @include https://gist.github.com/* | |
// @include https://*.slack.com/* | |
// @include https://stackoverflow.com/* | |
// @include hhttps://serverfault.com/* | |
// @include https://*stackexchange.com/* | |
// @include https://askubuntu.com/* |
gource -s .06 -1280x720 --auto-skip-seconds .1 --multi-sampling --stop-at-end --key --highlight-users --hide mouse,progress,files,filenames,dirnames --file-idle-time 0 --max-files 0 --background-colour 000000 --font-size 22 --title "Lucene/Solr" --output-ppm-stream - --output-framerate 30 | avconv -y -r 30 -f image2pipe -vcodec ppm -i - -b 65536K movie.mp4 | |
&& ffmpeg -i movie.mp4 -b:v 3048780 -vcodec libx264 -crf 24 output.mp4 |
using UnityEngine; | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Threading; | |
class BitmapEncoder | |
{ | |
public static void WriteBitmap(Stream stream, int width, int height, byte[] imageData) |
This is a quick-and-dirty guide to setting up a Raspberry Pi as a "router on a stick" to PrivateInternetAccess VPN.
Install Raspbian Jessie (2016-05-27-raspbian-jessie.img
) to your Pi's sdcard.
Use the Raspberry Pi Configuration tool or sudo raspi-config
to:
Unity has built-in support for hotswapping, which is a huge productivity booster. This feature works not only with graphics assets like bitmaps and meshes, but also with code: if you edit the source and save it, the editor will save the state of the running game, compile and load the new code, then load the saved state and continue where it left off. Unfortunately, this feature is very easy to break, and most available 3rd party plugins have little regard for it.
It looks like there’s a lot of confusion about hotswapping in Unity, and many developers are not even aware of its existence – which is no wonder if their only experience is seeing lots of errors on the console when they forget to stop the game before recompiling... This document is an attempt to clear up some of this confusion.
Nota bene, I’m not a Unity developer, so everything below is based on blog posts and experimentation. Corrections are most welcome!
using System; | |
using UnityEngine.Internal; | |
using UnityEngine; | |
using System.Runtime.Serialization; | |
using System.Xml.Serialization; | |
/// <summary> | |
/// Quaternions are used to represent rotations. | |
/// A custom completely managed implementation of UnityEngine.Quaternion | |
/// Base is decompiled UnityEngine.Quaternion |
/* | |
Implementation of ISynchronizeInvoke for Unity3D game engine. | |
Can be used to invoke anything on main Unity thread. | |
ISynchronizeInvoke is used extensively in .NET forms, it's is elegant and quite useful in Unity as well. | |
I implemented it so i can use it with System.IO.FileSystemWatcher.SynchronizingObject. | |
help from: http://www.codeproject.com/Articles/12082/A-DelegateQueue-Class | |
example usage: https://gist.github.com/aeroson/90bf21be3fdc4829e631 | |
version: aeroson 2017-07-13 (author yyyy-MM-dd) |