-
Copy it to the
Formula/h
subdirectory of thehomebrew/core
repository. Use the following command to display the path of such repository on the file system:brew --repository homebrew/core
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
diff --git a/setup.py b/setup.py | |
index 4e6d848..b20b920 100644 | |
--- a/setup.py | |
+++ b/setup.py | |
@@ -11,7 +11,7 @@ with open(os.path.join(_BASE_DIR, 'README.md')) as readme_file: | |
setup( | |
name='boilerpy3', | |
version=__version__, | |
- python_requires='>=3.6.*', | |
+ python_requires='>=3.6', |
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
defmodule ShortestReach do | |
def main do | |
IO.gets("") | |
|> String.trim() | |
|> String.to_integer() | |
|> shortest_reach() | |
end | |
defp shortest_reach(0) do | |
end |
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 openapi import get_redoc_html | |
def serve_docs_route(): | |
return get_redoc_html("openapi_url", "title") |
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
with open("/usr/share/dict/words") as words: | |
for word in map(str.rstrip, words): | |
for letter in word: | |
match letter: | |
case "a" | "b" | "c" | "d" | "e" | "f": | |
continue | |
case _: | |
break | |
else: | |
print(word) |
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
fn main() { | |
for shade in 0..242 { | |
let opacity = 13f32 / (255f32 - shade as f32); | |
println!("opacity:{:0.3};fill:#{:06x}", opacity, shade * 65793); | |
} | |
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
alabaster==0.7.12 | |
appnope==0.1.0 | |
arrow==0.12.1 | |
atlassian-python-api==1.11.19 | |
atomicwrites==1.3.0 | |
attrs==17.4.0 | |
autopep8==1.4.3 | |
aws-sam-cli==0.6.2 | |
aws-sam-translator==1.8.0 | |
Babel==2.6.0 |
NewerOlder