Skip to content

Instantly share code, notes, and snippets.

View litanur's full-sized avatar

Lita Nurlaelati litanur

  • The World
  • Indonesia
View GitHub Profile
@litanur
litanur / readme.md
Last active April 12, 2024 15:25
Install MongoDB on Manjaro

How to install mongoDB on Manjaro 21 Ornara

  1. Enable AUR
  2. Make sure system is up to date sudo pacman -Syu
  3. To install, use the following command:
pamac build mongodb-bin
pamac build mongodb-tools-bin
pamac build mongodb-compass
function checkProperties(obj, email) {
let fullname = "";
for (var key in obj) {
if (obj[key] !== null && obj[key] != "")
fullname = obj[key];
break;
}
if (fullname != "") {
sudo apt-get remove nginx-core nginx-full nginx-light nginx-extras nginx-common
@litanur
litanur / error_git.txt
Created March 16, 2019 06:31
list of error and the way to fix it
Error Message:
"refusing to merge unrelated histories"
Fix:
git checkout master
git merge origin/master --allow-unrelated-histories
git add -A .
git commit -m "Upload"
git push
@litanur
litanur / big_query_tutorial.txt
Last active March 23, 2018 12:36
My note about big data implementation using Google Big Query
https://cloud.google.com/sdk/docs/#deb
https://cloud.google.com/sdk/docs/quickstart-debian-ubuntu
https://console.developers.google.com/apis
https://cloud.google.com/bigquery/docs/bq-command-line-tool
https://cloud.google.com/bigquery/docs/reference/bq-cli-reference
https://cloud.google.com/sdk/gcloud/
https://cloud.google.com/bigquery/docs/quickstarts
https://cloud.google.com/bigquery/quickstart-command-line
https://cloud.google.com/bigquery/docs/how-to
@litanur
litanur / mariadb_error.txt
Created January 9, 2018 12:49
Solution Errcode: 2 mariadb
Error message:
mysqldump: Error: 'Can't create/write to file '/var/tmp/#sql_662_2.MAI' (Errcode: 2)' when trying to dump tablespaces
mysqldump: Couldn't execute 'show fields from `cdef`': Can't create/write to file '/var/tmp/#sql_662_0.MAI' (Errcode: 2) (1)
Solution:
https://prabuddha.me/fix-mariadb-error-innodb-error-unable-create-temporary-file/
In Centos 7, service name of mysql is mariadb