This gist is for Linux. For windows is the same thing.
create a file .login_info
as below:
connect your.server.url
usernanme
import { writeFile, readdir, readFile } from 'node:fs/promises'; | |
import path from 'path'; | |
/* | |
Steps to get/export your notes from Huawei Notes: | |
1. Login into a Huawei Account in the phone. | |
2. Activate in your phone, the Notes Syncing, which is inside of Huawei Account > Cloud | |
3. Log in into https://cloud.huawei.com | |
4. Go to https://cloud.huawei.com/home#/account/gdpr, and click on Download Notes | |
5. This will give you a zip file with a password. Extract the zip file into a folder. |
Sometimes a python script will simply hang forever with no indication of where things went wrong. Perhaps it's polling a service that will never return a value that allows the program to move forward. Here's a way to see where the program is currently stuck.
Install gdb.
# Redhat, CentOS, etc
package mqtt_test | |
import ( | |
"sync" | |
"testing" | |
mqtt "github.com/eclipse/paho.mqtt.golang" | |
) | |
func TestMqttPubSub(t *testing.T) { |
package main | |
import ( | |
"fmt" | |
"image" | |
"image/color" | |
"image/gif" | |
"math" | |
"os" | |
) |
# mysql-proxy.conf (Ubuntu 14.04.1) Upstart proxy configuration file for AWS RDS | |
# mysql-proxy - mysql-proxy job file | |
description "mysql-proxy upstart script" | |
author "shadowbq <shadowbq@gmail.com>" | |
# Stanzas | |
# | |
# Stanzas control when and how a process is started and stopped | |
# See a list of stanzas here: http://upstart.ubuntu.com/wiki/Stanzas#respawn |
package nettimeout | |
import ( | |
"net" | |
"time" | |
) | |
// Listener wraps a net.Listener, and gives a place to store the timeout | |
// parameters. On Accept, it will wrap the net.Conn with our own Conn for us. | |
type Listener struct { |
/* Flatten das boostrap */ | |
.well, .navbar-inner, .popover, .btn, .tooltip, input, select, textarea, pre, .progress, .modal, .add-on, .alert, .table-bordered, .nav>.active>a, .dropdown-menu, .tooltip-inner, .badge, .label, .img-polaroid { | |
-moz-box-shadow: none !important; | |
-webkit-box-shadow: none !important; | |
box-shadow: none !important; | |
-webkit-border-radius: 0px !important; | |
-moz-border-radius: 0px !important; | |
border-radius: 0px !important; | |
border-collapse: collapse !important; | |
background-image: none !important; |
ror, scala, jetty, erlang, thrift, mongrel, comet server, my-sql, memchached, varnish, kestrel(mq), starling, gizzard, cassandra, hadoop, vertica, munin, nagios, awstats