Skip to content

Instantly share code, notes, and snippets.

View trungx's full-sized avatar
🚩
Go to 2022

trungx

🚩
Go to 2022
View GitHub Profile
We can make this file beautiful and searchable if this error is corrected: Illegal quoting in line 2.
'商品管理番号(商品URL)', '商品名', 'PC用キャッチコピー', 'PC用商品説明文', 'スマートフォン用商品説明文', 'PC用販売説明文'
'indera-890ls','INDERA MILLS インデラミルズ 890LS サーマルロングスリーブTシャツ 100% Cotton Expedition Military Issue Thermals ミリタリーイシュー/INDERA MILLS  インデラミルズ  890LS  サーマルロングスリーブTシャツ','','<!-- ▼発送日カレンダー -->\n<iframe src="https://www.rakuten.ne.jp/gold/ueno-yayoi/mallassist/deliverydate/deliverydate02.html?del001" width="305px" height="520px" frameborder="0" scrolling="no"></iframe>\n<br><br>\n<!-- 発送日カレンダー▲ -->【商品について】<br><br><br>\n\n綿100%を使用した「Expedition Military Issue Thermals 」の【INDERA(インデラ)】長袖サーマルTシャツ。\n用途に合わせてシーズンレスで活用出来るので数枚は揃えていたいアイテムです。\n伸縮・保温性・吸水性に優れたワッフルニット生地なので、春夏はサラリと一枚着やシャツのインナーとして大活躍です。\n秋冬は防寒用のアンダーウェアとして着回して下さい。\n\n<br><br><br>\n\n\n【Sサイズ】<br><br><br>\n(肩幅)約37cm・(身幅)約37cm・(着丈)約66cm・(袖丈)約60cm<br><br><br>\n\n【Mサイズ】<br><br><br>\n(肩幅)約40cm・(身幅)約41cm・(着丈)約70cm・(袖丈)約63cm<br><br><br>\n\n【Lサイズ】<br><br><br>\n(肩幅)約43cm・(身幅)約44cm・(着丈)約77cm・(袖丈)約65cm<br><br><br>\n\n\n※開封後の交換・返品はご遠慮頂いております。予めご了承願います。<br><br><br>\n※上記サイズは、同一の商品を数点採寸した平均値です。商品によっては個体差があ
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.html [L]
</IfModule>
@trungx
trungx / autotrack.data
Last active May 20, 2021 04:13
descriptionqq
my utf8 encoded czxczxc
@trungx
trungx / Dockerfile
Created November 26, 2020 06:06 — forked from erdostom/Dockerfile
Good starter Dockerfile + docker-compose.yml for Rails 6.
FROM ruby:2.6.5-alpine
RUN apk add --update --no-cache bash build-base nodejs sqlite-dev tzdata postgresql-dev yarn
RUN gem install bundler:2.1.4
WORKDIR /usr/src/app
COPY package.json yarn.lock ./
RUN yarn install --check-files
<script defer>
document.addEventListener('DOMContentLoaded', function() {
setTimeout( function () {
window.fbAsyncInit = function() {
FB.init({
xfbml : true,
version : 'v7.0'
});
};
(function(d, s, id) {
@trungx
trungx / fileUploadTrait.php
Created June 16, 2020 01:59 — forked from mabuak/fileUploadTrait.php
Laravel File Upload Trait
<?php
/**
* Created by PhpStorm.
* User: DhanPris
* Date: 15/05/2018
* Time: 11:51
*/
namespace App\Http\Traits;
<html>
<head>
<title>How to Use Summernote WYSIWYG Editor with Laravel? - ItSolutionStuff.com</title>
<script src="https://code.jquery.com/jquery-3.5.1.min.js" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css">
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/summernote-bs4.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/summernote-bs4.min.js"></script>
</head>
@trungx
trungx / simple-pagination.js
Created June 1, 2020 16:43 — forked from kottenator/simple-pagination.js
Simple pagination algorithm
// Implementation in ES6
function pagination(c, m) {
var current = c,
last = m,
delta = 2,
left = current - delta,
right = current + delta + 1,
range = [],
rangeWithDots = [],
l;
@trungx
trungx / docker-php-ext-install.md
Created May 5, 2020 18:40 — forked from giansalex/docker-php-ext-install.md
docker-php-ext-install Reference
RUN apt update
RUN apt upgrade -y
RUN apt install -y apt-utils
RUN a2enmod rewrite
RUN apt install -y libmcrypt-dev
RUN apt install -y libicu-dev
RUN docker-php-ext-install -j$(nproc) intl
RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng12-dev
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ 
@trungx
trungx / gigacube-reboot.rb
Created May 4, 2020 01:16 — forked from icy/gigacube-reboot.rb
gigacube-reboot.rb
#!/usr/bin/env ruby
# Author : Ky-Anh Huynh
# License : MIT
# Date : 2020-05-02
# Usage :
#
# $ gem install watir headless
# $ pacman -s xvfb
# $ PASSWORD="your_router_password" ./restart.rb