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
{ | |
"1C Enterprise": { | |
"ace_mode": "text", | |
"color": "#814CCC", | |
"extensions": [ | |
".bsl", | |
".os" | |
], | |
"language_id": 0, | |
"tm_scope": "source.bsl", |
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
[ | |
{ | |
"name":"ABAP", | |
"type":"programming", | |
"extensions":[ | |
".abap" | |
] | |
}, | |
{ | |
"name":"AGS Script", |
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
#!/bin/bash | |
set -eu | |
# sourceable pomodoro command | |
pomodoro() { | |
# print help | |
echo_help() { | |
# Display help | |
echo "Pomodoro timer for the terminal." |
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
// Kahn's topological sort | |
// row number -> references | |
const input = [ | |
{id: "A", refs: []}, | |
{id: "B", refs: []}, | |
{id: "C", refs: ["D"]}, | |
{id: "D", refs: ["B"]}, | |
{id: "E", refs: ["A", "B"]}, | |
{id: "F", refs: ["A", "C"]} |
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 requests | |
import re | |
import logging | |
import time | |
from datetime import datetime | |
# Create a custom logger | |
logger = logging.getLogger(__name__) | |
# Create handlers |
OlderNewer