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
# FindVulkan | |
# ---------- | |
# | |
# Try to find Vulkan. | |
# | |
# Once done this will define: | |
# | |
# VULKAN_FOUND - Vulkan found | |
# VULKAN_INCLUDE_DIRS - Vulkan include directories | |
# VULKAN_LIBRARIES - Vulkan libraries |
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
# Usage: watch.py [pattern] [command...] | |
# | |
# Watches files for changes and calls a command when a new file has been created | |
# or an existing file has been modified. A single % in the command will be | |
# replaced by the path of the created/modified file. | |
# | |
# Examples: | |
# watch.py *.tex pdflatex main.tex | |
# watch.py *.dot dot -Tpdf -O % |
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 -*- | |
from datetime import datetime | |
import sublime_plugin | |
class TimestampCommand(sublime_plugin.EventListener): | |
"""Expand `isoD`, `now`, `datetime`, `utcnow`, `utcdatetime`, | |
`date` and `time` | |
""" |
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
diff --git a/vm/builtin/string.cpp b/vm/builtin/string.cpp | |
index d6db712..f5dd250 100644 | |
--- a/vm/builtin/string.cpp | |
+++ b/vm/builtin/string.cpp | |
@@ -434,7 +434,9 @@ namespace rubinius { | |
chr = str[i]; | |
seq = ++i < bytes ? str[i] : -1; | |
- if(seq == '-') { | |
+ if(chr == '\\' && seq >= 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
#pragma once | |
#include "DXUT.h" | |
typedef enum RESOURCE_IDENTIFIER { | |
RESOURCE_IDENTIFIER_POSITIONS_TEX2D, | |
RESOURCE_IDENTIFIER_POSITIONS_SRV, | |
RESOURCE_IDENTIFIER_NORMALS_TEX2D, | |
RESOURCE_IDENTIFIER_NORMALS_SRV, | |
RESOURCE_IDENTIFIER_ALBEDO_SRV, | |
RESOURCE_IDENTIFIER_FRAMEBUFFER_RTV, |
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
require 'rubygems' | |
require 'rss/maker' | |
require 'nokogiri' | |
require 'open-uri' | |
URL = 'http://wwwrbg.in.tum.de/kontakt/FMI_Bistro/aktuell.html' | |
DAY_PATTERN = /\d?\d\.\d?\d.\d{4}/ | |
MEAL_PATTERN = /(\d+)\.((?:.|\n)+?\d\.\d\d)$/ | |
DATES = { |