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 cgi | |
import re | |
import xml.dom.minidom | |
# Omit trailing slash. | |
HOST = 'http://www.bolinfest.com' | |
STYLE = """ | |
body { | |
width: 825px; |
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
#include <clang-c/Index.h> | |
#include <stdio.h> | |
void parseMalformedFile(char* source) { | |
CXIndex index = clang_createIndex( | |
/* excludeDeclarationsFromPCH */ 0, | |
/* displayDiagnostics */ 0); | |
const char *args[] = { | |
"-I/usr/include", | |
"-I.", |
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
rm -f -r out/Makefile node node_g out/Release/node \ | |
out/Release/node.exp | |
rm -f -r node_modules | |
rm -f test.tap | |
# Next one is legacy remove this at some point | |
rm -f -r test/tmp* | |
rm -f -r test/.tmp* | |
/Applications/Xcode_10.2.app/Contents/Developer/usr/bin/make test-addons-clean | |
rm -f -r test/addons/??_*/ | |
rm -f -r test/addons/*/build |
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
#!/usr/bin/env node | |
// Run this file to generate initialize.rpc in the same directory. | |
// Then to test it: | |
// | |
// Microsoft.Python.LanguageServer < /Users/mbolin/src/test-lsp/initialize.rpc | |
// | |
// Ideally, the LSP would reply on stdout. | |
const fs = require("fs"); |
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 asyncio | |
import json | |
import os.path | |
from aiogoogle import Aiogoogle | |
from aiogoogle.auth.creds import ClientCreds, UserCreds | |
"""Basic Python script that demonstrates programmatic access to GDrive, | |
though the hard work is jumping through the Google Cloud Console hoops | |
to get a valid set of credentials to instantiate ClientCreds and UserCreds. |
OlderNewer