You need at least WeeChat 3.2-dev
import java.util.Stack | |
import java.lang.Long.parseLong | |
fun String.isNumeric(): Boolean { | |
return try { | |
parseLong(this) | |
true | |
} catch (e: NumberFormatException) { | |
false | |
} |
$ pwd | |
/home/klay/projects/c/cphalcon | |
$ git branch | |
2.0.0 | |
* 2.0.x | |
master | |
$ php --ri phalcon | grep 'Version =>' |
#!/usr/bin/env bash | |
# Works fine on Ubuntu 14.0.4 LTS | |
NGINX_VERSION="1.9.9" | |
NCHAN_VERSION="0.97" | |
HEADERS_MORE_VERSION="0.29" | |
DEV_KIT_VERSION="0.2.19" | |
ECHO_VERSION="0.58" | |
FANCY_INDEX_VERSION="0.3.5" |
Frame pointer omission does make debugging significantly harder. Local variables are harder to locate and stack traces are much harder to reconstruct without a frame pointer to help out. Also, accessing parameters can get more expensive since they are far away from the top of the stack and may require more expensive addressing modes.
The -fno-omit-frame-pointer
option direct the compiler to generate code that maintains and uses stack frame pointer for all functions so that a debugger can still produce a stack backtrace even with optimizations flags.
Irrespective if you use the flag, not every function needs a frame pointer in the first place, so you can't always expect a difference with the flag.
Also, whether the function has a frame pointer is an implementation detail. Compilers can differ in implementation details (and usually they do).
Every so often I have to restore my gpg keys and I'm never sure how best to do it. So, I've spent some time playing around with the various ways to export/import (backup/restore) keys.
gpg --export --armor 1E0B5331219BEA88 > 1E0B5331219BEA88.pub.asc
gpg --export-secret-keys --armor 1E0B5331219BEA88 > 1E0B5331219BEA88.priv.asc
gpg --export-secret-subkeys --armor 1E0B5331219BEA88 > 1E0B5331219BEA88.sub_priv.asc
gpg --export-ownertrust > ownertrust.txt
package main | |
import ( | |
"fmt" | |
"golang.org/x/net/context" | |
cc "golang.org/x/oauth2/clientcredentials" | |
"io/ioutil" | |
"net/http" | |
"os" | |
) |