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 Sftp = Class.create(); | |
Sftp.prototype = { | |
initialize: function() { | |
gs.print("Setting up SSH client."); | |
this.dataSourceID = ''; | |
this.hostname = ''; | |
this.port = 22; | |
this.username = ''; | |
this.password = ''; |
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 <SDL2/SDL.h> | |
#include <SDL2/SDL_syswm.h> | |
#include <bgfx/bgfx.h> | |
#include <bgfx/platform.h> | |
#include <bx/bx.h> | |
#include <bx/mutex.h> | |
#include <bx/thread.h> | |
void threadInit() | |
{ |
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
// This is a port of the NTSC encode/decode shader pair in MAME and MESS, modified to use only | |
// one pass rather than an encode pass and a decode pass. It accurately emulates the sort of | |
// signal decimation one would see when viewing a composite signal, though it could benefit from a | |
// pre-pass to re-size the input content to more accurately reflect the actual size that would | |
// be incoming from a composite signal source. | |
// | |
// To encode the composite signal, I convert the RGB value to YIQ, then subsequently evaluate | |
// the standard NTSC composite equation. Four composite samples per RGB pixel are generated from | |
// the incoming linearly-interpolated texels. | |
// |
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 Sftp = Class.create(); | |
Sftp.prototype = { | |
initialize: function() { | |
gs.print("Setting up SSH client."); | |
this.dataSourceID = ''; | |
this.hostname = ''; | |
this.port = 22; | |
this.username = ''; | |
this.password = ''; |
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
<!--[if (gte mso 9)|(IE)]> | |
<center> | |
<table> | |
<tr> | |
<td width="600"> | |
<![endif]--> | |
<div style="max-width: 600px; margin: 0 auto;"> | |
<p>This text will be centered and constrained to 600 pixels even on Outlook which does not support max-width CSS</p> | |
</div> | |
<!--[if mso]> |
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
<!-- | |
* * * * * * * * * * * * * * * * * * * * * * * * * | |
* * | |
* / \ \ / \ * | |
*| | \ | | * | |
*| `. | | : * | |
*` | | \| | * | |
* \ | / / \\\ ____ \\ : * | |
* \ \/ ___~~ ~____| \ | * | |
* \ \__~ ~__\ | * |
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
A - ACCEPT, AFFECT, AIR, AWLS, APE | |
B - BATMAN, BALLS | |
C - CZAR | |
D - DJANGO | |
E - EWE, EYE, EFFECT, EXCEPT, EYJAFJALLAJOKULL | |
F - FIVE, FATMAN | |
G - GORGE, GRAPE, GNU, GNAT | |
H - HARE, HERMIONE, HOLE | |
I - I, IO | |
J - JULIO |
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 sys | |
import os | |
from multiprocessing import Process, Pipe | |
import wx | |
from direct.task import Task | |
from pandac.PandaModules import WindowProperties | |
from pandac.PandaModules import loadPrcFileData | |
from direct.showbase.ShowBase import ShowBase |
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
# Author: Pieter Noordhuis | |
# Description: Simple demo to showcase Redis PubSub with EventMachine | |
# | |
# Update 7 Oct 2010: | |
# - This example does *not* appear to work with Chrome >=6.0. Apparently, | |
# the WebSocket protocol implementation in the cramp gem does not work | |
# well with Chrome's (newer) WebSocket implementation. | |
# | |
# Requirements: | |
# - rubygems: eventmachine, thin, cramp, sinatra, yajl-ruby |