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
package Mascotty | |
import javafx.application.Application | |
import javafx.stage.StageStyle | |
import javafx.stage.Stage | |
import javafx.scene.Scene | |
import javafx.scene.layout.VBox | |
import javafx.scene.paint.Color | |
import javafx.scene.image.ImageView | |
import javafx.scene.image.Image |
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
import javafx.scene.canvas.Canvas | |
class WaveView(width:Double, height:Double) : Canvas(width, height){ | |
fun draw(waveData:ByteArray){ | |
val c = getGraphicsContext2D()!! | |
val zoom = 2.0 | |
val height = getHeight().toDouble() | |
val byteSize = 256 | |
val originY = height / 2 |
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 SpicyPixel.Threading; | |
using SpicyPixel.Threading.Tasks; | |
using System.Collections; | |
public class SampleConcurrency : ConcurrentBehaviour | |
{ | |
void Start() | |
{ | |
print("Start Start"); | |
taskFactory.StartNew(Bootstrap()) |
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 SKYPE4COMLib; | |
using System.Net; | |
using System.Text.RegularExpressions; | |
using System.Threading; | |
namespace mikobot | |
{ | |
class Program | |
{ | |
static Skype Skype; |
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 System.Collections.Generic; | |
using UnityEngine; | |
public interface ISignal | |
{ | |
void UnsafeSubscribe(Delegate slot, SlotGroup group = null); | |
void UnsafeUnsubscribe(Delegate slot, SlotGroup group = null); | |
} |
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
declare class Two { | |
type: Two.Types; | |
width: number; | |
height: number; | |
constructor(params?: TwoConstructionParams); | |
appendTo(element: HTMLElement); | |
makeLine(x1: number, y1: number, x2: number, y2: number): Two.Shape; | |
makeRectangle(x: number, y: number, width: number, height: number): Two.Shape; |
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
/* | |
!/Vagrantfile | |
!/.gitignore |
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.Collections; | |
using System.Collections.Generic; | |
using System.Collections.ObjectModel; | |
using System.Linq; | |
using UnityEngine.Events; | |
namespace Chiepomme | |
{ | |
public enum ChangeAction | |
{ |
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
require "webrick" | |
# put this file to [your jekyll root]/_plugins/non-ascii-filename.rb | |
module Jekyll | |
module Commands | |
class Serve | |
class Servlet < WEBrick::HTTPServlet::FileHandler | |
# original: webrick/httpservlet/filehandler.rb | |
def prevent_directory_traversal(req, res) |
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
package main | |
import ( | |
"fmt" | |
"regexp" | |
"github.com/ChimeraCoder/anaconda" | |
) | |
func main() { |
OlderNewer