
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
connpass_to_calendar
Advanced tools
ConnpassToCalendarはconnpass API で取得したイベントをGoogleカレンダーに登録することができるCLIアプリケーションです。
gemでインストール:
$ gem install connpass_to_calendar
このアプリを使うにはGoogleCalendarのAPI登録が必要です。 Gmailアカウント(Googleアカウント)は取得済みの前提とします。 1.GoogleAPIsのコンソールからプロジェクトを作成します。
2.左のライブラリタブでGoogle Calendar APIを検索し、有効にします。
3.認証情報タブのOAuth同意画面でOAuth認証情報の登録をします。
4.認証情報タブの認証情報で「認証情報の作成」、「OAuthクライアントIDの作成」、「その他」と進みクライアントIDを作成します。
5.作成したクライアントIDのjsonファイルをダウンロードします。
config
コマンドを使用して以下を設定します。
$ connpass_to_calendar config application_name <作成したプロジェクト名>
$ connpass_to_calendar config credentials_path <ダウンロードしたjsonファイルのフルパス> # Example => /Users/user/.connpass_to_calendar/oauth/client_secrets.json
$ connpass_to_calendar config token_path <tokenファイルのフルパス> # Example => /Users/user/.connpass_to_calendar/oauth/tokens.yaml
$ connpass_to_calendar config user_id <APIを登録したGmailアカウント>
設定した内容はconfig --list
で確認できます。
put
コマンドを使用してカレンダーにイベントを登録します。
$ connpass_to_calendar put
connpass APIのパラメータを使用する場合は以下のようにオプションをつけます。
オプションはリファレンスに乗っているformat
以外使用可能です。
$ connpass_to_calendar put --keyword "ruby"
初回のみ以下のメッセージがでます。 メッセージに従いURLへアクセスしカレンダーへのアクセスを許可し、表示されたコードを貼り付けてください。
Open https://accounts.google.com/o/oauth2/auth?<params> in your browser and enter the resulting code:
Bug reports and pull requests are welcome on GitHub at https://github.com/tech_rui/connpass_to_calendar.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that connpass_to_calendar demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.