Skip to content

Instantly share code, notes, and snippets.

View mstg's full-sized avatar

Mustafa Gezen mstg

  • Tromsø, Norway
  • 09:42 (UTC +01:00)
View GitHub Profile
@mstg
mstg / apollo.openapi.json
Last active November 11, 2022 18:48
Apollo (Errata) OpenAPI
{
"swagger": "2.0",
"info": {
"title": "apollo/proto/v1/advisory.proto",
"version": "version not set"
},
"tags": [
{
"name": "ApolloService"
}
diff --git a/aspect/intellij_info_impl.bzl b/aspect/intellij_info_impl.bzl
index 22d7db11..6c449a96 100644
--- a/aspect/intellij_info_impl.bzl
+++ b/aspect/intellij_info_impl.bzl
@@ -349,6 +349,10 @@ def collect_go_info(target, ctx, semantics, ide_info, ide_info_file, output_grou
"go_appengine_test",
]:
sources = [f for src in getattr(ctx.rule.attr, "srcs", []) for f in src.files.to_list()]
+ for em_rule in ctx.rule.attr.embed:
+ g_sources = _collect_generated_go_sources(em_rule)
@mstg
mstg / BUILD.bazel
Created April 26, 2019 23:06
Rust cc invalid BUILD file
"""
cargo-raze crate build file.
DO NOT EDIT! Replaced on runs of cargo-raze
"""
package(default_visibility = [
# Public for visibility by "@raze__crate__version//" targets.
#
# Prefer access through "//src/bycrates.io/cargo", which limits external
# visibility to explicit Cargo.toml dependencies.

Keybase proof

I hereby claim:

  • I am mstg on github.
  • I am mstg (https://keybase.io/mstg) on keybase.
  • I have a public key whose fingerprint is C616 B882 8A62 EF8B 9748 E699 09E3 DE9A 68DF 5F59

To claim this, I am signing this object:

@interface CLLocationManager (iOS7)
+ (BOOL)locationServicesEnabled;
+ (void)setLocationServicesEnabled:(BOOL)newValue;
@end
static BOOL getLocationStatus() {
return [CLLocationManager locationServicesEnabled];
}
static void setLocationStatus(BOOL newState) {