- Install instructions
service resilio-sync start
sudo apt-get install netatalk
sudo /etc/init.d/netatalk stop
sudo vi /etc/netatalk/AppleVolumes.default
~/ "<some dir name>"
sudo /etc/init.d/netatalk start
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>com.github.karlicoss.grasp</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/Users/iacutone/grasp/server/grasp_server.py</string> |
require 'pry' | |
class Test | |
attr_reader :list | |
def initialize | |
@list = [] | |
end | |
def mult(n, m) |
service resilio-sync start
sudo apt-get install netatalk
sudo /etc/init.d/netatalk stop
sudo vi /etc/netatalk/AppleVolumes.default
~/ "<some dir name>"
sudo /etc/init.d/netatalk start
import Html exposing (..) | |
import Html.Events exposing (onClick) | |
main: Program Never Model Msg | |
main = | |
Html.program | |
{ init = init | |
, view = view | |
, update = update | |
, subscriptions = subscriptions |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>net.timemachine-backup</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/Users/iacutone/scripts/timemachine-backup</string> | |
</array> |
(function($) { | |
var options = { show: false }; | |
var $modal = $('#tag-modal'); | |
// Initialize the modal | |
$modal.modal(options); | |
$modal.on('hidden', function() { | |
resetTagModal(); |
class DowncaseEmailAddresses < ActiveRecord::Migration | |
def up | |
# Downcase all User emails | |
User.update_all('email = LOWER(email)') | |
# Downcase all ContactRequest emails | |
ContactRequest.update_all('email_address = LOWER(email_address)') | |
# Downcase all Reservation emails | |
Reservation.update_all('renter_email = LOWER(renter_email)') |
$('a.next').on("click", function(){ | |
var h3 = $("h3.active").text(); | |
switch (h3) { | |
case "1. Select Your Organization": | |
$('div.your_org').children('h3').removeClass('active'); | |
$('div.your_info').children('h3').addClass('active'); | |
$('.your_info').slideDown('slow'); | |
$('.your_org').slideUp('slow'); | |
$('a.back').show(); |
:javascript | |
$('<th>'+ 'Total' +'</th>').insertAfter('th:last'); |
function removeCommas(str) { | |
return(str.replace(/,/g,'')); | |
} | |
filterInt = function (value) { | |
if(/^\-?([0-9]+|Infinity)$/.test(value)) | |
return Number(value); | |
return NaN; | |
} |