This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/Graph.cpp b/src/Graph.cpp | |
index e4385fb..7431ce3 100644 | |
--- a/src/Graph.cpp | |
+++ b/src/Graph.cpp | |
@@ -709,6 +709,7 @@ bool Graph::getEffectiveNodeOrOptimalFunnel(uint32_t &effectiveNode, uint32_t &n | |
} | |
} | |
} | |
+ return true; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# $ python -m pip install chitose | |
# $ IDENTIFIER=xxx.bsky.social PASSWORD=aaaa-bbbb-cccc-dddd ACTOR=yyy.bsky.social python3 post.py | |
# | |
import json | |
import os | |
from datetime import datetime | |
from datetime import timezone | |
from chitose import BskyAgent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[package] | |
name = "pareiodon" | |
version = "0.1.0" | |
edition = "2021" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
[dependencies] | |
nix = "0.25.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[package] | |
name = "pareiodon" | |
version = "0.1.0" | |
edition = "2021" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
[dependencies] | |
nix = "0.25.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[package] | |
name = "pareiodon" | |
version = "0.1.0" | |
edition = "2021" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
[dependencies] | |
nix = "0.25.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[package] | |
name = "pareiodon" | |
version = "0.1.0" | |
edition = "2021" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
[dependencies] | |
nix = "0.25.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2022-09-15 21:41:29.694 xcodebuild[5077:210143] [MT] DVTPlugInLoading: Failed to load code for plug-in com.apple.dt.IDESimulatorAvailability (/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin), error = Error Domain=NSCocoaErrorDomain Code=3588 "dlopen(/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, 0x0109): Symbol not found: (_OBJC_CLASS_$_SimDiskImage) | |
Referenced from: '/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability' | |
Expected in: '/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator'" UserInfo={NSLocalizedFailureReason=The bundle couldn’t be loaded., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, NSDebugDescription=dlopen(/Applications/Xcode.app/Contents/PlugIns/IDESimulat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from typing import List | |
import bisect | |
def binary_search(a: List[int], num: int): | |
min_idx = 0 | |
max_idx = len(a) - 1 | |
while min_idx <= max_idx: | |
mid_idx = (min_idx + max_idx) // 2 | |
curr = a[mid_idx] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Workaround for a bug in BIG-IP Edge Client 7130.2015.0807.1 on macOS Mojave | |
# | |
# You can find the following error log messages if you encounter this bug: | |
# "Disconnected state, Error code, Routing table cannot be patched" | |
# "EXCEPTION - Initial patching for v6 failed, 4294967295" | |
# "Adding include route was failed" | |
# NET_IF depends on your Mac environment. | |
# You can find candidates of NET_IF with the following command: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ bin/groovyConsole | |
2016-05-03 12:44:30.764 java[2439:206562] An uncaught exception was raised | |
2016-05-03 12:44:30.764 java[2439:206562] NSConcreteAttributedString initWithString:: nil value | |
2016-05-03 12:44:31.114 java[2439:206562] ( | |
0 CoreFoundation 0x00007fff903554f2 __exceptionPreprocess + 178 | |
1 libobjc.A.dylib 0x00007fff88c7073c objc_exception_throw + 48 | |
2 CoreFoundation 0x00007fff903bc4bd +[NSException raise:format:] + 205 | |
3 Foundation 0x00007fff8e4b5255 -[NSConcreteAttributedString initWithString:] + 132 | |
4 liblwawt.dylib 0x000000010f9473fe -[AWTView attributedSubstringForProposedRange:actualRange:] + 135 | |
5 AppKit 0x00007fff87fba58d -[NSTextInputContext(NSInputContext_WithCompletion) attributedSubstringForProposedRange:completionHandler:] + 105 |
NewerOlder