Skip to content

Instantly share code, notes, and snippets.

View krisives's full-sized avatar
🤣

Kristopher Ives krisives

🤣
  • United States
View GitHub Profile
export PS1="\[$(tput bold)\]\[$(tput setaf 6)\]\W\[$(tput setaf 2)\] \\$ \[$(tput sgr0)\]"
SELECT
(
SELECT COUNT(*)
FROM `VendorRequests`
LEFT JOIN (
SELECT *
FROM (
SELECT *
FROM `MfgUpdates` AS `UpdatesOrdered`
ORDER BY `UpdatesOrdered`.`When` DESC
SELECT *
FROM (
SELECT
`VendorRequestOptions`.*,
`VendorRequests`.*,
(
SELECT COUNT(DISTINCT `CountingRequests`.`Client`)
FROM `VendorRequests` AS `CountingRequests`
WHERE (
`CountingRequests`.`Vendor`=$id AND
if (!$forPrint) {
if($this->use_securityimages && file_exists($mosConfig_absolute_path."/components/com_securityimages") ) {
$objTpl->set_var( "TAG_SECUREIMAGE", insertSecurityImage("PFSecurity"));
$objTpl->set_var( "TAG_SECUREIMAGE_INPUT", getSecurityImageField("PFSecurity"));
$objTpl->set_var( "TAG_SECUREIMAGE_HELP", "<div class=\"performs_help\">".$this->securityImageHelp."</div>" );
if ($this->securityImageError != "") {
$objTpl->set_var( "TAG_SECUREIMAGE_ERROR", "<div class=\"performs_error\">".$this->securityImageError."</div>" );
$this->bolFrmSubmited = false;
} else $objTpl->set_var( "TAG_SECUREIMAGE_ERROR", "");
} else $objTpl->del_handle( "tForm", "secureimg" );
if (!$forPrint) {
if($this->use_securityimages && file_exists($mosConfig_absolute_path."/components/com_securityimages") ) {
$objTpl->set_var( "TAG_SECUREIMAGE", insertSecurityImage("PFSecurity"));
$objTpl->set_var( "TAG_SECUREIMAGE_INPUT", getSecurityImageField("PFSecurity"));
$objTpl->set_var( "TAG_SECUREIMAGE_HELP", "<div class=\"performs_help\">".$this->securityImageHelp."</div>" );
if ($this->securityImageError != "") {
$objTpl->set_var( "TAG_SECUREIMAGE_ERROR", "<div class=\"performs_error\">".$this->securityImageError."</div>" );
$this->bolFrmSubmited = false;
} else {
By Executive Order Of The President of The United States, March 9, 1933.
By virtue of the authority vested in me by Section 5 (b) of the Act of October 6, 1917, as amended by Section 2 of the Act of March 9, 1933, in which Congress declared that a serious emergency exists, I as President, do declare that the national emergency still exists; that the continued private hoarding of gold and silver by subjects of the United States poses a grave threat to the peace, equal justice, and well-being of the United States; and that appropriate measures must be taken immediately to protect the interests of our people.
Therefore, pursuant to the above authority, I hereby proclaim that such gold and silver holdings are prohibited, and that all such coin, bullion or other possessions of gold and silver be tendered within fourteen days to agents of the Government of the United States for compensation at the official price, in the legal tender of the Government.
All safe deposit boxes in banks or financial institutions have b
php >
php >
php > $x = null;
php > $y = 100;
php > $min = min($x, $y);
php > var_dump($min);
NULL
php > $max = max($x, $y);
php > var_dump($max);
int(100)
Greetings,
At Rackspace security is of the utmost importance, and that is why we will be performing proactive security maintenance on all servers which have RHEL 6.1 - 6.4 installed with a kernel version that is not at least the following:
RHEL 6.1 - 2.6.32-131.39.1.el6.x86_64
RHEL 6.2 - 2.6.32-220.38.1.el6.x86_64
RHEL 6.3 - 2.6.32-279.25.2.el6.x86_64
RHEL 6.4 - 2.6.32-358.6.2.el6.x86_64
The reason for this upgrade is a security vulnerability in RHEL6 in which the perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows local users to gain privileges via a crafted perf_event_open system call. You can also view the CVE related to this vulnerability here:
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.12 (GNU/Linux)
mQENBFHLVOgBCACvvLvXjkLckYxr94e3b8WLerueTS7gZD8UmW5E3vzJNU50ky83
s1Rfuy6Wp3CbwymcpUwMyG8DmR+MJu22fPxPEZENy+Wj9UpUzH+VCt0nOLIDdo3Q
dedSmMiP62hLmaxKIvu15r8YBFuOjqZjlQyjZH3nA3ITruXWLxVAVnMfPO6EkNGD
3Mvjm3FLpQrhrAB0Oe8mBo+TOEAGPIcMZbsnPbhIo2fpGQTrlH86emzEX0xYCvjo
PGknSjaVrw1NXrsb4ydMsCw5r7qQw1DsxLKlpYTwRybPE+OHyTXfJl0wmQxhfjxa
764jFZ2DBqc6IEWcnjyTQXnBwgfHR8dZS9UJABEBAAG0LktyaXN0b3BoZXIgSXZl
cyA8a3Jpc3RvcGhlci5pdmVzQHN0b3lzbmV0LmNvbT6JAT4EEwECACgFAlHLVOgC
SET timestamp=1372286975;
SELECT `e`.*, IF(at_status.value_id > 0, at_status.value, at_status_default.value) AS `status`, IF(at_visibility.value_id > 0, at_visibility.value, at_visibility_default.value) AS `visibility`, `at_price`.`value` AS `price`, IF(at_name.value_id > 0, at_name.value, at_name_default.value) AS `name`, `stock`.`qty`, `stock`.`is_in_stock`, `stock`.`manage_stock`, `stock`.`use_config_manage_stock`, `url`.`request_path`, `categories`.*, GROUP_CONCAT(categories_index.category_id) AS `categories_ids`, `price_index`.`min_price`, `price_index`.`max_price`, `price_index`.`tier_price`, `price_index`.`final_price` FROM `catalog_product_entity` AS `e`
INNER JOIN `catalog_product_website` AS `product_website` ON product_website.product_id = e.entity_id AND product_website.website_id = '1'
INNER JOIN `catalog_product_entity_int` AS `at_status_default` ON (`at_status_default`.`entity_id` = `e`.`entity_id`) AND (`at_status_default`.`attribute_id` = '273') AND `at_status_default`.`store_id` = 0
LEFT