- Merquery - Text Indexing & Search Engine Abstraction Layer for Python by Brian Beck, mentored by Jacob Kaplan-Moss
- Schema Evolution by Derek Anderson, mentored by Kenneth Gonsalves
- Per Object Permissions by Christopher A. Long, mentored by Ian Holsman
This file contains 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
print(""" | |
@@ | |
@@@ | |
@@@@ | |
@%-@@ | |
@@-.@@ | |
@@+..@@ | |
@%- #@ | |
@*. +@ | |
@*. :@@ |
This file contains 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 functools import lru_cache | |
from pathlib import Path | |
from django.template import TemplateDoesNotExist | |
from django.template.loader import select_template | |
@lru_cache | |
def check_template_override(template_name, expected_location, base_path=None): | |
""" |
This file contains 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
query { | |
repository(owner: "django", name: "django") { | |
pullRequest(number: 18780) { | |
statusCheckRollup { | |
state | |
contexts(first: 100) { | |
totalCount | |
checkRunCountsByState { | |
count | |
state |
This file contains 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 .views import upload_only_document_chooser_viewset | |
UploadOnlyDocumentChooserBlock = upload_only_document_chooser_viewset.get_block_class( | |
name="UploadOnlyDocumentChooserBlock", module_path="myapp.blocks" | |
) |
This file contains 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 { 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}".`; | |
} |
This file contains 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
CREATE USER django IDENTIFIED BY django; | |
GRANT DBA TO django; | |
QUIT |
This file contains 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
CREATE USER django IDENTIFIED BY django; | |
GRANT DBA TO django; | |
QUIT |
This file contains 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.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:
- saerb -> the first in lexicographical order
NewerOlder