Display / print all rows of a tibble (tbl_df)

You could also use print(tbl_df(df), n=40) or with the help of the pipe operator df %>% tbl_df %>% print(n=40) To print all rows specify tbl_df %>% print(n = Inf) edit 31.07.2021: in > dplyr 1.0.0 Warning message: `tbl_df()` was deprecated in dplyr 1.0.0. Please use `tibble::as_tibble()` instead. df %>% as_tibble() %>% print(n=40)

How to set TLS context options in Ruby (like OpenSSL::SSL::SSL_OP_NO_SSLv2)

In the Ruby OpenSSL library the option constants aren’t prefixed with ‘SSL_’. You can see a list of the option constants by running something like this in irb/console: OpenSSL::SSL.constants.grep(/OP_/). Here is the relevant ruby C source where they are defined: https://github.com/ruby/ruby/blob/trunk/ext/openssl/ossl_ssl.c#L2225. Edit: There doesn’t appear to be a way, out of the box, to set … Read more

GCC -fPIC option

Position Independent Code means that the generated machine code is not dependent on being located at a specific address in order to work. E.g. jumps would be generated as relative rather than absolute. Pseudo-assembly: PIC: This would work whether the code was at address 100 or 1000 100: COMPARE REG1, REG2 101: JUMP_IF_EQUAL CURRENT+10 … … Read more