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 | |
# | |
# Startup script used by Jenkins launchd job. | |
# Mac OS X launchd process calls this script to customize | |
# the java process command line used to run Jenkins. | |
# | |
# Customizable parameters are found in | |
# /Library/Preferences/org.jenkins-ci.plist | |
# | |
# You can manipulate it using the "defaults" utility. |
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
import {Injectable} from '@angular/core'; | |
import { | |
HttpRequest, | |
HttpHandler, | |
HttpEvent, | |
HttpInterceptor | |
} from '@angular/common/http'; | |
import {Observable} from 'rxjs'; | |
import {tap} from "rxjs/operators"; | |
import {AuthService} from "./auth.service"; |
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
func getJWKKey(token *jwt.Token) (interface{}, error) { | |
kid := fmt.Sprintf("%v", token.Header["kid"]) | |
set, err := jwk.FetchHTTP(jwkKeyURL) | |
if err != nil { | |
log.Printf("failed to parse JWK: %s", err) | |
return nil, err | |
} |
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
# -*- encoding=utf8 -*- | |
from airtest.core.api import * | |
auto_setup(__file__) | |
# 指定画像を捜査しタッチ捜査をおこなう。 | |
# back.airディレクトリ内に画像配置済み | |
def back_button(): | |
touch(Template(r"tpl1550048906014.png", record_pos=(-0.472, -0.255), resolution=(1920, 1080))) |
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
//こっちはFunctions側 | |
import 'package:http/http.dart' as http; | |
import 'package:sprintf/sprintf.dart'; | |
const String ENDPOINT = 'https://iid.googleapis.com/iid/v1/%s/rel/topics/%s'; | |
Future<int> Subscribe(String serverKey, String token, String topic) async { | |
int status; | |
var url = sprintf(ENDPOINT, [token, topic]); | |
print(url); |
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
import { BrowserModule } from '@angular/platform-browser'; | |
import { NgModule } from '@angular/core'; | |
import {NgbModule} from '@ng-bootstrap/ng-bootstrap'; | |
import { AppComponent } from './app.component'; | |
@NgModule({ | |
declarations: [ | |
AppComponent | |
], | |
imports: [ |
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
flutter doctor | |
Doctor summary (to see all details, run flutter doctor -v): | |
[√] Flutter (Channel beta, v0.8.2, on Microsoft Windows [Version 10.0.17134.285], locale ja-JP) | |
[√] Android toolchain - develop for Android devices (Android SDK 28.0.3) | |
[√] Android Studio (version 3.2) | |
[√] VS Code (version 1.27.2) | |
[!] Connected devices | |
! No devices available | |
! Doctor found issues in 1 category. |
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
choco install dart-lang | |
choco install androidstudio | |
flutter doctor | |
flutter doctor --android-licenses |
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
Not ignored files: | |
└─ dist/bundle.js | |
Ignored files: | |
└─ dist/appsscript.json |
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 main | |
import ( | |
"context" | |
"golang.org/x/oauth2" | |
"fmt" | |
"log" | |
"golang.org/x/oauth2/google" | |
"io/ioutil" | |
"google.golang.org/api/photoslibrary/v1" |
NewerOlder