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 System; | |
| using System.Diagnostics; | |
| using System.IO; | |
| using System.Net; | |
| using System.Net.Sockets; | |
| using Microsoft.Framework.Logging; | |
| namespace OmniSharp.Dnx | |
| { | |
| public class DesignTimeHostManager |
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 System; | |
| using System.Collections.Generic; | |
| using System.Composition; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Net; | |
| using System.Net.Sockets; | |
| using System.Text; | |
| using System.Threading; | |
| using System.Threading.Tasks; |
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
| /*--------------------------------------------------------------------------------------------- | |
| * Copyright (c) Microsoft Corporation. All rights reserved. | |
| * Licensed under the MIT License. See License.txt in the project root for license information. | |
| *--------------------------------------------------------------------------------------------*/ | |
| 'use strict'; | |
| var __extends = (this && this.__extends) || function (d, b) { | |
| for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; | |
| function __() { this.constructor = d; } | |
| d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | |
| }; |
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 System; | |
| using System.Net; | |
| using System.Net.Sockets; | |
| using System.Threading; | |
| using Microsoft.Framework.Logging; | |
| namespace OmniSharp | |
| { | |
| public class SocketConnection | |
| { |
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
| import SpriteKit | |
| import XCPlayground | |
| let view:SKView = SKView(frame: CGRectMake(0, 0, 1024, 768)) | |
| XCPlaygroundPage.currentPage.liveView = view | |
| let scene:SKScene = SKScene(size: CGSizeMake(1024, 768)) | |
| scene.scaleMode = SKSceneScaleMode.AspectFit |
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
| //: Playground - noun: a place where people can play | |
| import SpriteKit | |
| import PlaygroundSupport | |
| import Foundation | |
| let fileURL = Bundle.main.url(forResource: "blurplain", withExtension: "svg") | |
| let content = try String(contentsOf: fileURL!, encoding: String.Encoding.utf8) |
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
| typedef struct MrgData{const char *path; | |
| int length; | |
| const char *data;}MrgData; | |
| static MrgData mrg_data[]={ | |
| {"css.html", 1754, | |
| "<html><head><title>MicroRaptor Gui</title>\n" | |
| " <style>\n" | |
| " @import url(\"mrg.css\");\n" | |
| " </style>\n" | |
| " </head>\n" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| var fs = require('fs') | |
| var path = require('path') | |
| var Canvas = require('canvas') | |
| function getX (angle) { | |
| return -Math.sin(angle + Math.PI) | |
| } | |
| function getY (angle) { | |
| return Math.cos(angle + Math.PI) |
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
| ***Super Simple XHyve NFS instructions*** | |
| 1. Create a user account with the same login as MacOS account and add to group "wheel" | |
| 2. edit /etc/exports and add line to allow all clients to connect to host with specific user (for example): | |
| /usr/home/jessebennett -alldirs -maproot=jessebennett | |
| 3. change the file /etc/rc.conf to enable nfs daemon on startup add these to the file: |
OlderNewer