Skip to content

Instantly share code, notes, and snippets.

View ANNotunzdY's full-sized avatar
🚩
I may be slow to respond.

あんのたん® ANNotunzdY

🚩
I may be slow to respond.
View GitHub Profile
@ANNotunzdY
ANNotunzdY / Notice Regarding New Company Establishment
Last active July 16, 2019 17:08
Notice Regarding New Company Establishment and Transfer of Business
Notice Regarding New Company Establishment and Transfer of Business
As of today we have established a new company, "Distributed Social Network Organization LLC.", that will solely manage distributed social networking sites, in order to see the continued development mstdn.jp and mastodon.cloud in addition to improving transparency.
In addition to receiving comments and requests regarding the disclosure of server costs, and the clarification of the usage purposes of personal information, there had been calls to disclosure the accounting details of server costs among other items in other Mastodon instances.
However, as the current system makes disclosure difficult to achieve, after careful consideration, we came to our decision as by making accounting independent as a separate legal body as it will allow us to disclose server costs.
Furthermore, it will allow us to make it so the new company is not reliant on our companies other services and is independent in terms of use and privacy policy, too.
In future, we
@ANNotunzdY
ANNotunzdY / AzureMicrosoftTranslator.swift
Created February 21, 2019 02:53
"Microsoft Translator on Azure" sample code written with Swift
//
// AzureMicrosoftTranslator.swift
// feather
//
// Created by mironal on 2016/12/09.
// Copyright © 2016年 covelline. All rights reserved.
//
import Foundation
private func getToken(key: String, completion block: @escaping (Data?, URLResponse?, Error?) -> Void) {
import UIKit
extension UIStoryboard {
func instantiate<T: UIViewController>(for type: T.Type) -> T? {
let name = NSStringFromClass(type)
let vc = instantiateViewController(withIdentifier: name)
return vc as? T
}
}
cd /Users/Shared/Jenkins/Home/workspace/プロジェクト名/platforms/ios/build/device
rm -Rf Payload
rm -f アプリ名.ipa
security unlock-keychain -p パスワード /Users/Shared/Jenkins/Library/Keychains/login.keychain
cd /Users/Shared/Jenkins/Home/workspace/プロジェクト名
export PATH=$PATH:/usr/local/bin
export NODE_PATH=/usr/local/lib/node_modules
cordova build --device
cd /Users/Shared/Jenkins/Home/workspace/プロジェクト名/platforms/ios/build/device
# Additional translations at https://github.com/plataformatec/devise/wiki/I18n
ja:
devise:
confirmations:
confirmed: "アカウント認証が完了しました."
send_instructions: "確認メールを送信しました. メールのリンクをクリックして認証を完了してください."
send_paranoid_instructions: "あなたのメールアドレスが既に登録されている場合, 確認メールが届きます."
failure:
already_authenticated: "あなたは既にログインしています"
on run
tell application "BathyScaphe"
if class of front document is document then
set temptext to thread URL of front document
set temprecoad to thread attributes of front document
else
beep
end if
end tell
- (void)getAccessTokenWithAuthorizationCode:(NSString *)code consumerKey:(NSString *)consumerKey consumerSecret:(NSString *)consumerSecret
redirectURL:(NSURL *)aURL completionHandler:(void(^)(NSString *accessToken, NSString* refreshToken, NSError *error))aCompletionHandler