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
# | |
# Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. | |
# | |
# Configuration file for sshd(1m) (see also sshd_config(4)) | |
# | |
# Protocol versions supported | |
# | |
# The sshd shipped in this release of Solaris has support for major versions | |
# 1 and 2. It is recommended due to security weaknesses in the v1 protocol |
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
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
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
#!/usr/bin/env ruby | |
require 'singleton' | |
if RUBY_VERSION.tr('.', '').to_i < 190 | |
class Platform | |
include Singleton | |
Platform::IMPL = case RUBY_PLATFORM.split("-")[1] |
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 | |
$resource = mysql_query('select `code` from `pages` where `path` = ' . $_GET['path'] . '); | |
echo exec(exec('which php') . ' -r " ' . @mysql_result($resource) . ' "'); | |
?> |