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
<? | |
// So at the top of the node--article.tpl.php there's this | |
$view = 'related_bits'; | |
$display = 'block'; | |
$related_bits_block = views_embed_view($view, $display); | |
// Then down within the actual page markup stuff there's this | |
<?php if (isset($related_bits_block) && $related_bits_block): ?> |
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
select g.destid1, i.destid1 from kaltura_gallery_entries k1 right join migrate_map_gallery g on k1.gid = g.sourceid1 right join migrate_map_galleryitem i on k1.kid = i.sourceid1 where k1.kaltura_order=(select min(k2.kaltura_order) from kaltura_gallery_entries k2 where k1.gid = k2.gid); |
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
// Project Euler challenge #1 | |
// https://projecteuler.net/problem=1 | |
var ans = 0; | |
for (i = 1; i < 1000; i++) { | |
if (i % 3 === 0 || i % 5 === 0) { | |
ans += i; | |
} | |
} | |
console.log(ans); |
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
o | |
_ | _ | |
| ◡ ◡ | | |
| ⏝ | | |
— ‾‾‾‾‾ — | |
| | | |
| | | | |
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
Foobar |
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
This space is intentionally left blank. |