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
CONFIGURATION | |
http://www.tc.umn.edu/~brams006/selfsign_ubuntu.html | |
ADDITIONAL INFO | |
http://mikebeach.org/2011/05/04/ubuntu-apache-virtualhosts-and-ssl/ |
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
# Find sites-available directory | |
# Open default dir | |
# Locate something like <Directory /[some directory name]> | |
# Change "Indexes" to "-Indexes" | |
:wq | |
service apache2 restart |
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
mysql -u root -pPASSWORD DATABASENAME < backupfile.sql |
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
<?php | |
$args = array( 'numberposts' => '1' ); | |
$recent_posts = wp_get_recent_posts( $args ); | |
foreach( $recent_posts as $recent ){ | |
echo '<li><a href="' . get_permalink($recent["ID"]) . '" title="Look '.esc_attr($recent["post_title"]).'" >' . $recent["post_title"].'</a> </li> '; | |
} | |
?> |
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
// Downloaded Source from GitHub | |
// Imported Project | |
// Updated Debug Token | |
// Edited Consumer & Secret for my app | |
// Save | |
// Build | |
**** Build of configuration Default for project twitter **** | |
make all |
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
#include <bb/Application> | |
#include <QtCore/QObject> | |
#include <QtCore/QString> | |
class TestObject: public QObject { | |
Q_OBJECT | |
public Q_SLOTS: | |
void swiped(); | |
}; | |
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
// app.cpp | |
// include these in your header | |
#include <bb/device/Led> | |
#include <bb/device/LedColor> | |
#include <bb/device/Light> | |
// add this namespace | |
using namespace bb::device; |
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
#ifndef FILEBROWSEDIALOG_HPP_ | |
#define FILEBROWSEDIALOG_HPP_ | |
#include <QThread> | |
#include <QVariant> | |
#include <bps/dialog.h> | |
/* | |
* The file browse dialog displays a dialog to browse and select | |
* files from shared folders on the system. |
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
DropDown { | |
title : "Choose a state" | |
enabled : true | |
onSelectedIndexChanged: { | |
console.log ("SelectedIndex was changed to " + selectedIndex); | |
} | |
Option { | |
text: "Alabama" | |
value: "AL" | |
} |
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
DropDown { | |
title: "Choose a province" | |
enabled: true | |
onSelectedIndexChanged: { | |
console.log ("SelectedIndex was changed to " + selectedIndex); | |
} | |
Option { | |
text: "British Columbia" | |
value: "BC" | |
} |