The ARTISTS table in the cfartgallery datasource used for examples is an excellent example of how NOT to store passwords. First, they are stored in clear text and the column is limited to only 8 characters.
ARTISTID |
---|
set t_Co=256 | |
set pastetoggle=<F8> | |
colorscheme wombat256mod | |
set hlsearch | |
set tabstop=4 | |
set softtabstop=4 | |
set shiftwidth=4 | |
let g:indent_guides_auto_colors=0 | |
autocmd VimEnter,Colorscheme * :hi IndentGuidesOdd guibg=red ctermbg=3 | |
autocmd VimEnter,Colorscheme * :hi IndentGuidesEven guibg=green ctermbg=4 |
var words = ["fun", "exciting", "about not giving up", "being helpful", "being open", "what I learned at CodingDojo!"], | |
el = document.getElementById('magic'), | |
word_counter = 0, | |
character_counter = 0; | |
function updateText() | |
{ | |
var next_character = words[word_counter][character_counter++]; | |
if(next_character == ' '){ |
class User < ActiveRecord::Base | |
attr_accessible :name, :password, :password_confirmation | |
has_secure_password | |
validates :password, presence: true, confirmation: true, length: { minimum: 8 } | |
end |
/** | |
* Amazon S3 REST Wrapper | |
* Version Date: 2015-09-03 | |
* | |
* Copyright 2015 CF Webtools | cfwebtools.com | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* |
The ARTISTS table in the cfartgallery datasource used for examples is an excellent example of how NOT to store passwords. First, they are stored in clear text and the column is limited to only 8 characters.
ARTISTID |
---|
// Note: You must restart bin/webpack-watcher for changes to take effect | |
var path = require('path') | |
var webpack = require('webpack') | |
var merge = require('webpack-merge') | |
var config = require('./shared.js') | |
var devconfig = { | |
devtool: 'sourcemap', |
// Note: You must restart bin/webpack-watcher for changes to take effect | |
var path = require('path') | |
var webpack = require('webpack') | |
var merge = require('webpack-merge') | |
var config = require('./shared.js') | |
var devconfig = { | |
devtool: 'sourcemap', |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
RSpec.configure do |config| | |
config.before(:all, &:silence_output) | |
config.after(:all, &:enable_output) | |
end | |
# Redirects stderr and stdout to /dev/null. | |
def silence_output | |
@orig_stderr = $stderr | |
@orig_stdout = $stdout |