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
public class BarChartData | |
{ | |
public string x { get; set; } | |
public double? y { get; set; } | |
public double? y1 { get; set; } | |
} |
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
[HttpGet] | |
public List<BarChartData> TeamTicketCountsList() | |
{ | |
Random random = new Random(); | |
var result = new List<BarChartData> | |
{ | |
new BarChartData {x="EBA Dev", y = random.Next(0, 60),y1 = random.Next(0, 40) }, | |
new BarChartData {x="EBA Support", y = random.Next(0, 60),y1 = random.Next(0, 40) }, | |
new BarChartData {x="EBA Application Support", y = random.Next(0, 60),y1 = random.Next(0, 40) } | |
}; |
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
jQuery('.form--ssn-submit', namespace).on('submit', function (e) { | |
//Tons of code | |
}); |
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
Spec file: | |
# -*- mode: python -*- | |
block_cipher = None | |
a = Analysis(['main.py'], | |
pathex=['C:\\Users\\ztarr\\Desktop\\Exe Test - Copy'], | |
binaries=[], | |
datas=[], |
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
C:\Users\ztarr\Desktop\Exe Test>py -3.5 setup.py py2exe | |
running py2exe | |
1 missing Modules | |
------------------ | |
? readline imported from cmd, code, pdb | |
Building 'dist\main.exe'. | |
error: [Errno 2] No such file or directory: 'C:\\Python35-32\\lib\\site-packages\\py2exe\\run-py3.5-win32.exe' | |
C:\Users\ztarr\Desktop\Exe Test> |
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
*************Error Message when main.exe is ran************* | |
Traceback (most recent call last): | |
File "main.py", line 4, in <module> | |
File "c:\python36-32\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module | |
exec(bytecode, module.__dict__) | |
File "makeAHK.py", line 1, in <module> | |
File "c:\python36-32\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module | |
exec(bytecode, module.__dict__) | |
File "site-packages\pahk.py", line 4, in <module> | |
ImportError: cannot import name 'getsitepackages' |