Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am nickfogle on github.
  • I am nickfogle (https://keybase.io/nickfogle) on keybase.
  • I have a public key ASBfQAZrHPUL20EenPKa5fku0Rb7Ttsx-w_TjfASGkrTxQo

To claim this, I am signing this object:

@nickfogle
nickfogle / CRM designation parser
Last active November 9, 2015 14:28 — forked from hyperking/CRM designation parser
BBCRM Response Formatter
var allFunds = CRMresponse.Rows;
function beautifyCRM(allFunds) {
colleges = {}
$(allFunds).each(function(key, val) {
var list = val['Values'];
console.log(list);
var cname = list[2].split("\\").pop();
var fund = list[0];
var guid = list[3];
@nickfogle
nickfogle / Miscellaneous Functions
Last active August 29, 2015 14:01
JS Collection for BBNC
<!-- Automatically Update Copyright Date -->
<div id="wrapFooter">
<div class="gutter">&copy; <span id="currentYear">2013</span> Blackbaud, Inc.</div>
</div>
<script type="text/javascript" language="javascript">
$("#currentYear").text((new Date).getFullYear());
</script>
@nickfogle
nickfogle / BBNC Global JavaScript File
Created May 15, 2014 17:55
NetCommunity JavaScript Snippets
/**********************************************
Blackbaud Design Custom JavaScript
***********************************************
Site:
Author:
Created:
BBNC Version:
*********** CHANGE LOG ************************
@nickfogle
nickfogle / Bash Shortcuts
Last active August 29, 2015 14:00
Linux Dev Installs
# Intermediate bash - Keyboard shortcuts
• Ctrl + A: Go to the beginning of the line you are currently typing on
• Ctrl + E: Go to the end of the line you are currently typing on
• Ctrl + F: Forward one character.
• Ctrl + B: Backward one character.
• Meta + F: Move cursor forward one word on the current line
• Meta + B: Move cursor backward one word on the current line
• Ctrl + P: Previous command entered in history
• Ctrl + N : Next command entered in history
# **AWS EC2 Instance Manager**
## Modify Key Security
>
```
chmod 600 key.pem
```
@nickfogle
nickfogle / Team SQL Scripts
Last active August 29, 2015 13:57
Team - SQL Scripts
**Find Donation Transaction IDs**
> `Select DonationtransactionsID from Donationtransactions where dateadded > '2014-11-29'`
**Find Event Transaction IDs**
> `Select EventTransactionsID from EventTransactions where dateadded Between '2014-03-07 01:00:00' and '2014-03-10 11:00:00'`