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
<?xml version="1.0" encoding="UTF-8"?> | |
<Export generator="Cache" version="25"> | |
<Class name="Utils.CustomQuery"> | |
<Super>%Persistent,%Populate</Super> | |
<TimeCreated>63869,45310.24869</TimeCreated> | |
<Property name="Prop1"> | |
<Type>%String</Type> | |
</Property> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<Export generator="Cache" version="25" zv="Cache for Windows (x86-64) 2015.1.1 (Build 505U)" ts="2015-06-17 22:55:48"> | |
<Class name="App.Log"> | |
<Super>%Persistent</Super> | |
<TimeChanged>63720,82487.41709</TimeChanged> | |
<TimeCreated>63685,63064.148177</TimeCreated> | |
<Parameter name="Null"> | |
<Description> | |
Replacement for missing values</Description> |
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
Class Debug.Trace Extends %RegisteredObject | |
{ | |
ClassMethod On(aGN As %String = "") As %Status [ ProcedureBlock = 0 ] | |
{ | |
#define InvalidIO $io'=$p | |
if aGN="" set %TraceLog=$name(^CacheTemp.TraceLog) | |
else set %TraceLog=aGN | |
kill @%TraceLog | |
for i=1:1:$stack-1 { |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<Export generator="Cache" version="25" zv="Cache for Windows (x86-64) 2015.3 (Build 211U)" ts="2015-11-06 21:30:14"> | |
<Class name="Utils.DynamicObject"> | |
<Super>%RegisteredObject</Super> | |
<TimeChanged>63862,77333.461179</TimeChanged> | |
<TimeCreated>63862,75470.717321</TimeCreated> | |
<Property name="obj"> | |
<Description> | |
Свойство, хранящее настоящий динамический объект</Description> |
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
""" | |
example of the usage of pyrss2gen library. | |
URL: http://www.dalkescientific.com/Python/PyRSS2Gen.html | |
""" | |
import datetime | |
import PyRSS2Gen | |
rss = PyRSS2Gen.RSS2( | |
title = "Andrew's PyRSS2Gen feed", |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<hash> | |
<telescopic-steering-column>Std.</telescopic-steering-column> | |
<front-split-bench-seat>N/A</front-split-bench-seat> | |
<powertrain-warranty-distance>36,000 mile</powertrain-warranty-distance> | |
<leather-seat>Std.</leather-seat> | |
<load-bearing-exterior-rack>N/A</load-bearing-exterior-rack> | |
<front-spring-type>Coil</front-spring-type> | |
<steel-wheels>N/A</steel-wheels> | |
<maximum-gvwr>No data lbs</maximum-gvwr> |
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
...class definition | |
/// Set InitialExpression to any class method returning the calculated value. | |
/// In this case, I'm returning a string value. | |
Property BaseDirectoryPath As %String [ InitialExpression = {..GetBaseDirectoryForNamespace()} ]; | |
/// Returns the base directory path to use for whatever cache instance the class is being used in. | |
ClassMethod GetBaseDirectoryForNamespace() As %String | |
{ | |
SET vPath = $CASE($Namespace, |
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
#!/usr/bin/env python | |
import sys | |
import cv2 | |
import subprocess | |
from subprocess import call | |
import aalib | |
import Image |
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 AngularJSApp = angular.module("AngularJSApp", ["ngResource", "ngSanitize"]) | |
.config(function ($routeProvider, $httpProvider) { | |
$routeProvider. | |
when('/', { controller: NavigationCtrl, templateUrl: 'navigation.html' }). | |
when('/feedback', { controller: FeedbackCtrl, templateUrl: 'feedback.html' }). | |
otherwise({ redirectTo: '/' }); | |
$httpProvider.defaults.withCredentials = true; | |
delete $httpProvider.defaults.headers.common["X-Requested-With"]; |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |