- ???
- Bidsketch
- Proposable
require 'rest-client' | |
require 'csv' | |
require 'json' | |
# Have you ever accidentally changed a property for a large group of contacts via an import or workflow? | |
# This script allows you to take that list of contacts and revert the affected property to its most recent previous value. | |
# When finished, you'll have a CSV file with the previous values for each of the contacts in your list. Simply import that | |
# list into HubSpot and your property values will be reverted. | |
path = './contacts-to-revert.csv' |
function getParameterByName(name) | |
{ | |
name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]"); | |
var regexS = "[\\?&]" + name + "=([^&#]*)"; | |
var regex = new RegExp(regexS); | |
var results = regex.exec(window.location.search); | |
if(results == null) | |
return ""; | |
else | |
return decodeURIComponent(results[1].replace(/\+/g, " ")); |
body { | |
background: #B2CCCC; | |
} | |
#notes li { | |
position: relative; | |
width: 300px; | |
min-height: 100px; | |
margin: 25px auto; | |
padding: 60px 15px 15px 15px; |
.gist { | |
color: #000; | |
} | |
.gist div { | |
padding: 0; | |
margin: 0; | |
} | |
.gist .gist-file { |
var z="https://gist.github.com/",y=document.write,x=$("body"),w=$("p.gist").map(function(b,a){a=$(a);var c=$("a",a),u=c.attr("href");if(c.length&&u.indexOf(z)==0)return{p:a,id:u.substring(z.length)}}).get(),v=function(){if(w.length==0)document.write=y;else{var b=w.shift();document.write=function(){document.write=function(a){b.p.replaceWith(a);v()}};x.append('<scr'+'ipt src="'+z+b.id+'.js"></scr'+'ipt>')}};v(); |
var gistPrefix = 'https://gist.github.com/', | |
// Cache document.write so that it can be restored once all Gists have been | |
// embedded. | |
cachedWrite = document.write, | |
body = $('body'), | |
// Map each p.gist to an object that contains the paragraph to be replaced | |
// and the Gist's identifier. | |
gists = $('p.gist').map(function(n, p) { | |
p = $(p); |
<link href='http://fonts.googleapis.com/css?family=Reenie+Beanie&subset=latin' rel='stylesheet' type='text/css'> | |
<ul id="notes"> | |
<li> | |
<p>Push new feature to Kiln for code review</p> | |
</li> | |
<li class="kiln"> | |
<p>Browse hacker news for a bit</p> | |
</li> | |
<li> | |
<p>Read JavaScript: The Good Parts by Douglas Crockford</p> |
#!/bin/sh | |
# if there is more than one mod-mono-server2, we need to get aggressive | |
if [ `ps -fu fogbugz | grep mod-mono-server2 | wc -l` -gt 1 ]; then | |
# try to stop things gracefully | |
/etc/init.d/fogbugzctl stop | |
sleep 1 | |
echo "Killing all stray processes owned by fogbugz" | |
until [ `ps -fu fogbugz | grep fogbugz | wc -l` = 0 ]; do | |
pkill -u fogbugz |