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
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
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
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
------------------------------------------------------------------------------------------------------------------- | |
-- 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
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
{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
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/' |
NewerOlder