Skip to content

Instantly share code, notes, and snippets.

@zooba
zooba / gist:8c3572bb2261b6b398ce2e9bba1b090f
Created August 17, 2017 22:14
Symbol load log for _ctypes.pyd
E:\Temp\pythondaily\tools\_ctypes.pdb: Cannot find or open the PDB file.
E:\Temp\pythondaily\tools\DLLs\_ctypes.pdb: Cannot find or open the PDB file.
d:\a\1\b\out\amd64\_ctypes.pdb: Cannot find or open the PDB file.
C:\WINDOWS\_ctypes.pdb: Cannot find or open the PDB file.
C:\WINDOWS\symbols\dll\_ctypes.pdb: Cannot find or open the PDB file.
C:\WINDOWS\dll\_ctypes.pdb: Cannot find or open the PDB file.
E:\SymCache\_ctypes.pdb\896657d90d34459695cca921bf203cc91\_ctypes.pdb: Cannot find or open the PDB file.
E:\SymCache\MicrosoftPublicSymbols\_ctypes.pdb\896657d90d34459695cca921bf203cc91\_ctypes.pdb: Cannot find or open the PDB file.
SYMSRV: BYINDEX: 0x1
E:\SymCache*https://www.myget.org/F/python/symbols
@zooba
zooba / feedback-68760.py
Created June 21, 2017 21:18
Python code for developer community feedback item #68760
#!/usr/bin/python
import sys
import re
import os
import fileinput
from PyQt5 import QtWidgets,QtGui
class Main_Page(QtWidgets.QWidget):
def __init__(self,parent = None):
super().__init__()
@zooba
zooba / excel_dataframe.py
Created March 17, 2017 20:34
Function for viewing dataframes in Excel (or default CSV viewer)
print('Loaded dataframe viewer script.')
def xl(data, filename='temp.csv'):
import os, tempfile
filename = os.path.join(tempfile.gettempdir(), filename)
try:
# Try and get the to_csv() function
data_to_csv = data.to_csv
except AttributeError:

Keybase proof

I hereby claim:

  • I am zooba on github.
  • I am stevedower (https://keybase.io/stevedower) on keybase.
  • I have a public key whose fingerprint is 7ED1 0B65 31D7 C8E1 BC29 6021 FC62 4643 4870 34E5

To claim this, I am signing this object:

@zooba
zooba / OutliningTaggerProvider.cs
Created April 14, 2016 16:16
A code file for review
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Diagnostics;
using System.Threading;
using Microsoft.VisualStudio.Utilities;
using Microsoft.PythonTools.Analysis;
using Microsoft.PythonTools.Intellisense;
using Microsoft.PythonTools.Parsing.Ast;
using Microsoft.VisualStudio.Text;
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0_Config\Themes\{a4d6a176-b948-4b29-8c66-53c97a1ed7d0}\VsInteractiveWindow]
"Data"=hex:94,00,00,00,0b,00,00,00,01,00,00,00,85,56,a0,75,a8,00,ed,4d,ba,e5,e7,a5,0b,fa,92,9a,04,00,00,00,12,00,00,00,49,6e,74,65,72,61,63,74,69,76,65,20,2d,20,43,79,61,6e,00,01,00,c0,c0,ff,13,00,00,00,49,6e,74,65,72,61,63,74,69,76,65,20,2d,20,47,72,65,65,6e,00,01,00,c0,00,ff,13,00,00,00,49,6e,74,65,72,61,63,74,69,76,65,20,2d,20,57,68,69,74,65,00,01,7f,7f,7f,ff,14,00,00,00,49,6e,74,65,72,61,63,74,69,76,65,20,2d,20,59,65,6c,6c,6f,77,00,01,c0,c0,20,ff
[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0_Config\Themes\{a5c004b4-2d4b-494e-bf01-45fc492522c7}\VsInteractiveWindow]
"Data"=hex:1e,01,00,00,0b,00,00,00,01,00,00,00,85,56,a0,75,a8,00,ed,4d,ba,e5,e7,a5,0b,fa,92,9a,08,00,00,00,13,00,00,00,49,6e,74,65,72,61,63,74,69,76,65,20,2d,20,42,6c,61,63,6b,00,01,dc,dc,dc,ff,12,00,00,00,49,6e,74,65,72,61,63,74,69,76,65,20,2d,20,42,6c,75,65,00,01,8c,a