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
py_binary( | |
name = 'generate_compile_command', | |
srcs = [ | |
'generate_compile_command.py', | |
], | |
deps = [ | |
'//third_party/bazel:extra_actions_proto_py', | |
], | |
) |
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
#!/usr/bin/env ruby | |
icon_list = "alligator, anteater, armadillo, auroch, axolotl, badger, bat, beaver, buffalo, camel, chameleon, cheetah, chipmunk, chinchilla, chupacabra, cormorant, coyote, crow, dingo, dinosaur, dolphin, duck, dragon, elephant, ferret, fox, frog, giraffe, gopher, grizzly, hedgehog, hippo, hyena, jackal, ibex, ifrit, iguana, koala, kraken, lemur, leopard, liger, llama, manatee, mink, monkey, narwhal, nyan cat, orangutan, otter, panda, penguin, platypus, python, pumpkin, quagga, rabbit, raccoon, rhino, sheep, shrew, skunk, slow loris, squirrel, turtle, walrus, wolf, wolverine, wombat" | |
for icon in icon_list.split ', ' do | |
element = icon.sub ' ', '' | |
`curl https://ssl.gstatic.com/docs/common/profile/#{element}_lg.png -o icons/#{element}.png` | |
end |
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
private class NativeJvmTransport(private val config: SearchClient.Config) : ElasticsearchTransport { | |
private val options = Options( | |
headers = ImmutableMultimap.builder<String, String>().apply { | |
val mimeType = Version.VERSION?.let { version -> "application/vnd.elasticsearch+json; compatible-with=${version.major()}" } ?: "application/json" | |
put("Content-Type", mimeType) | |
put("Accept", mimeType) | |
config.apiKey?.let { put("Authorization", "ApiKey $it") } | |
}.build() | |
) |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
<style type="text/css"> | |
#root { | |
display:flex; | |
flex-direction: column-reverse; | |
overflow-y: scroll; | |
height: 300px; |
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
cc_library( | |
name = "mimalloc", | |
srcs = ["src/static.c"], | |
textual_hdrs = glob(["src/*.c", "src/*.h"], exclude = ["src/static.c"]), | |
hdrs = glob(["include/*.h"]), | |
includes = ["include"], | |
copts = ["-DMI_MALLOC_OVERRIDE"], | |
visibility = ["//visibility:public"], | |
) |
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
{ | |
"images" : [ | |
{ | |
"filename" : "test.svg", | |
"idiom" : "iphone" | |
} | |
], | |
"info" : { | |
"author" : "xcode", | |
"version" : 1 |
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
SWIFT_CLASS("_TtC3Foo9TestClass") | |
@interface TestClass : NSObject | |
- (void)fooWithLabel:(NSString * _Nonnull)arg; | |
- (void)foo1:(NSString * _Nonnull)arg; | |
- (void)barWithLabel:(NSString * _Nonnull)arg other:(NSInteger)ar; | |
- (void)bar1:(NSString * _Nonnull)arg other:(NSDictionary<NSString *, id> * _Nonnull)ar; | |
- (void)quxWithLabel:(NSString * _Nonnull)arg :(NSInteger)ar; | |
- (void)qux1:(NSString * _Nonnull)arg :(NSArray * _Nonnull)ar; | |
- (void)thudWithArg:(int64_t)arg ar:(double)ar; | |
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; |
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 | |
clear | |
function color (){ | |
echo "\e[$1m$2\e[0m" | |
} | |
function extend (){ | |
local str="$1" |
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
[Settings] | |
Grid=1 | |
Suffix=_GLS | |
[Hotkeys] | |
PTT= | |
AlertRecall= | |
ArmySelect=Grave | |
IdleWorker=Shift+Grave | |
TargetChoose=LeftMouseButton,Z |
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
data:text/html, <html contenteditable style="font-family: courier"> |
NewerOlder