Coder Social home page Coder Social logo

dotfiles's Introduction

Metrics

dotfiles's People

Contributors

bonyuta0204 avatar fs-yuta-nakamura avatar

Stargazers

 avatar

Watchers

 avatar  avatar

dotfiles's Issues

1024Mac環境構築メモ

残課題

  • caskで入れるものは入れるようにする
    • Google日本語入力
    • Visual Studio Code
    • Alfread
    • iTerm
  • vscodeの設定ファイルへのシンボリックリンクを作成する際にディレクトリが存在しなくてエラーになる
  • ログインシェルをzshからbashに変える
  • homebrewをインストールする
  • iTerm2の設定もdotfilesで管理するようにする
  • fisherのインストールがされていない
  • tmuxで使えるアイコンがインストールされていない
  • Masonが落ちる

tmp

--- 20200812_BDash-Mobile-SDK_v2.4.1_iOS/本番/Swift4.0/BDashWebReception.swift	2020-08-12 18:32:13.000000000 +0900
+++ 20200911_BDash-Mobile-SDK_v2.4.1_iOS/本番/Swift5.0/BDashWebReception.swift	2020-09-10 16:15:04.000000000 +0900
@@ -1,6 +1,9 @@
 import Foundation
 import UIKit
 import WebKit
+//import SwifterSwift
+
+let waitSwitchKey = "waitSwitchKey"
 
 // swiftlint:disable trailing_whitespace
 // swiftlint:disable vertical_whitespace
@@ -15,9 +18,8 @@
 // swiftlint:disable void_return
 // swiftlint:disable weak_delegate
 
-let waitSwitchKey = "waitSwitchKey"
-
 //MARK: - struct
+
 struct ConstStruct {
     static let isDebug: Bool = false
     
@@ -56,7 +58,8 @@
     static let horizontalMargin: String = "horizontalMargin" // 横のマージン
     static let width: String = "width" // 横幅
     static let height: String = "height" // 縦幅
-    static let forceShow: String = "forceShow" 
+    
+    static let forceShow: String = "forceShow"
 }
 
 /// レイアウト指定 key
@@ -352,7 +355,6 @@
 // swiftlint:disable type_body_length
 // swiftlint:disable closure_parameter_position
 // swiftlint:disable unused_closure_parameter
-// swiftlint:disable legacy_constructor
 // swiftlint:disable opening_brace
 
 @objcMembers
@@ -411,14 +413,14 @@
         // BDashWebReception生成時画面回転確認用Notificationを設定する
         NotificationCenter.default.addObserver(self,
                                                selector:#selector(didChangeOrientation(_:)),
-                                               name: .UIDeviceOrientationDidChange,
+                                               name: UIDevice.orientationDidChangeNotification,
                                                object: nil)
     }
     
     deinit {
         BDashWebReception.wrLog("BDashWebReception deinit")
         // 解放時登録していたNotification情報を削除
-        NotificationCenter.default.removeObserver(self, name: NSNotification.Name.UIDeviceOrientationDidChange, object: nil)
+        NotificationCenter.default.removeObserver(self, name: UIDevice.orientationDidChangeNotification, object: nil)
     }
     
     /// 関数仕様書 (F)Web接客/showMessage
@@ -1020,12 +1022,12 @@
     /// - Parameter url: url
     /// - Returns: scheme以降の文字(internal://aiueo、というものであれば最初のコロンから三文字分先にインデックスを進め、そこから最後までを返します)
     fileprivate func getUrlParameter(url: String) -> String? {
-        if let index: String.Index = url.firstIndex(of: ":") {
+        if let index = url.firstIndex(of: ":") {
             let addedIndex = url.index(index, offsetBy: 3)
             /// Swift5.0 より前の場合
-            return url.substring(addedIndex.encodedOffset...)
+//            return url.substring(addedIndex.encodedOffset...)
             /// Swift5.0 以降の場合
-//            return url.substring(addedIndex.utf16Offset(in: url)...)
+            return url.substring(addedIndex.utf16Offset(in: url)...)
         }
         return nil
     }

設定の修正

修正したいこと

  • bash_profileの掃除
    • 要らない処理消す
    • 構造を再整理する
  • homebrewのインストール
  • PATHに追加しないといけなくなった?ようなので最新版に追従する

VIMの設定の見直し

課題

  • 現状の設定がどの環境で動くのか (neovim, vim, mac, linux) よくわからない
  • 自分のvimのカスタマイズ状況が把握できておらず、不要な設定が溢れている一方、必要なカスタマイズが行えていない

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.