rough match? | character | character's ethnicity | actor | actor enthnicity | Birthplace |
---|---|---|---|---|---|
🛑 | Vega | Spannish | Jay Tavare | Native American | Navajo Nation |
🛑 | Sagat | Thai | Wes Studi | Cherokee | Oklahoma |
🛑 | E. Honda | Japanse | Peter "Navy" Tuiasosopo | Samoan | USA (California) |
🛑 | Ryu | Japanese | Byron Mann | Chinese | Honk Kong |
🛑 | Bison | Brazilian? Thai? British? | Raul Julia | Puerto Rico | Puerto Rico |
🛑 | Blanka | Brazilian | Robert Mammone | Australian? | Australia |
🛑 | Zangeif | Russian | Andrew Bryniarski | American | USA |
🛑 | Guile | American | Jean Claude Van Damme | Belgian | Belgium |
This file contains 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 "benchmark-memory" | |
require "benchmark" | |
require "benchmark/ips" | |
TEST_FILE = ARGV.first | |
# TODO this might not be ideal but is a good start (apostrophes aren't at the beginning of a word for example, hyphens can't be at the beginning or end, there may be more punctuation to consider) | |
WORD_SPLIT = /[\w'-]+/ | |
def lazy_grep |
This file contains 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
# End qualified immunity | |
# End cash bail | |
# Defund the police | |
# Invest in addiction treatment, education, and healthcare | |
# | |
# Donate: https://www.naacpldf.org/support/fiscal-responsibility/ | |
# | |
# git branch -m master main | |
# git push -u origin main | |
# Change the default branch (and updated the protected branch) |
This file contains 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
if current_user&.samesite_lax_enabled? | |
SecureHeaders.use_secure_headers_override(request, :samesite_lax) | |
end |
This file contains 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
class ApplicationController < ActionController::Base | |
def add_csp_exceptions | |
append_content_security_policy_directives(self.class::CSP_EXCEPTIONS) | |
end | |
end |
This file contains 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
creds = new PasswordCredential({id: username, password: "foo"}) | |
await navigator.credentials.store(creds) | |
// ... then | |
navigator.credentials.get({ | |
password: true, | |
mediation: "optional", | |
id: username, // no prompt or prompt with one user | |
}) |
This file contains 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
# This script assumes you have set up a "Print to ReMarkable" automator print plugin script | |
# Follow https://github.com/juruen/rmapi/blob/master/docs/tutorial-print-macosx.md | |
# crontab -e and add: | |
# */15 * * * * osascript /path to your script.scpt >> some log file | |
# «class menI» Print to ReMarkable of «class menE» PDF of «class menB» PDF of window Print of «class pcap» Calendar | |
# You will probably run into permission errors when editing the crontab and when the job actually runs | |
tell application "Calendar" |
This file contains 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
# Traits can be used as implicit factory attributes but if a value is set in a | |
# a factory, a trait cannot override that value. If you explicitely pass the trait, | |
# it overrides as expected. | |
require 'factory_bot' | |
FactoryBot.define do | |
factory :foobot do | |
foo { "parent" } | |
override |
We make heavy use of bounty platform features such as common responses, interstitials, and chatops so we can respond, filter, and manage reports. This is the actual workflow that is described at a high level on the GitHub Engineering blog
These commands won't change any state but they can be helpful when working with the other commands.
.bounty responses [common_response_id]
lists or shows common responses. Many of the commands accept acommon_response_id
that will be used to deliver consistent messaging to researchers..appsec-new
will show all reports that have not been triaged.
This file contains 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 'twitter' | |
client = Twitter::REST::Client.new do |config| | |
config.consumer_key = ENV["CONSUMER_KEY"] | |
config.consumer_secret = ENV["CONSUMER_SECRET"] | |
config.access_token = ENV["ACCESS_TOKEN"] | |
config.access_token_secret = ENV["ACCESS_TOKEN_SECRET"] | |
end | |
USER_ID = < your user id > |
NewerOlder