How to configure the category gridlines in Numbers?

Below are two charts with and without gridlines. Obviously the one with gridlines isn’t very useful. I would like to just have a gridline every 10 years or something like that. How do I do that?

without gridlines

With gridlines

http2 – How to configure Apache to serve HTTP version 2?

The configuration file of Apache already has the following:

LoadModule http2_module modules/mod_http2.so

and…

<IfModule mod_http2.c>
    Protocols h2 h2c http/1.1
</IfModule>

HTTPS is working too using certificate issued from Let’s Encrypt.

However, when I try to request a resource say:

https://h2.example.com/index.html

Apache is still serving it with the protocol http/1.1 and still not h2.

Did I miss something? How to configure Apache to serve HTTP version 2?

Gentoo Linux. Cannot configure NVIDIA graphics

I’m new to Gentoo Linux. I was trying to install Xorg on Gentoo in order to install KDE Plasma as desktop environment. In accordance with the Xorg/Guide article from Gentoo Wiki I prepared the kernel for KMS (Kernel Mode Setting) by disabling legacy framebuffer support (except EFI-based frame buffer because I use UEFI):

KERNEL Disable legacy framebuffer support and enable basic console FB support
Device Drivers --->
   Graphics support --->
      Frame Buffer Devices --->
         <*> Support for frame buffer devices --->
         ## (Disable all drivers, including VGA, Intel, NVIDIA, and ATI, except EFI-based Framebuffer Support, only if you are using UEFI)
 
      ## (Further down, enable basic console support. KMS uses this.)
      Console display driver support --->
         <*>  Framebuffer Console Support

And then I enabled NVIDIA graphics card support (build directly into the kernel <*>):

KERNEL NVIDIA kernel
Device Drivers --->
   Graphics support --->
      <*>  Nouveau (NVIDIA) cards

sys-kernel/linux-firmware was also previously installed.

After rebuilding the kernel I rebooted the system but it won’t boot and I see only blank screen. If I disable Nouveau and rebuild the kernel (inside chroot) the system boots to tty again just as normal.

Here’s my lspci output if it’s needed:

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 06)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:14.0 USB controller: Intel Corporation 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller
00:16.0 Communication controller: Intel Corporation 200 Series PCH CSME HECI #1
00:17.0 SATA controller: Intel Corporation 200 Series PCH SATA controller (AHCI mode)
00:1b.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #21 (rev f0)
00:1c.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #5 (rev f0)
00:1c.5 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #6 (rev f0)
00:1c.6 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #7 (rev f0)
00:1c.7 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #8 (rev f0)
00:1d.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #9 (rev f0)
00:1f.0 ISA bridge: Intel Corporation 200 Series PCH LPC Controller (B250)
00:1f.2 Memory controller: Intel Corporation 200 Series/Z370 Chipset Family Power Management Controller
00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio
00:1f.4 SMBus: Intel Corporation 200 Series/Z370 Chipset Family SMBus Controller
01:00.0 VGA compatible controller: NVIDIA Corporation GP107 (GeForce GTX 1050 Ti) (rev a1)
01:00.1 Audio device: NVIDIA Corporation GP107GL High Definition Audio Controller (rev a1)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)

How should I configure the kernel to make NVIDIA work properly on my system? And what else do I need to install and configure KDE?

ip – Q: How to configure virtual network on Ubuntu?

For my server I ordered a virtual server on Hetzner, OS Ubuntu 20.04 min, gave ip 105.217.93.87. I put the GUI on it and put VirtualBox on it I put Windows server, Windows 10 and Ubuntu on it. There is Internet on Windows, all the rules. But ubuntu does not see its ip and does not connect via ss. I ordered another ip 105.217.93.70, registered it and nothing. Logs in via SSH to the main ubuntu. Maybe someone knows what to do in such cases ????

vpn – Configure Strongswan Cipher Settings for iOS 14

FYI, I think I’m in the right community now. Started in StackOverflow since it related to my app, but it relates more to the server side.

Anyway, I had a Strongswan VPN set up (Ubuntu 18.04) for an internal business iOS app. The VPN was handled programatically. With the iOS 14 betas it’s stopped working. This was my ipsec.conf:

# ipsec.conf - strongSwan IPsec configuration file

# basic configuration

config setup
    charondebug="ike 1, knl 1, cfg 0"
    uniqueids=no

conn ikev2-vpn
    auto=add
    compress=no
    type=tunnel
    keyexchange=ikev2
    fragmentation=yes
    forceencaps=yes
    ike=aes256-sha1-modp1024,3des-sha1-modp1024!
    esp=aes256-sha1,3des-sha1!
    dpdaction=clear
    dpddelay=300s
    rekey=no
    left=%any
    leftid=<MY_IP>
    leftsubnet=0.0.0.0/0
    right=%any
    rightid=%any
    rightdns=8.8.8.8,8.8.4.4
    rightsourceip=10.10.10.0/24
    authby=secret

Since it continued to work on iOS 13 devices, I thought it was a bug. But after submitting an issue in the Feedback app, they told me the supported cipher types have been updated in iOS 14 (of course totally undocumented). Posting on the developer forum (https://developer.apple.com/forums/thread/659209) finally got me to the following new supported ciphers:

ENCR_AES_CBC
PRF_HMAC_SHA2_256
AUTH_HMAC_SHA2_256_128
2048 bit MODP Group / Diffie-Hellman Group (D-H) 

But how would I implement this in my ipsec.conf? I tried the following, but still won’t work:

# ipsec.conf - strongSwan IPsec configuration file

# basic configuration

config setup
    charondebug="ike 1, knl 1, cfg 0"
    uniqueids=no

conn ikev2-vpn
    auto=add
    compress=no
    type=tunnel
    keyexchange=ikev2
    fragmentation=yes
    forceencaps=yes
    ike=aes256-sha2_256-modp2048!
    esp=aes256-prfsha256-modp2048!
    dpdaction=clear
    dpddelay=300s
    rekey=no
    left=%any
    leftid=<MY_IP>
    leftsubnet=0.0.0.0/0
    right=%any
    rightid=%any
    rightdns=8.8.8.8,8.8.4.4
    rightsourceip=10.10.10.0/24
    authby=secret

I believe that the ike settings is for key exchange, and thus should reflect the “AUTH” in the supported ciphers above. Am I off? Anything I can read up on to understand this all better?

postgresql – How do I configure my Mac Postgres 9.6 instance to work with my existing openssl version?

I’m using Mac 10.13.6 and PostGres 9.6.15. I can’t upgrade PostGres locally because our production system is on this version. I have this version of openssl

openssl version -a
OpenSSL 1.1.1g  21 Apr 2020 (Library: OpenSSL 1.1.1d  10 Sep 2019)
built on: Fri Mar  6 13:41:59 2020 UTC
platform: darwin64-x86_64-cc
options:  bn(64,64) rc4(16x,int) des(int) idea(int) blowfish(ptr) 
compiler: clang -fPIC -arch x86_64 -O2  -arch x86_64 -fno-common -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -D_REENTRANT -DNDEBUG -DNDEBUG -arch x86_64
OPENSSLDIR: "/usr/local/mysql/ssl"
ENGINESDIR: "/usr/local/mysql/lib/engines-1.1"
Seeding source: os-specific

I would prefer to keep this version of openssl installed because I have other projects that depend on it. When I try and run any version of a Postgres command, e.g. “psql” or “pgdump,” I get the below error

$ pg_dump
dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
  Referenced from: /usr/local/Cellar/postgresql@9.6/9.6.15/lib/libpq.5.dylib
  Reason: image not found
Abort trap: 6

I have the below installed. Not sure if there’s any way I can repoint something via an env var?

/usr/local/lib/libevent_openssl-2.1.7.dylib
/usr/local/lib/libevent_openssl.dylib
/usr/local/Cellar/curl-openssl/7.65.3/lib/libcurl.dylib
/usr/local/Cellar/curl-openssl/7.65.3/lib/libcurl.4.dylib
/usr/local/Cellar/libevent/2.1.8/lib/libevent_openssl-2.1.6.dylib
/usr/local/Cellar/libevent/2.1.8/lib/libevent_openssl.dylib
/usr/local/Cellar/libevent/2.1.11/lib/libevent_openssl-2.1.7.dylib
/usr/local/Cellar/libevent/2.1.11/lib/libevent_openssl.dylib
/usr/local/Cellar/openssl@1.1/1.1.1g/lib/libssl.dylib
/usr/local/Cellar/openssl@1.1/1.1.1g/lib/libssl.1.1.dylib
/usr/local/Cellar/openssl@1.1/1.1.1g/lib/libcrypto.dylib
/usr/local/Cellar/openssl@1.1/1.1.1g/lib/engines-1.1/padlock.dylib
/usr/local/Cellar/openssl@1.1/1.1.1g/lib/engines-1.1/capi.dylib
/usr/local/Cellar/openssl@1.1/1.1.1g/lib/libcrypto.1.1.dylib
/Users/davea/.nuget/packages/runtime.osx.10.10-x64.runtime.native.system.security.cryptography.openssl/4.3.0/runtimes/osx.10.10-x64/native/System.Security.Cryptography.Native.OpenSsl.dylib
/opt/wildfly-15.0.0.Final/modules/system/layers/base/org/wildfly/openssl/main/lib/macosx-x86_64/libwfssl.dylib
/opt/local/lib/libevent_openssl-2.0.5.dylib

How can I configure Telegram to open links using Opera Browser instead of Chrome?

My Android is v6, but answers for any other modern version are OK too.

angular – How to configure Silent Renew Url in Web pack config

I have developed typescript based SPA application (html,css,js) and have implemented authentication using Oidc-Client library.

Current Scenario :

  1. I was able to login and get access token successfully.
  2. Once it is timed out then it is not hitting silent renew page which is configured so that on token expiration it should be called.
  3. Also If I am accessing (kept opening) the silent renew page in one of tab in browser then it is invoking the token automatically.

Expected Scenario:

  1. On token expiration Silent renew page should be invoked automatically.
  2. I have attached sample configuration of web pack config and oidc config.

Web pack Config :

const config = {
    devtool: "source-map",
    watch: true,    
    entry: {      
      AuthSigninService:"./src/AuthSigninService/AuthSigninService.ts",
      silentrefresh: ("./src/silentrefresh/silentrefresh.ts")      
    },
    resolve: {
      extensions: (".ts", ".vue", ".html", ".js"),
      alias: {
        jquery: "../scripts/Jquery.js"        
        
    }
    },  
--------

 new HtmlWebpackPlugin({
        filename: "silentrefresh.html",
        template: "./src/silentrefresh/silentrefresh.html",
        chunks: ("polyfill","silentrefresh")        
      }),  
     

Oidc config:

 var settings = {
  authority: "https://xxxx.xxxxx.com/xxxx/v1", 
  client_id: "https://xxx.xxx.com/",
  redirect_uri: "https://localhost:3000/taskpane.html",
  post_logout_redirect_uri: "https://localhost:3000/logout.html", 
  revokeAccessTokenOnSignout: true,      
  response_type: "id_token token",
  scope: "openid read:xxxx read:xxxx",
  state: true,
  filterProtocolClaims: true,  
  loadUserInfo: true,
  nonce:true, 
  clearHashAfterLogin: true,
  automaticSilentRenew: true,     
  silent_redirect_uri: 'https://localhost:3000/silent-refresh.html',      
  monitorsession:true,  
  metadata: {        
    issuer: 'https://xxx.xxx.com/xxx/v1',                    
    authorization_endpoint:  "https://xxx.xxx.com/xxxxx/v1/connect/authorize"                  
   
}    
};

Anyone know how to configure pybitcointools to bitcoin testnet?

Anyone know how to configure https://github.com/wizardofozzie/pybitcointools
to bitcoin testnet?

thanks,

20.04 – Unable To Configure Brother QL-1060N Printer When Re-Installing

I have been unsuccessful in setting up my Brother QL-1060N label printer again and am turning to the AskUbuntu computer for help. I have previously had this successfully setup in Ubuntu 18.04 (with the setup continuing to work in my recent terminal upgrade to Ubuntu 20.04) and in Windows 10.

I started by attempting to follow the Linux deb instructions. To be clear I installed the ql1060nlpr-1.0.6-0.i386.deb followed by ql1060ncupswrapper-1.0.6-0.i386.deb . The most success I had was getting the green LED on this printer to flash 3 times when clicking on PRINT SELF-TEST PAGE but no actual printing occurred.

I thought I’d take a different approach: Install this on my Windows 10 machine to confirm the settings and see if I could glean any new information. This was helpful in confirming the IP address of the printer is indeed 10.1.1.14. It shows BINARY_P1 as the port. Beyond confirming the printer indeed works this hasn’t helped my cause.

The now upgraded Ubuntu 20.04 SSD drive is failing. I copied the configuration for this printer from (/etc/cups/printer.conf)(2) and had hoped pasting this into the file and re-starting CUPS would work this would work when were unsuccessful. But this also hasn’t worked.

While searching the web for direction I read the label paper within this model printer is sensitive to the media used to print on. If what the computer is expecting isn’t installed in the printer the job is rejected accompanied by a flashing red LED. (The fact that I had a green flashing LED but no actual printing confused me.) When I first installed the printer in Ubuntu 18.04 I did discover this characteristic. I had specified 4″ X 4″ label paper. What I am using are 4″ x 50′ label paper rolls. The whole purpose in this purchase is for address labels. Today’s attempts have been selecting

  • 4″ / 102mm
  • 4″ x 6″
  • 4″ x 2″

However I really wanted to establish the 4″ / 102mm setting.

Having spent 4 hours on this trying and trying again I am lost. I’d appreciate how to go forward or steps to eliminate what isn’t wrong (in the mindset of Sherlock Holmes).