I hereby claim:
- I am photex on github.
- I am photex (https://keybase.io/photex) on keybase.
- I have a public key ASCi64jDnQ3IzOTMYIsD82tlgMBDzwobiheqFkxDPV6mYgo
To claim this, I am signing this object:
@echo off | |
@rem Packages up VS2017 toolchain into builds.7z archive | |
@set TOOLS_VERSION=14.13.26128 | |
@cd "%~dp0" | |
@set VC_PATH=%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Professional\VC\ | |
@if not exist "%VC_PATH%" goto error_no_vs | |
@if not exist "%VC_PATH%"Tools\MSVC\%TOOLS_VERSION% goto error_no_vs |
<?xml version="1.0" encoding="UTF-8"?> | |
<style-scheme version="1.0" name="Zenburn"> | |
<style name="AddedLine" foreground="#708c80" background="#313c36" bold="true"/> | |
<style name="Comment" foreground="#7f9f7f"/> | |
<style name="CurrentLine" foreground="#dcdccc" background="#262626"/> | |
<style name="CurrentLineNumber" foreground="#9fafaf" bold="true"/> | |
<style name="DiffFile" foreground="#ecbcbc" background="#41363c" bold="true"/> | |
<style name="DiffLocation" foreground="#80d4aa" background="#2f2f2f" bold="true"/> | |
<style name="DisabledCode" background="#555555" bold="true"/> | |
<style name="Doxygen.Comment" foreground="#80969f"/> |
I hereby claim:
To claim this, I am signing this object:
(defclass viz-window (glut:window) | |
((zoom :initform 0.0025) | |
(offset :initform #(0.0 0.0)) | |
(last-mouse :initform ()) | |
(pan-throttle :initform 5) | |
(zoom-throttle :initform 0.00025) | |
(update-mode :initform nil)) | |
(:default-initargs :pos-x 100 :pos-y 100 | |
:width 800 :height 800 | |
:mode '(:double :rgba) |
#! /bin/sh | |
exec gnome-session --session xmonad "$@" |
#!/bin/zsh | |
if [ -d ".plant" ]; then | |
PROJECT=`basename $PWD` | |
COMMAND=$1 | |
OPTIONS=$@[2,${#}] | |
else | |
COMMAND=$1 | |
PROJECT=$2 | |
if [ -d $PROJECT ]; then |
import play.api._ | |
import play.api.libs.concurrent.Akka | |
import akka.actor.Props | |
import akka.routing.SmallestMailboxRouter | |
import com.typesafe.config.ConfigFactory | |
// whatever your package name is and whatever interested actors you want to target | |
import myapplication.amqp.{RabbitMQConnection, MsgConsumer} | |
import myapplication.actors.EventFilter |
import akka.actor.ActorRef | |
import com.codahale.jerkson.Json.parse | |
import com.codahale.jerkson.ParsingException | |
import com.rabbitmq.client.{Channel, DefaultConsumer, Envelope} | |
import com.rabbitmq.client.AMQP.BasicProperties | |
class MsgConsumer(channel: Channel, target: ActorRef) extends DefaultConsumer(channel) { | |
override def handleDelivery(consumer_tag: String, |
import sys | |
sys.path.insert(0, '/job/HOME/ccollier/pycharm/pycharm-debug.egg') | |
from pydev import pydevd | |
pydevd.settrace('localhost', port=1234) | |
# HERE YOU WOULD CALL THE CODE BEING DEBUGGED. A BREAKPOINT SHOULD BE SET IN PYCHARM |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <string.h> | |
int main(int argc, char* argv[]) { | |
char *src="12345678"; | |
char dst1[10]; | |
char dst2[10]; | |
// ensure that dst is clean |