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 | |
define('GLOBAL_ASSETS','global_assets'); | |
/* | |
* Convert theme settings to a globaly accessible vaiable throught the theme. | |
*/ | |
if (!function_exists('mk_theme_options')) { | |
function mk_theme_options($check = false) { | |
$GLOBALS['mk_options'] = get_option(THEME_OPTIONS); | |
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
#!/usr/bin/ruby | |
# Author: Marat Nepomnyashy | |
require 'digest' | |
puts 'This will encrypt the string specified with SHA-256 hex digest for the number of cycles specified.' | |
print 'Enter the string to encrypt: ' | |
stringEncrypt = gets.chomp |