You need at least WeeChat 3.2-dev
#!/bin/zsh | |
# | |
# Please note: | |
# | |
# 1. Currently, I'm using zsh here, not sh or bash. | |
# 2. I use this script in macOS | |
# 3. You have to change GDRIVE_EMAIL and GPG_RECIPIENT | |
# |
diff --git a/init.el b/init.el | |
index c431854..014d90c 100644 | |
--- a/init.el | |
+++ b/init.el | |
@@ -284,7 +284,6 @@ Set DEBUG=1 in the command line or use --debug-init to enable this.") | |
;;;; Project management | |
(use-package project | |
- :defer t | |
:commands (project-find-file |
1406x Cell/Indicators/Base.lua:317: attempt to compare number with nil | |
[string "@Cell/Indicators/Base.lua"]:317: in function <Cell/Indicators/Base.lua:284> | |
Locals: | |
self = CellAppearancePreviewIcon3 { | |
BottomLeftCorner = Texture { | |
} | |
showDuration = true | |
elapsed = 0 | |
duration = FontString { |
3x ...aceBlizzard_MapCanvas/Blizzard_MapCanvas.lua:189: attempt to call method 'CheckMouseButtonPassthrough' (a nil value) | |
[string "@Blizzard_MapCanvas/Blizzard_MapCanvas.lua"]:189: in function `AcquirePin' | |
[string "@TomTom/libs/HereBeDragons/HereBeDragons-Pins-2.0.lua"]:437: in function `HandlePin' | |
[string "@TomTom/libs/HereBeDragons/HereBeDragons-Pins-2.0.lua"]:733: in function `AddWorldMapIconMap' | |
[string "@TomTom/TomTom_Waypoints.lua"]:196: in function `SetWaypoint' | |
[string "@TomTom/TomTom.lua"]:1003: in function `AddWaypoint' | |
[string "@TomTom/TomTom_POIIntegration.lua"]:129: in function <TomTom/TomTom_POIIntegration.lua:32> | |
[string "@TomTom/TomTom_POIIntegration.lua"]:161: in function <TomTom/TomTom_POIIntegration.lua:157> | |
Locals: |
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).
import java.util.Stack | |
import java.lang.Long.parseLong | |
fun String.isNumeric(): Boolean { | |
return try { | |
parseLong(this) | |
true | |
} catch (e: NumberFormatException) { | |
false | |
} |
#!/bin/bash | |
# bash generate random alphanumeric string | |
# | |
# bash generate random 32 character alphanumeric string (upper and lowercase) and | |
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1) | |
# bash generate random 32 character alphanumeric string (lowercase only) | |
cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1 |
[Unit] | |
Description=My service | |
[Service] | |
ExecStart=/usr/local/bin/my-service \ | |
-argument value \ | |
-otherargument othervalue | |
# Setuid/Setgid | |
User=nobody |