defaults write NSGlobalDomain WebKitDeveloperExtras -bool true
defaults write -g WebKitDeveloperExtras -bool YES
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title>Stimulus</title> | |
| <script type="module"> | |
| import { | |
| Application, |
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
| # frozen_string_literal: true | |
| # rubocop:disable Layout/LineLength | |
| require 'net/https' | |
| require 'ruby-cheerio' | |
| require 'json' | |
| require 'cgi' | |
| require 'open-uri' | |
| # Pick your target here |
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
| # gem "rubocop-rails" | |
| # gem "rubocop-rails_config" | |
| # gem "rubocop-performance" | |
| require: | |
| - rubocop-rails | |
| - rubocop-performance | |
| inherit_gem: | |
| rubocop-rails_config: |
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
| curl -sL https://deb.nodesource.com/setup_12.x | bash - | |
| curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - | |
| echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list | |
| apt update | |
| apt install -y nodejs yarn | |
| bundle | |
| rails server -b 0.0.0.0 |
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
| node_modules |
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
| # frozen_string_literal: true | |
| require 'mastodon' | |
| require 'nokogiri' | |
| # account_id is the ID of the account you want to retrieve statuses from, it can be found at https://base_url/web/accounts/XXX | |
| Client = Struct.new(:base_url, :access_token, :account_id, :config, :statuses) do | |
| def auth | |
| return Mastodon::REST::Client.new(base_url: base_url, bearer_token: access_token) | |
| end |
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
| --skip-action-mailer | |
| --skip-action-mailbox | |
| --skip-jbuilder | |
| --skip-system-test | |
| --database=sqlite3 | |
| --css=bootstrap | |
| # --skip-activerecord | |
| # --skip-active-storage |
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
| /* ==UserStyle== | |
| @name Github light theme | |
| @description A lighter Github | |
| @exclude https://github.com/home | |
| @match https://github.com/* | |
| @match https://gist.github.com/* | |
| ==/UserStyle== */ | |
| .Header-link, .input-sm { | |
| color: black |