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
pubadmin@dev-dit6:/home/pubadmin | |
$ wget https://soap.staging.sj.vindicia.com/3.5/Account.wsdl | |
--07:19:39-- https://soap.staging.sj.vindicia.com/3.5/Account.wsdl | |
=> `Account.wsdl' | |
Resolving soap.staging.sj.vindicia.com... 64.124.35.201 | |
Connecting to soap.staging.sj.vindicia.com|64.124.35.201|:443... failed: Connection timed out. |
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
# | |
# DO NOT EDIT THIS FILE | |
# | |
# It is automatically generated by grub-mkconfig using templates | |
# from /etc/grub.d and settings from /etc/default/grub | |
# | |
### BEGIN /etc/grub.d/00_header ### | |
insmod part_gpt | |
insmod part_msdos |
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
Post.Views.Post = Backbone.View.extend({ | |
el: '#post', | |
initialize: function () { | |
this.template = _.template($('#post-template').html()); | |
app.on('change:post', this.render, this); | |
}, | |
render: function (post) { |
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
function hide() { | |
trig1 = "none"; | |
trig2 = "block"; | |
document.getElementById('div1').style.display=trig1; | |
document.getElementById('div2').style.display=trig1; | |
document.getElementById('div3').style.display=trig1; | |
document.getElementById('div4').style.display=trig1; | |
document.getElementById('div5').style.display=trig1; | |
document.getElementById('div6').style.display=trig1; | |
document.getElementById('div7').style.display=trig1; |
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
urls.each(function(url) { | |
$.get(url, function (data) { | |
$el.data('current-url', url); | |
$el.html(data); | |
}); | |
}); |
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
$ mtr -t -r -c 100 google.com | |
HOST: kid-c Loss% Snt Last Avg Best Wrst StDev | |
1.|-- 192.168.100.1 5.0% 100 7.8 13.2 1.9 173.3 21.8 | |
2.|-- ??? 100.0 100 0.0 0.0 0.0 0.0 0.0 | |
3.|-- 172.24.0.246 7.0% 100 124.0 111.4 33.1 834.0 119.8 | |
4.|-- 172.24.0.10 21.0% 100 86.4 114.3 38.4 747.8 118.2 | |
5.|-- 200-55-56-141.static.imps 5.0% 100 136.5 147.8 52.3 786.7 140.0 | |
6.|-- 64.208.27.34 5.0% 100 121.2 161.0 53.6 734.2 115.7 | |
7.|-- 209.85.251.86 2.0% 100 133.6 121.6 48.0 742.8 101.3 | |
8.|-- 209.85.251.194 7.0% 100 78.6 112.7 47.3 732.6 101.3 |
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
krusty@kid-c ~/projects/ariel/django_backend/src (git)-[master] % ./manage.py runserver 0.0.0.0:8000 | |
Validating models... | |
0 errors found | |
May 08, 2013 - 08:16:56 | |
Django version 1.5.1, using settings 'aarp.settings' | |
Development server is running at http://0.0.0.0:8000/ | |
Quit the server with CONTROL-C. | |
Internal Server Error: / | |
Traceback (most recent call last): |
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
krusty@kid-c ~/projects/ariel (git)-[tastypie] % cat .gitignore | |
*.pyc | |
django_backend/dev_env | |
django_backend/src/dev.db | |
krusty@kid-c ~/projects/ariel (git)-[tastypie] % git status | |
# On branch tastypie | |
# Changes not staged for commit: | |
# (use "git add <file>..." to update what will be committed) | |
# (use "git checkout -- <file>..." to discard changes in working directory) | |
# |
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
curl "http://localhost:8000/api/query/" -H "Pragma: no-cache" -H "Origin: http://localhost:8000" -H "Accept-Encoding: gzip,deflate,sdch" -H "Host: localhost:8000" -H "Accept-Language: en-US,en;q=0.8" -H "User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31" -H "Content-Type: application/json" -H "Accept: application/json, text/javascript, */*; q=0.01" -H "Cache-Control: no-cache" -H "X-Requested-With: XMLHttpRequest" -H "Cookie: GUID=SXQArq6KqxeZgPKPTjUP" -H "Connection: keep-alive" -H "Referer: http://localhost:8000/static/mvp1.html" -H "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3" --data-binary "{\"age_from\":\"50\",\"age_to\":\"59\",\"income_range\":\"6\",\"networth_range\":\"6\",\"gender\":\"M\",\"state\":\"AK\",\"membership_type\":\"1\",\"membership_status\":\"0\",\"secondary_member_age_from\":\"50\",\"secondary_member_age_to\":\"59\",\"internet_usage_from\":\"1\",\"internet_usage_to\":\"10\",\"completed_school_years_from\":\"14\",\"compl |
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
def dict_to_set (dict_): | |
return set([(k, v) for k, v in dict_.iteritems()]) | |
GENDER = {'M': 'Male', | |
'F': 'Female', | |
'U': 'Undefined'} | |
MEMBERSHIP_TYPE = {'1': 'Full member (age 50 or older)'} | |
MEMBERSHIP_STATUS = {'0': 'Full active member', '5': 'Expired'} |