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
TARG := wxtest | |
run: $(TARG).app | |
open $< | |
$(TARG).app: $(TARG) | |
mkdir -p $@/Contents/MacOS | |
cp $< $@/Contents/MacOS | |
$(TARG): main.cpp |
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
# -*- coding: utf-8 -*- | |
require 'groonga' | |
Groonga::Database.create(path: '/tmp/test.db') | |
Groonga::Schema.define do |schema| | |
schema.create_table('ChannelNames', | |
type: :hash, | |
key_type: 'ShortText') do |table| |
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
module b { | |
class Foo { | |
public foo() { | |
console.log('B foo'); | |
} | |
} | |
} | |
module a { |
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
[merge] | |
ff = false | |
[pull] | |
rebase = true |
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
package main | |
// #cgo CFLAGS: -x objective-c | |
// #cgo LDFLAGS: -framework Cocoa | |
// #import <Cocoa/Cocoa.h> | |
// | |
// void run() { | |
// @autoreleasepool { |
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
<!DOCTYPE html> | |
<style> | |
html, body { | |
position: relative; | |
margin: 0; | |
padding: 0; | |
width: 100%; | |
height: 100%; | |
} | |
#canvas { |
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
package main | |
import ( | |
"fmt" | |
"log" | |
"runtime" | |
"github.com/go-gl/gl/v2.1/gl" | |
"github.com/go-gl/glfw/v3.1/glfw" | |
) |
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 <assert.h> | |
#include <stdio.h> | |
#include <GL/gl.h> | |
#include <GL/glext.h> | |
#include "GLFW/glfw3.h" | |
PFNGLGENFRAMEBUFFERSEXTPROC glGenFramebuffersEXT; | |
PFNGLBINDFRAMEBUFFEREXTPROC glBindFramebufferEXT; | |
PFNGLFRAMEBUFFERTEXTURE2DEXTPROC glFramebufferTexture2DEXT; |
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
(prefer-coding-system 'utf-8-unix) | |
(setq-default indent-tabs-mode nil) | |
(global-auto-revert-mode 1) | |
(global-set-key "\C-h" 'delete-backward-char) | |
(global-set-key "\C-j" 'newline-and-indent) | |
(electric-indent-mode 0) |
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
<!DOCTYPE html> | |
<script> | |
'use strict'; | |
var require = (function() { | |
class FS { | |
writeSync(fd, buffer, offset, toWrite) { | |
// TODO: Implement | |
console.log(buffer.str_); | |
} |