This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
apps: [ | |
{ | |
name: "strapi-app-backend-crawler", | |
script: 'server.js', // Điểm khởi động là server.js | |
watch: false, | |
env: { | |
NODE_ENV: "development" | |
}, | |
env_production: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bên mình build IOS thì gặp lỗi sau: | |
dyld[1887]: Symbol not found: _$s9Alamofire11RetryResultO05doNotB0yA2CmFWC | |
Referenced from: <A9C2D6D3-D89A-33FD-90DB-FCDDC4FD4122> /private/var/containers/Bundle/Application/CBB8B2A4-10D2-4D1D-BBB5-2C1F3D3DD3D3/maxQ.app/Frameworks/PVCBeKYC.framework/PVCBeKYC | |
Expected in: <0FBD319F-3398-30E7-B4EF-08CFF7CE53B4> /private/var/containers/Bundle/Application/CBB8B2A4-10D2-4D1D-BBB5-2C1F3D3DD3D3/maxQ.app/Frameworks/Alamofire.framework/Alamofire | |
Message from debugger: killed | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PUT /api/Customer/username HTTP/1.1 | |
Host: api2.pronexus.com.vn | |
Content-Type: application/json | |
Cookie: .AspNet.Cookies=ALTb5ZeOsGf8umWsYpBG_ljdn4gjNNdjdksBgsYTUMy95cq2KWAdK2FDWooUw7lZVTvo26O_q_bJgti1A--HjWwl0C5O1v1-9a04YHgUfklRa-qIt8jo3VL2mAhVxI0i6NkU01mdEgwamWwJKajwbcXVAcZk6TQj2hEvUDriYnRaU2xE2NWVOcOA92D1INwEY1TsMwbvHMk8PyHH0Ovw2rpNf-YVPj4dwPIbsxT04KgwXsZSZM4UXXR47ibgNf76QQSCRCY2zxrzBaxfZ9aNbY_SwJ5ujno7IeXqCBX7CuH-7vyDl4Kko83w2QjiJWiGsWtEgblm8nieh7yXFAWLZqsyaQElZ-fekiOcJbi8cuzhZUTZ1sls1Fq3A61Rwm2tdmVmwgklwfTLbkEHLiws2YOaQPWpxgHa832E0iSqas4xHpxcqd7eyCDM8bykOQGToOke8GfaqIK2fI9hRC48FHnwTGZxOwZ_J1bNUcXSyrA | |
User-Agent: ProNexus/79 CFNetwork/1312 Darwin/21.1.0 | |
Connection: keep-alive | |
Accept: application/json | |
Accept-Language: en-US,en;q=0.9 | |
Authorization: Bearer tO8zcWD-eZi3Nmbu21XlL82vu3TfOo9JboAT-LdxS8oY2px3WlRGAN_rIMYIfFI9ZODISvJJRxtCwG-DXs3-g1Z3bPlewqKui3L82aUz3yui4VPjhrgKz28zU6dOtWke2dAEU_3ZvKz99ZYC7gaoyN50dMRQjTFeCPL0CJQ4CDLF5kJlrycEZULzZ9hXOSV0gH2MIqB7KQH_z-92y8gLrRX7FCUGBsktKIUV0tM7gXDPWR8JMYugSBwvTFQq8EQU1SO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
### Bash Environment Setup | |
# http://redsymbol.net/articles/unofficial-bash-strict-mode/ | |
# https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html | |
# set -o xtrace | |
set -o errexit | |
set -o errtrace | |
set -o nounset | |
set -o pipefail |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "removing evaluation key" | |
rm ~/.IntelliJIdea15/config/eval/idea15.evaluation.key | |
# for mac go to: /Users/username/Library/Preferences/IntelliJIdea2016.3/eval/idea163.evaluation.key | |
echo "resetting evalsprt in options.xml" | |
sed -i '/evlsprt/d' ~/.IntelliJIdea15/config/options/options.xml | |
# for mac go to: /Users/lzhoucs/Library/Preferences/IntelliJIdea2016.3/options/options.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1: run command | |
sudo vi /etc/systemd/system/yourservice.service | |
2. copy paste to file | |
[Unit] | |
Description=Example .NET Web API App running on Ubuntu | |
[Service] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<system.net> | |
<defaultProxy> | |
<proxy usesystemdefault="true" proxyaddress="http://45.117.171.21:6868" bypassonlocal="true" /> | |
</defaultProxy> | |
</system.net> | |
<system.webServer> | |
<rewrite> | |
<outboundRules> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2018-08-13T08:55:14.737Z","extensionVersion":"v3.0.0"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try { | |
function getNextSequenceValue(sequenceName){ | |
var sequenceDocument = db.getCollection('counters').findAndModify({ | |
query:{_id: sequenceName }, | |
update: {$inc:{sequence_value:1}}, | |
new:true | |
}); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2017-12-11T03:01:50.945Z","extensionVersion":"v2.8.7"} |
NewerOlder