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
WisdomPathHQ> enable | |
WisdomPathHQ# configure terminal | |
WisdomPathHQ(config)#ip dhcp excluded-address 192.168.1.1 192.168.1.100 | |
WisdomPathHQ(config)#ip dhcp pool InternalPool | |
WisdomPathHQ(dhcp-config)#network 192.168.1.0 255.255.255.0 | |
WisdomPathHQ(dhcp-config)#default-router 192.168.1.1 | |
WisdomPathHQ(dhcp-config)#default-router 192.168.1.1 | |
WisdomPathHQ(dhcp-config)#exit | |
WisdomPathHQ(config)#exit | |
WisdomPathHQ# |
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
Router> enable | |
Router # configure terminal | |
Router (config) # hostname WisdomPathHQ | |
Router (config) # int Fa0/0 | |
Router (config-if) # ip address 192.168.1.1 255.255.255.0 | |
Router (config-if) # no shutdown | |
Router (config-if) # exit | |
Router (config) # int Se0/2/0 | |
Router (config-if) # ip address 202.1.1.2 255.255.255.0 |
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
/** | |
* React native Offline App - Lab 4 | |
*/ | |
import React from 'react'; | |
import { | |
SafeAreaView, | |
StyleSheet, | |
View, |
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 TVShows = [{ | |
name: "Planet Earth II", | |
IMDB: 9.5, | |
year: 2016, | |
thumb: "https://images-na.ssl-images-amazon.com/images/M/MV5BZWYxODViMGYtMGE2ZC00ZGQ3LThhMWUtYTVkNGE3OWU4NWRkL2ltYWdlL2ltYWdlXkEyXkFqcGdeQXVyMjYwNDA2MDE@._V1_UX182_CR0,0,182,268 _AL_.jpg" | |
}, | |
{ | |
name: "Band of Brothers", | |
IMDB: 9.5, | |
year: 2001, |
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
$.fn.myBlog = function(){ | |
return this.each(function(){ | |
var $this = $(this); | |
$this.addClass('Welcome to my Blog'); | |
}); | |
}; | |
$(function(){ | |
$('h1').myBlog(); |
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
/****************************************** | |
Hold Multiple Records as an Array[] | |
******************************************* | |
while ($movie = $results->fetch_assoc()) { | |
$classes = ( ++$row % 2 == 0 ) ? 'even' : 'odd'; | |
$movieRecords .= <<<TABLE | |
<tr class="{$classes}"> |
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 | |
require 'connections.php'; | |
$sql = "SELECT * FROM movies"; | |
/* mysqli is the connection we build in the connections.php */ | |
$results = $mysqli->query( $sql ); | |
if ( ! $results ) { |
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 | |
defined('DB_SERVER') ? null : define("DB_SERVER", "localhost"); | |
defined('DB_USER') ? null : define("DB_USER", "******"); | |
defined('DB_PASS') ? null : define("DB_PASS", "******"); | |
defined('DB_NAME') ? null : define("DB_NAME", "IMDBTop100"); | |
$mysqli = mysqli_connect( DB_SERVER, DB_USER, DB_PASS, DB_NAME); | |
if ( !$mysqli ) { |
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
const path = require('path'); | |
const webpack = require('webpack'); | |
const ExtractTextPlugin = require("extract-text-webpack-plugin"); | |
const EntryList = require('./weback.entrylist'); | |
const IS_PROD = (process.env.NODE_ENV === 'prod') ? true : false; | |
/* output path */ | |
const OUT_DIR_ABS = path.resolve('./dist'); |