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
-------------------------------------------- | |
Examples of SQL code from my last job. | |
-------------------------------------------- | |
While I did analytics / BI work, I also wrote a lot of SQL's | |
to audit data. Due to the nature of telecom work, we had | |
a few tools used by provisioning department that allowed | |
them to break business rules. When you're running numbers, | |
and find out things don't add up, you start digging. So, | |
I would come across this, and then get with the IT / IS |
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
----------------------------------------- | |
Sample Sizing Big Data to Reduce Processing | |
----------------------------------------- | |
When grinding massive data sets, it'd be nice to | |
figure out a statistically supported subset sample | |
size you could come up with and run instead, that | |
way you could cut down on the time and resources | |
needed to come up with some results. IE: instead | |
of spending tons of time and resources grinding |
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
--------------------------------------- | |
VBA Excel Utilties | |
--------------------------------------- | |
Excel is a great tool for quick-n-dirty analysis. | |
But, staring at raw data in it can be a pain. So, | |
I created misc utilities to pull in data from SQL | |
servers, format data, border-split rows to group | |
similar data together, dupe-check data (made this | |
before MS got smart and built a version into later |
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
-------------------------------------------- | |
Windows Command-line Zip Automation | |
-------------------------------------------- | |
VBS / VBScript / WScript that uses FBZip.exe to automate zipping | |
up folders and archiving them into a folder. Runs from DOS commandline, | |
and can task schedule to fire off and run after-hours for archiving / | |
back-ups. | |
Uses FBZip, b/c it's a small free zip program that has easy-to-use |
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
---------------------------------------------- | |
Windows Command-line Folder Copy Automation | |
---------------------------------------------- | |
DOS / Windows Commandline script to automate folder copies / backups. | |
Can task schedule to do folder archiving after-hours. | |
IT would have a nightly backup of things, but created some backup | |
scripts to copy whole project folders into backups. This let me | |
quickly restore something if I was working on things or someone |
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
---------------------------------------------- | |
Windows Command-line MS Access DB Compact Automation | |
---------------------------------------------- | |
DOS / Windows Command-line script that compacts MS Access databases. | |
Checks if db is open (.ldb file exists) and skips compacting that db | |
if it does. Can task schedule to run after-hours for maintenance. | |
Purpose ... |
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
#-------------------------------------------- | |
# R affinity / market-basket analysis | |
#-------------------------------------------- | |
# if someone picks X, how likely would they | |
# be to pick Y or YZ. Or, if they picked XY | |
# together, how likely they'd pick Z. Etc. | |
# | |
# This serves two fold purpose.. | |
# 1) we can make a recommender system.. based on | |
# things they picked together, or picked one and |
NewerOlder