This file contains hidden or 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
| [applications_to_ignore] | |
| z | |
| atom | |
| aws | |
| wireshark | |
| photoshop | |
| illustrator | |
| lightroom | |
| messages |
This file contains hidden or 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
| inherit_from: .rubocop_todo.yml | |
| AllCops: | |
| TargetRubyVersion: 2.7 | |
| DisplayCopNames: true | |
| NewCops: enable | |
| Exclude: | |
| - 'db/seeds/*' | |
| - 'db/**/*' | |
| - 'vendor/**/*' |
This file contains hidden or 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 WPAPI from "wpapi"; | |
| import { WP_REST_API_Posts } from "wp-types"; | |
| const wp = new WPAPI({ endpoint: "https://your.wordpress.com/wp-json" }); | |
| async function main() { | |
| const posts: WP_REST_API_Posts = await wp.posts().get(); | |
| const contents = posts.map(p => p.content.rendered) |
This file contains hidden or 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
| export type firebasePublicKeys = { | |
| [key: string]: string | undefined; | |
| }; | |
| type JwtHeader = { | |
| alg?: string | undefined; | |
| kid?: string | undefined; | |
| typ?: string | undefined; | |
| }; |
This file contains hidden or 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
| # lib/helpers.js | |
| module.exports = { | |
| appName: () => { | |
| return process.env.APP_NAME; | |
| }, | |
| }; |
This file contains hidden or 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
| <script> | |
| export default { | |
| data() { | |
| return { | |
| timerId: "", | |
| hour: "", | |
| minutes: "", | |
| second: "", | |
| enteredTime: "", | |
| }; |
This file contains hidden or 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
| require 'pg' | |
| # macの方 userを自分の名前(whoamiで出た名前)に変更する | |
| client = PG::connect( | |
| :host => "localhost", | |
| :user => 'xxxxxxxxxx', | |
| :password => '', | |
| :dbname => "myapp") | |
| # Windowsの方 |
This file contains hidden or 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
| cask_args appdir: '/Applications' | |
| tap 'caskroom/cask' | |
| # tap 'homebrew/php' | |
| brew 'azure-cli' | |
| brew 'ctop' | |
| brew 'curl' | |
| brew 'ghq' | |
| brew 'gist' | |
| brew 'git' |
This file contains hidden or 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
| <keymap version="1" name="custom" parent="Mac OS X 10.5+"> | |
| <action id="$Redo"> | |
| <keyboard-shortcut first-keystroke="shift meta z" /> | |
| </action> | |
| <action id="ActivateDatabaseToolWindow"> | |
| <keyboard-shortcut first-keystroke="ctrl g" second-keystroke="ctrl d" /> | |
| <keyboard-shortcut first-keystroke="meta 0" /> | |
| </action> | |
| <action id="ActivateRoutesToolWindow"> | |
| <keyboard-shortcut first-keystroke="ctrl g" second-keystroke="r" /> |
This file contains hidden or 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
| #!/usr/bin/env /Users/yutaka/.rbenv/shims/ruby | |
| ENV['PATH'] += ':/usr/local/bin' | |
| require 'capybara/poltergeist' | |
| require 'date' | |
| require 'open3' | |
| require 'dotenv' | |
| Dotenv.load File.expand_path('../.env', __FILE__) | |
| puts ':tennis:' |
NewerOlder