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
from django.db import models | |
from datetime import datetime | |
from django.db.models.query import QuerySet | |
from django.contrib.auth.models import User | |
from django.db.models import Count | |
from orca.settings import STATIC_URL | |
from random import randint | |
from autoslug import AutoSlugField | |
BASE_URL = '/comic/' |
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
{BaseController} = require './base' | |
class QueryController extends BaseController | |
constructor: (@table) -> | |
super() | |
@map = | |
gt: '>' | |
gte: '>=' | |
lt: '<' |
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 playBottleSong = function (numberOfBottles) { | |
var hasBottlesTemplate = '{beforeTakenDown} {bottlesBefore} of beer on the wall, ' + | |
'{beforeTakenDown} {bottlesBefore} of beer. Take one down and pass it around, ' + | |
'{afterTakenDown} {bottlesAfter} of beer on the wall.<br>'; | |
var noBottlesTemplate = 'No bottles of beer on the wall, no bottles of beer. ' + | |
'Go to the store and buy some more, 99 bottles of beer on the wall.'; | |
var bottleInfo = { |
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
------------------------------------------------------------------------------------------------------------------- | |
-- Setup functions for this job. Generally should not be modified. | |
------------------------------------------------------------------------------------------------------------------- | |
--[[ | |
Custom commands: | |
ExtraSongsMode may take one of three values: None, Dummy, FullLength | |
You can set these via the standard 'set' and 'cycle' self-commands. EG: |
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 java.util.HashMap; | |
import spark.ModelAndView; | |
import spark.template.velocity.VelocityTemplateEngine; | |
import static spark.Spark.*; | |
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.Arrays; | |
public class App { | |
public static void main(String[] args) { |
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
Incident Identifier: 5BB8DE81-953C-48B8-8370-9D2DAE08DC03 | |
CrashReporter Key: ace8a243d7ac92657b0aca087450bed6f5e57b82 | |
Hardware Model: iPad4,4 | |
Process: Winterhawks Pick6 [3413] | |
Path: /private/var/mobile/Containers/Bundle/Application/712DA30E-EA5B-47EB-8C3D-A6DA94B7FD5E/Winterhawks Pick6.app/Winterhawks Pick6 | |
Identifier: com.pick6fan.pick6 | |
Version: 1.3 (1.3) | |
Code Type: ARM-64 (Native) | |
Parent Process: launchd [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
public function days_request($room_id, $first_day, $last_day, $dst) | |
{ | |
global $console; | |
if(!$this->allowed_in_room($room_id)) return false; | |
$days = array(); | |
$offset = 0; | |
list($dst_start, $dst_offset, $dst_end, $dst_end_offset) = explode(',', $dst); |
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 foreign_keys=OFF; | |
BEGIN TRANSACTION; | |
CREATE TABLE "task" ( | |
"id" INTEGER NOT NULL, | |
"name" TEXT NOT NULL ON CONFLICT FAIL, | |
"setting_id" INTEGER, | |
PRIMARY KEY("id"), | |
CONSTRAINT "setting_id" FOREIGN KEY ("setting_id") REFERENCES "task_setting" ("id") | |
); | |
INSERT INTO "task" VALUES(1,'Running',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
smartctl 6.6 2017-11-05 r4594 [Darwin 17.4.0 x86_64] (local build) | |
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org | |
=== START OF INFORMATION SECTION === | |
Model Family: Hitachi Ultrastar 7K3000 | |
Device Model: Hitachi HUA723020ALA641 | |
Serial Number: YFG86ELA | |
LU WWN Device Id: 5 000cca 223c3bb23 | |
Firmware Version: MK7OA840 | |
User Capacity: 2,000,398,934,016 bytes [2.00 TB] |
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
{"bug_type":"210","timestamp":"2019-01-13 16:42:04.67 -0500","os_version":"iPhone OS 11.3.1 (15E302)","incident_id":"0EA4A6C2-8B1D-44BB-A779-CCF1ADA35AF1"} | |
{ | |
"build" : "iPhone OS 11.3.1 (15E302)", | |
"product" : "iPhone9,2", | |
"kernel" : "Darwin Kernel Version 17.5.0: Tue Mar 13 21:32:11 PDT 2018; root:xnu-4570.52.2~8\/RELEASE_ARM64_T8010", | |
"incident" : "0EA4A6C2-8B1D-44BB-A779-CCF1ADA35AF1", | |
"crashReporterKey" : "df6f305b007c27621076dc48097efae6dad141b9", | |
"date" : "2019-01-13 16:41:45.65 -0500", | |
"panicString" : "Debugger message: WDT timeout\n74s ago: 2755m0\/1 2755u0 2655m0\/1 2655u0 2555m0\/1 2555u0 2455m0\/1 2455u0 2355m0\/1 2355u0 2255m0\/1 2255u0 2155m0\/1 2155u0 2055m0\/1 2055u0 1955m0\/1 1955u0 1855m0\/1 1855u0 1755m0\/1 1755u0 1655m0\/1 1655u0 1555m0\/1 1555u0 1455m0\/1 1455u0 1440pe0000270 1440pe0000280 1440s6f647000 1293pe0000320 1292pe0000300 1292r6f647000 1292m0\/1 1292u0 1235pe0000270 1235pe0000280 1235s6f647000 1101pe0000320 1100pe0000300 1100r6f647000 1100m0\/1 1100u0 1000m0\/1 1000u0 |
OlderNewer