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
gcc test.c -E -P > $1 | |
echo $1 > temp | |
sed -i 's/.[a-zA-Z]$//g' temp | |
sed -i 's/\//./g' temp | |
module=`cat temp` | |
echo $1 > temp | |
sed -i 's/\//\\\//g' temp | |
fileDash=`cat temp` |
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
#version 330 | |
uniform int win_Height; | |
uniform int win_Width; | |
uniform int com_Height; | |
uniform int com_Width; | |
uniform int com_X; | |
uniform int com_Y; | |
uniform int com_Count; |
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 common.session.mongo; | |
import vibe.http.session; | |
import vibe.db.mongo.mongo; | |
class MongoSessionStore : SessionStore { | |
protected { | |
MongoClient client; | |
MongoCollection collection; | |
} |
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 common.routing; | |
public import vibe.http.router; | |
import std.file : append, write; | |
__gshared URLRouter urlRouter = new URLRouter(); | |
private string logFile = null; | |
void setRoutingLogFile(string file) { | |
logFile = file; | |
} |
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 main; | |
import orm; | |
@tableName("Books") | |
class Book { | |
@id | |
@name("id") | |
string isbn; | |
@defaultValue("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
module rh.common.routing; | |
public import vibe.http.router; | |
import std.file : append, write; | |
import std.traits : moduleName; | |
__gshared URLRouter urlRouter = new URLRouter(); | |
private string logFile = null; | |
void setRoutingLogFile(string file) { | |
logFile = file; |
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 common.session; | |
import dvorm; | |
@dbname("Session") | |
class SessionModel { | |
@id { | |
string key; | |
string name; | |
} |
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 bpy | |
import random | |
from math import sin, cos | |
cubeobject = bpy.ops.mesh.primitive_cube_add | |
torusobject = bpy.ops.mesh.primitive_torus_add | |
coneobject = bpy.ops.mesh.primitive_cone_add | |
planeobject = bpy.ops.mesh.primitive_plane_add | |
resizeObject = bpy.ops.transform.resize |
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 cmsed.test.models.book; | |
import cmsed.base.routing; | |
import dvorm; | |
@dbName("Books3") | |
class Book3 { | |
@dbId | |
@dbName("") | |
Book3Id key = new Book3Id; | |
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 cmsed.test.models; | |
import cmsed.base.registration.model; | |
public import cmsed.test.models.book; | |
shared static this() { | |
registerModel!Book3; | |
registerModel!Page3; | |
} |
OlderNewer