Skip to content

Instantly share code, notes, and snippets.

import React, { Component } from 'react';
import logo from './logo.svg';
import './App.css';
class App extends Component {
constructor(props) {
super(props);
this.state = { value: ''};
this.handleClick = this.handleClick.bind(this);
#ซื้อกล้องที่มาเลเซีย
เกี่ยวกับการไปซื้อกล้องที่มาเลเซียที่ผมไปคอมเมนท์ไว้ในกระทู้นึง มีคน Inbox มาถามเยอะมากกกกกกกกก บางคนก็ไม่ยอมอ่านรายละเอียดจริงๆ ถามซ้ำๆ ผมตอบไม่ไหว ขอมาตอบโดยรวมรายละเอียดที่นึกออกและถูกถามซ้ำๆไว้ตรงนี้เลยดีกว่าครับ แอดมินเห็นว่าไม่เหมาะสม จะลบก็ลบไป ผมไปแชร์ FB ผมเองก็ได้ เดี๋ยวก็มีสมาชิกไปแชร์ต่ออยู่ดี เพราะเห็นว่าเรื่องนี้น่าจะเป็นประโยชน์กับคนกลุ่มใหญ่ แต่อาจน่าหมั่นใส้สำหรับคนค้าของมือสองหรือกำลังปล่อยของอยู่ หรือคนที่เพิ่งซื้อป้ายแดงศูนย์ไทยในราคาเต็มมา
.
ยาวหน่อย แต่ควรอ่านให้เกิน 7 บรรทัด จะได้ประโยชน์สำหรับท่านที่กำลังคืดจะซื้อครับ สงสัยอะไรเพิ่มที่ไม่มีในที่ผมพิมพ์มา ถามได้ครับ เผื่อผมลืมรายละเอียดปลีกย่อย สงสารคนพิมพ์ตอบเถอะ แก่แล้ว หูตาไม่ค่อยจะดี ใช้จิ้มดีดเอา นึกไรออกจะมาเพิ่มเติมให้เป็นระยะๆ
.
******ทำไมกล้อง Sony ที่มาเลเซียถูกมาก?*****
.
มาจากสาเหตุหลักคืออัตราแลกเปลี่ยนครับ ช่วงนี้เงินริงกิตอ่อนค่ามากๆ ราคากล้องคิตเป็นริงกิตเขาก็ขายเท่าๆเดิมเหมือนที่เคยขาย แต่เราจ่ายเงินบาทไปแลกเป็นเงินของเขาน้อยลงกว่าเดิม และโดยปกติ สินค้าโซนี่ในมาเลเซียจะราคาต่ำกว่าบ้านเราเป็นทุนอยู
# ใช้ gem ชื่อ bunny ในการต่อไปที่ RabbitMQ Server
require "bunny"
STDOUT.sync = true
## ต่อ RabbitMQ ผ่าน protocol amqp ด้วย user:guest , password: guest ไปที่ my-rabbit port 5672
conn = Bunny.new("amqp://guest:guest@my-rabbit:5672")
conn.start
## สร้าง Queue ที่ชื่อว่า "Test_Queue"
#include "DHT.h"
#define DHTPIN 14 // what pin we're connected to
#define DHTTYPE DHT22
DHT dht(DHTPIN, DHTTYPE,15);
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <ESP_SSD1306.h>
#include <ESP8266WiFi.h>
int ledPin =16;
const char* ssid = "RLIS";
const char* password = "boonchanawifi";
// Create an instance of the server
// specify the port to listen on as an argument
WiFiServer server(80);
## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType text/javascript "access 1 month"
ExpiresByType application/pdf "access 1 month"
<?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier;
class VerifyCsrfToken extends BaseVerifier
{
/**
* The URIs that should be excluded from CSRF verification.
version=v1, method=POST, path=/customers(.:format)
version=v1, method=GET, path=/customers(.:format)
version=v1, method=GET, path=/customers/:id(.:format)
version=v1, method=PATCH, path=/customers/:id(.:format)
version=v1, method=GET, path=/rewards(.:format)
version=v1, method=POST, path=/rewards(.:format)
rake grape:routes
namespace :grape do
desc "routes"
task :routes => :environment do
API::Root.routes.map { |route| puts "#{route} \n" }
end
end