Proposal for Django in Google Summer of Code 2019 by Sage M. Abdullah.
Table of Contents
Abstract
import { useEffect, useState } from 'react'; | |
import IframeResizer from 'iframe-resizer-react'; | |
const GISCUS_SESSION_KEY = 'giscus-session'; | |
const GISCUS_ORIGIN = 'https://giscus.app'; | |
const ERROR_SUGGESTION = `Please consider reporting this error at https://github.com/laymonage/giscus/issues/new.`; | |
function formatError(message: string) { | |
return `[giscus] An error occurred. Error message: "${message}".`; | |
} |
CREATE USER django IDENTIFIED BY django; | |
GRANT DBA TO django; | |
QUIT |
CREATE USER django IDENTIFIED BY django; | |
GRANT DBA TO django; | |
QUIT |
import java.io.BufferedReader; | |
import java.io.FileReader; | |
import java.io.InputStreamReader; | |
import java.io.IOException; | |
import java.util.Arrays; | |
public class LessWith6Factors { | |
private static int pRow; | |
private static int pCol; |
Jade love uniqueness. Every time he found a string, he makes that string into multiple unique character strings. But Jade has a rule to make a new string, you can only remove the duplicate character, and cannot change the arrangement of the characters. Jade also sort the possibilities of the string in lexicographic order.
We consider lexicographic order of characters as their order of ASCII value. Hence the lexicographical order of character will be 'a', 'b', 'c', ..., 'y', 'z'.
For example:
string "sebaerb"
Possible arragements:
import java.io.BufferedReader; | |
import java.io.InputStreamReader; | |
import java.io.IOException; | |
import java.util.Arrays; | |
public class MaximumTrader { | |
public static void main(String[] args) throws IOException { | |
BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); | |
String[] pricesStr = br.readLine().split(" "); |
Table of Contents
GitHub supports several lightweight markup languages for documentation; the most popular ones (generally, not just at GitHub) are Markdown and reStructuredText. Markdown is sometimes considered easier to use, and is often preferred when the purpose is simply to generate HTML. On the other hand, reStructuredText is more extensible and powerful, with native support (not just embedded HTML) for tables, as well as
====================================================================== | |
ERROR: test_trunc_ambiguous_and_invalid_times (db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/usr/lib64/python3.7/unittest/case.py", line 59, in testPartExecutor | |
yield | |
File "/usr/lib64/python3.7/unittest/case.py", line 615, in run | |
testMethod() | |
File "/home/sage/gsoc/django/django/tests/db_functions/datetime/test_extract_trunc.py", line 1055, in test_trunc_ambiguous_and_invalid_times | |
model = DTModel.objects.annotate(truncated_start=TruncDay('start_datetime')).get() |