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
-------------------- | |
[06/08/23 07:15:49] module: dxupdate(Mar 30 2011), file: dxupdate.cpp, line: 6124, function: CFusion::CFusion | |
Failed API: LoadLibraryShim() | |
Error: (0x80070006) - Invalid handle.^M | |
-------------------- | |
[06/08/23 07:15:49] module: dxupdate(Mar 30 2011), file: dxupdate.cpp, line: 2969, function: IsMDXInUse |
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
#!/usr/bin/env bash | |
branch="$1" | |
buckets="$2" | |
if [ -z "$buckets" ]; then | |
echo "Usage: git-log-histogram <branch> <buckets>" | |
echo | |
echo "Prints the number of commits on <branch> in each of the last <buckets> seconds/minutes/hours/days." | |
echo |
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
#!/usr/bin/env python3 | |
import subprocess | |
import tempfile | |
from colored import stylize, fg, attr | |
import os | |
import sys | |
def main(): |
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
#!/usr/bin/env python3 | |
from pygments import highlight | |
from pygments.lexers import PythonLexer | |
from pygments.formatters import Terminal256Formatter | |
from pprint import pformat | |
import os | |
import json | |
from prettytable import PrettyTable | |
from colored import stylize, fg |
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
#!/usr/bin/env python3 | |
import os | |
from colored import fg, bg, stylize, attr | |
def wrap_in_transaction(path, content): | |
lines = content.splitlines() | |
if 'COMMIT;' in lines: |
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 * as lsp from 'vscode-languageserver-protocol' | |
import * as sourcegraph from 'sourcegraph' | |
import { Location, Position, Range } from 'sourcegraph' | |
const lspToSEA = { | |
location: ({ | |
currentDocURI, | |
location: { range, uri: uriFromLangServer }, | |
}: { | |
currentDocURI: string |
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
#!/usr/bin/env stack | |
{- | |
stack | |
--resolver lts-10.4 | |
--install-ghc | |
script | |
--package megaparsec | |
--package rainbow | |
--package typed-process | |
--package bytestring |
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
package main | |
import ( | |
"flag" | |
"fmt" | |
"log" | |
"net/http" | |
"os" | |
"os/exec" | |
"os/signal" |
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
#!/usr/bin/env stack | |
{- | |
stack | |
--resolver lts-10.1 | |
--install-ghc | |
--package random-extras | |
--package random-fu | |
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
#!/usr/bin/env stack | |
{- | |
stack | |
--resolver lts-10.4 | |
--install-ghc | |
script | |
--package temporary | |
--package megaparsec | |
--package rainbow | |
--package typed-process |
NewerOlder