- with diskdrives, we have programs sharing the same spaces, so passwords appear
- shared time on a processor is next
- prevents access to other users
- ensures the CPU time is "paid for"
- As the web grows, humans cannot remember their passwords
๐
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
// make sure our browser supports creating new objects: | |
if ( typeof Object.create !== 'function' ) { | |
Object.create = function (o) { | |
function F(){} | |
F.prototype = o; | |
return new F(); | |
}; | |
} | |
/** |
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
/** | |
* inform the developers that there has been a problem by printing a message to the console | |
* @param consoleMessage [string] - a (developer friendly) description of the error | |
* @param errorObject [ Error object literal] - the Error object, usually generated by an exception | |
* @param consoleMethod [string] (optional) - the type of console message to use (eg - error, log, warn ). Defaults to 'log' | |
*/ | |
logMessage: function ( consoleMessage, errorObject, consoleMethod) { | |
// var IEMessage = errorObject && errorObject.description ? errorObject.description : 'No additonal details available'; | |
if ( "object" !== typeof console ) { 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Snook Engadget Menu Exercise</title> | |
<!-- <link rel="stylesheet" href="smacss-endgaget.css"/> --> | |
<style type="text/css"> | |
/* | |
we should separate out the modules into different classnames. | |
they shouldn't intermingle; | |
*/ |
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
describe "User Registration", -> | |
describe "Login", -> | |
beforeEach -> | |
# Mock the Facebook login (try not to hurt it's feelings; FB is nice) | |
window.FB = jasmine.createSpyObj "FB", ["login"] | |
jasmine.Ajax.install() | |
this.registrationDialog = Vu.Registration.logIn() |
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 | |
/** | |
* Plugin Name: Profile Builder Recover Password - No Confirmation Email | |
* Plugin URI: http://webbridgestudios.com/ | |
* Description: Sending a password in plain text is a security risk. Disable the email that PB sends when a user preforms "recover password" action. | |
* Version: 0.1.3 | |
* Author: Chris Keen | |
* Author URI: http://github.com/zedd45 | |
* License: Dual License: GPL2 / MIT | |
*/ |
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
<span class="wp-custom-login-links"> | |
<?php if(is_user_logged_in()): ?> | |
<a href="<?php echo wp_logout_url( get_permalink() ); ?>" title="Logout">Logout</a> | |
<?php endif; ?> | |
<?php if(!is_user_logged_in()): ?> | |
<a href="/login/" title="Login">Login</a> | <a href="/register/">Register</a> | |
<?php endif; ?> | |
</span> |
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
/** | |
* For use with Nocking Hapi Requests (with Lab) | |
* Nock: https://github.com/pgte/nock/ | |
* Hapi: http://hapijs.com/api | |
* Lab: https://github.com/hapijs/lab | |
*/ | |
// npm deps | |
var Nock = require('nock'); |
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
'use strict'; | |
class Animal { | |
constructor () { | |
} | |
eat (food) { |
OlderNewer