Skip to content

Instantly share code, notes, and snippets.

View mikehibm's full-sized avatar
🏠
Working from home

Mike I mikehibm

🏠
Working from home
View GitHub Profile
User Client Project Description Start date Start time End date End time
Mike 株式会社◯◯◯ 売上管理システム開発 データ取込エラーの調査 2018-07-04 18:15:00 2018-07-04 18:45:00
Mike 株式会社◯◯◯ 売上管理システム開発 データ取込エラーの調査 2018-07-05 12:10:00 2018-07-05 13:31:00
Mike 株式会社◯◯◯ 売上管理システム開発 データ取込エラー対策の実装 2018-07-06 10:54:00 2018-07-06 11:05:00
Mike 株式会社◯◯◯ 売上管理システム開発 AWS・RDSの設定・動作確認 2018-07-13 14:01:57 2018-07-13 14:22:57
Mike 株式会社◯◯◯ 売上管理システム開発 EC2インスタンスの作成・動作確認 2018-07-18 08:10:14 2018-07-18 08:30:14
Mike △△株式会社 iOSアプリ開発 サーバーからの画像ダウンロード処理の変更 2018-07-20 11:55:05 2018-07-20 12:05:07
Mike △△株式会社 iOSアプリ開発 画像アップロード処理の実装 2018-07-20 13:00:14 2018-07-20 13:51:48
Mike 株式会社◯◯◯ 売上管理システム開発 月次レポート出力画面作成 2018-07-30 10:37:06 2018-07-30 10:59:56
Mike 株式会社◯◯◯ 売上管理システム開発 月次レポート出力画面の仕様変更・テスト 2018-07-30 11:27:59 2018-07-30 12:20:59
@mikehibm
mikehibm / Program.cs
Created May 6, 2018 00:10
ASP.NET Core 2.1
public class Program
{
public static void Main(string[] args)
{
CreateWebHostBuilder(args)
.Build()
.Run();
}
public static IWebHostBuilder CreateWebHostBuilder(string[] args)
@mikehibm
mikehibm / .gitlab-ci.yml
Created September 16, 2017 02:27
GitLab CI configuration
image: "ubuntu:14.04"
stages:
- deploy
- pdf
deploy:
stage: deploy
only:
- /^release-.*$/
before_script:
@mikehibm
mikehibm / .gitlab-ci.yml
Created September 16, 2017 01:50
GitLab CI configuration for auto-deploy to Azure App Services
image: "ubuntu:14.04"
stages:
- deploy
deploy:
stage: deploy
only:
- /^release-.*$/
before_script:
- apt-get update && apt-get install -y software-properties-common curl git
@mikehibm
mikehibm / .gitlab-ci.yml
Created September 9, 2017 04:03
GitLab CI configuration file
image: "ubuntu:14.04"
test:
before_script:
- apt-get update && apt-get install -y software-properties-common curl
- add-apt-repository -y ppa:openjdk-r/ppa && add-apt-repository -y ppa:brightbox/ruby-ng && apt-get update && apt-get install -y openjdk-8-jdk ruby2.4
script:
- java -version
- ruby -v
@mikehibm
mikehibm / Startup.cs
Created September 8, 2017 19:10
Startup.cs after adding Swagger configuration
using Swashbuckle.AspNetCore.Swagger;
namespace MySampleWebApi
{
public class Startup
{
public Startup(IConfiguration configuration)
{
Configuration = configuration;
}
<a [href]="fileUrl" target="_blank" download="example.pdf">Download</a><br />
<object [data]="fileUrl" type="application/pdf" width="100%" height="400"></object>
getPDF() {
const url = environment.PDF_URL;
const options = { responseType: ResponseContentType.Blob };
return this.http.get(url, options)
.toPromise()
.then((response: Response) => {
const blob = response.blob();
return new Blob([blob], { type: 'application/pdf' });
});
}
@mikehibm
mikehibm / CustomersController.cs
Last active April 15, 2017 02:13
ASP.NET Core MySampleWeb
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using MySampleWeb.Models;
using MySampleWeb.Data;
using Microsoft.AspNetCore.Mvc;
namespace MySampleWeb.Controllers
{
[Route("api/customers")]
@mikehibm
mikehibm / Startup.cs
Last active April 14, 2017 23:46
ASP.NET Core MySampleWeb
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.EntityFrameworkCore;
using MySampleWeb.Data;
//
// ... Omitted ...
//
public void ConfigureServices(IServiceCollection services)