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
<div class="Search"><?php | |
$Form = Gdn::Factory('Form'); | |
$Form->InputPrefix = ''; | |
echo | |
$Form->Open(array('action' => Url('/search'), 'method' => 'get')), | |
$Form->TextBox('Search'), | |
$Form->Button('Go', array('Name' => '')), | |
$Form->Close(); | |
?></div> |
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
ssh [email protected] "cat ~/.ssh/id_rsa.pub | ssh $2 'mkdir ~/.ssh; cat >> ~/.ssh/authorized_keys; exit;' exit;" |
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
#!/bin/bash | |
DATE=$(date +%Y-%m-%d-%Hh%M); | |
if [ -e $1 ]; then | |
rm -f $1 | |
EVENT="removed" | |
else | |
touch $1 | |
EVENT="placed" | |
fi |
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
<?php get_header(); ?> | |
<div class="interior"> | |
<a href="<?php bloginfo('url'); ?>"><img src="<?php bloginfo('template_url'); ?>/images/logo.png" id="intlogo"></a> | |
<div class="submenu"> | |
<?php wp_nav_menu( array('menu' => 'Interior Sub Menu' )); ?> | |
</div> | |
<div class="sidebar"> | |
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
sshput () { | |
RSAKEY="${HOME}/.ssh/id_rsa.pub" | |
DSAKEY="${HOME}/.ssh/id_dsa.pub" | |
if [ $# -eq 2 ]; then | |
KEY=$1 | |
if [ ! -r $KEY ] | |
then | |
echo "'$KEY' does not exist or is not readable" | |
return 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
<ul id="menu-header" class="nav menu"> | |
<li id="menu-item-4" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4"> | |
<a href="http://minecraft.nfreader.net/wordpress/">Index</a> | |
</li> | |
<li id="menu-item-49" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-49"> | |
<a href="http://minecraft.nfreader.net/wordpress/?page_id=36">Rules and other Info</a> | |
</li> | |
<li id="menu-item-8" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-8"> | |
<a href="http://minecraft.nfreader.net/wordpress/?page_id=6">Status</a> | |
</li> |
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
<?php | |
add_action( 'after_setup_theme', 'bootstrap_setup' ); | |
if ( ! function_exists( 'bootstrap_setup' ) ): | |
function bootstrap_setup(){ | |
add_action( 'init', 'register_menu' ); | |
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
TODO: | |
General: | |
- Favicon! (http://allinthehead.com/retro/359/a-favicon-broke-my-app) | |
Shipyard.php | |
- Add stock outfit listing | |
- Add description space | |
- Remove thumbnails? |
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
14/2/2012 | |
"Bootstrap's Lonely Hearts Club Edition" | |
---- | |
• New label styles to differentiate between commodity and mission cargo | |
• New missions page (http://nfreader.net/bootstrap-ru-2/missions2.php) | |
• The design now scales down to a single column layout on iOS devices (phone/touch) | |
• Messages > Compose now pops open a modal | |
• Dummy modal is up for the first message on messages.php and the new message notice in the newsfeed. | |
• Table on missions2.php is now sortable | |
• Fancy animations are in (but disabled) for 404.php (attempting to simulate a kernel panic) |
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
<?php if ( current_user_can('manage_options')) { ?> | |
<div style="position: absolute; top: 10px; left: 10px;"> | |
<a href="#" class="btn btn-danger" data-toggle="modal" data-target="#debug" style="">Show Loop</a> <a href="#" class="btn btn-danger" data-toggle="modal" data-target="#conditions" style="">Show Conditionals</a> | |
</div> | |
<div class="modal hide fade" id="debug"> | |
<div class="modal-header"> | |
<a class="close" data-dismiss="modal">×</a> | |
<h3>Debug Info</h3> | |
</div> | |
OlderNewer