This file contains 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
def sum(a, b) | |
return a + b | |
end | |
class Sum | |
attr_writer :a | |
def initialize(a, b) | |
@a = a | |
@b = b | |
end |
This file contains 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
<!DOCTYPE html> | |
<!-- saved from url=(0145)https://www.crowdsurge.com/draft/olly-murs/splash/?utm_source=dan&utm_medium=referral&utm_term=testing&utm_content=tester&utm_campaign=dan%20test --> | |
<html class="wf-inactive"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title>Olly Murs</title> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<meta name="description" content="Find out when Olly Murs is next playing live. Get concert tickets for tour dates near you."> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> |
This file contains 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
//modal overlay funcion | |
$(document).ready(function (){ | |
$('.utm-link').each(addUTMParams); | |
$('.utm-link').click(function (event) { | |
ga('send', 'event', $(event.target).attr('data-type'), 'click', getParameterByName('source') + ' / ' + getParameterByName('medium'), { | |
'transport': 'beacon' | |
}); | |
}); |
This file contains 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
//modal overlay funcion | |
$(document).ready(function (){ | |
$('.utm-link').each(addUTMParams); | |
$('.utm-link').click(function (event) { | |
event.preventDefault() | |
ga('send', 'event', $(event.target).attr('data-type'), 'click', getParameterByName('source') + ' / ' + getParameterByName('medium'), { | |
'transport': 'beacon', |
This file contains 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
export DEV_VM_USERNAME=myusername | |
export DEV_VM_HOST=my.host.name | |
export DEV_VM_CODE_DIR=directory | |
sync() { | |
echo "Syncing $(basename $(pwd)) from $(pwd) to $DEV_VM_USERNAME@$DEV_VM_HOST:$DEV_VM_CODE_DIR/$(basename $(pwd))/" | |
rsync -avrx --delete --exclude=log --exclude=tmp --exclude=vendor/bundle --filter='P vendor/bundle' --exclude=.bundle --filter='P .bundle' --exclude=.git -e ssh . $DEV_VM_USERNAME@$DEV_VM_HOST:$DEV_VM_CODE_DIR/$(basename $(pwd))/ | |
} | |
watch-sync() { |
This file contains 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
<midi app=" 1.7.2.4859"> | |
<control channel="1" event_type="Control Change" control="114"> | |
<userio event="click"> | |
<sample_player_bank_select deck_set="Default" deck_id="0" slot_id="0"> | |
<translation action_on="press" behaviour="static" static_value="Bank A"/> | |
</sample_player_bank_select> | |
</userio> | |
</control> | |
<control channel="1" event_type="Control Change" control="115"> |
This file contains 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
<midi app="1.7.2.4139"> | |
<control channel="1" event_type="Note On" control="0"> | |
<userio event="click"> | |
<auto_loop_specific_length deck_set="Default" deck_id="0" slot_id="5"> | |
<translation action_on="any" behaviour="explicit"/> | |
</auto_loop_specific_length> | |
</userio> | |
<userio event="output"> |
This file contains 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
<midi app="1.7.2.4139"> | |
<control channel="1" event_type="Note On" control="0"> | |
<userio event="click"> | |
<auto_loop_specific_length deck_set="Default" deck_id="0" slot_id="5"> | |
<translation action_on="any" behaviour="explicit"/> | |
</auto_loop_specific_length> | |
</userio> | |
<userio event="output"> |
NewerOlder