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
asd = -> | |
$('.shipping').each -> | |
option = [] | |
$(this).find('option').each -> | |
option.push $(this).text() | |
input = $('<input>') | |
input.attr('type','text') | |
input.attr('name', $(this).attr('name') ) | |
input.attr('id', $(this).attr('id') ) |
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
<%= f.input :nome, :collection => get_schools_name, :include_blank => false, :input_html => {:rel => 'autocomplete', :data_default => @school.nome} %> |
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
-- lookup query | |
select | |
-1 as country_work_impact_id, | |
'[any]' as country_work_impact_name | |
union all | |
SELECT DISTINCT | |
country_work_impact_id, | |
country_work_impact_name | |
FROM V_Matrix_FY14_Aggregate |
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
var mediaType = "ED"; // ED for streaming; 1 for DVD | |
var lxMovies = new Array(); | |
function lxMovie(title, starRating, id) { | |
this.title = title; | |
this.starRating = starRating; | |
this.id = id; | |
} | |
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
enable: <%= link_to 'Enable', user_update_state_path(user.id, state_event: 'register', access_state_event: 'enable') %><br> | |
disable: <%= link_to 'disable', user_update_state_path(user.id, state_event: 'unregister', access_state_event: 'disable') %> |
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
; configuration file | |
[test] | |
logging_file = D:/firecast_data/script_logs/firms_log.txt | |
;1 = file , 2 = stdout | |
logging_streaming = 1 | |
; ftp information | |
ftp_host = <ftp host address> |
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
<!-- script begin --> | |
<script type="text/javascript" src="/_layouts/js/jquery-1.3.2.min.js"></script> | |
<script type="text/javascript" src="/_layouts/js/shadowbox/shadowbox.js"></script> | |
<link rel="stylesheet" type="text/css" href="/_layouts/js/shadowbox/shadowbox.css"> | |
<script type="text/javascript"> | |
Shadowbox.init({ | |
language: 'en', | |
players: ['img','swf','flv'] | |
}); |
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
bookmark({ | |
"cacheTimeout" : "3600", | |
"tools": [ | |
{ "vpn": false, "title": "ABC1" , "url": "http://example1.com" }, | |
{ "vpn": false, "title": "ABC2" , "url": "http://example2.com" } | |
], | |
"sites": [ | |
{ "vpn": false, "title": "ABC3" , "url": "http://example3.com" }, | |
{ "vpn": true, "title": "ABC4" , "url": "http://example4.com" } |
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
alignment top_right | |
background no | |
border_width 1 | |
cpu_avg_samples 2 | |
default_color cornflowerblue | |
default_outline_color white | |
default_shade_color white | |
draw_borders no |
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
<script src='https://code.jquery.com/jquery-1.11.1.min.js'></script> | |
<script> | |
function getjs(){ | |
$.getJSON("hashtag.json", function(data) { | |
console.log(data.total); // this will show the info it in firebug console | |
}); | |
} | |
</script> | |
<button onclick="getjs()">Test</button> |
OlderNewer