Skip to content

Instantly share code, notes, and snippets.

View Drnutsu's full-sized avatar
🏠
Working from home

Nutsu Drnutsu

🏠
Working from home
View GitHub Profile
var challenges = ["4-5 r: rrrjr",
"9-10 x: pxcbpxxwkqjttx",
"8-13 b: rjbbbbvgrbrfjx",
"3-5 d: dtddsdddddsddddddwd",
"3-11 q: qbqsqqzqqxkmbqx",
"3-4 v: vgvhcvxlbfcwg",
"1-7 t: rtctmtt",
"8-11 s: ksssswsssstssssss",
"2-6 v: vxvvvlvv",
"16-18 c: ptgprcccvqvbfcnckc",
{
"component": "Card",
"children":[
{
"component": "CardContent",
"children": [
{
"component": "Text",
"as": "p",
"children": [
&.checkout-section-list {
& .title {
font-family: 'RobotoCondensed';
border-bottom: 3px solid $colors_blackBorder !important;
&.active {
border-bottom: 3px solid black !important;
& > span {
background-color: black;
color: white;
}
<?php
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Quote\Model;
use Magento\Authorization\Model\UserContextInterface;
use Magento\Framework\Event\ManagerInterface as EventManager;
protected function _construct()
{
$this->_objectId = 'order_id';
$this->_controller = 'adminhtml_order';
$this->_mode = 'view';
parent::_construct();
$this->buttonList->remove('delete');
$this->buttonList->remove('reset');
af_ZA
af_ZA.ISO8859-1
af_ZA.ISO8859-15
af_ZA.UTF-8
am_ET
am_ET.UTF-8
be_BY
be_BY.CP1131
be_BY.CP1251
be_BY.ISO8859-5
@Drnutsu
Drnutsu / check_portrait.js
Created January 3, 2016 06:43
check portrait script for outsource image.
// get outsource images dimension
function getMeta(url, img_obj, cb){
var img = new Image();
img.onload = function(){
if(cb)cb(img.height, img_obj, img.width);
};
img.src = url;
}
// crop portrait image
<section id="title" class="emerald">
<div class="container">
<div class="row">
<div class="col-sm-6">
<h1>Event</h1>
</div>
<div class="col-sm-6">
<ul class="breadcrumb pull-right">
$('#parent').bind('mousewheel', function (e) {
if (!(e.originalEvent.wheelDelta == 120)) {
var top = parseInt($("#child").css("top"));
$("#child").css("top", (top - 100) + "px");
top = parseInt($("#child").css("top"));
if (top <= -500) {
setTimeout(function () {
$("#child").css("top", "-500px");
}, 100);
}

หมายเหต : ที่ค่า LA์N จะมี form คือ LAN = จำนวน interface(interface ที่เสียบอยู่) ทีไม่ได้ใส่คือเสียบหมด

HP1

  • SAS = 2
  • LAN = 3(2)

HP2

  • Serial SCSI = 4
  • LAN = 3