- Fork https://github.com/github/dmca
- Download latest youtube-dl source code from https://yt-dl.org/latest
- Extract
tar -xvf youtube-dl-2020.09.20.tar.gz
- Push code to your fork as the GitHub CEO
# Use a recursive CTE to turn the join table into a (partial) closure table, | |
# then join all of the child records for the provided parent(s) | |
query = """ | |
WITH RECURSIVE traversal(depth, parent_id, child_id) AS ( | |
SELECT | |
1 depth, | |
parent_id, | |
child_id | |
FROM rules_rules | |
WHERE parent_id = ANY($1) |
// ==UserScript== | |
// @name Absolute Enable Right Click & Copy | |
// @namespace Absolute Right Click | |
// @description Force Enable Right Click & Copy & Highlight | |
// @shortcutKeys [Ctrl + `] Activate Absolute Right Click Mode To Force Remove Any Type Of Protection | |
// @author Absolute | |
// @version 1.8.9 | |
// @include *://* | |
// @icon https://i.imgur.com/AC7SyUr.png | |
// @compatible Chrome Google Chrome + Tampermonkey |
#!/usr/bin/env ruby | |
require(Dir.pwd + "/config/environment") | |
ActiveRecord::Base.configurations.configs_for(env_name: ActiveRecord::Tasks::DatabaseTasks.env).each do |db_config| | |
ActiveRecord::Base.establish_connection(db_config.config) | |
context = ActiveRecord::Base.connection.migration_context | |
missing_migrations = [] |
time = Time.monotonic | |
gcfile = File.new("chry_multiplied.fa") | |
at = 0 | |
gc = 0 | |
while true | |
# Peek the IO's buffer | |
peek = gcfile.peek |
# in src/app_server.cr | |
def middleware : Array(HTTP::Handler) | |
[ | |
Lucky::ForceSSLHandler.new, | |
Lucky::HttpMethodOverrideHandler.new, | |
Lucky::LogHandler.new, | |
Lucky::ErrorHandler.new(action: Errors::Show), | |
CORSHandler.new, | |
Lucky::RemoteIpHandler.new, | |
Cable::Handler.new(ApplicationCable::Connection), |
# Add color coding based on Rails environment for safety | |
if defined? Rails | |
banner = if Rails.env.production? | |
"\e[41;97;1m #{Rails.env} \e[0m " | |
else | |
"\e[42;97;1m #{Rails.env} \e[0m " | |
end | |
# Build a custom prompt |
+public/_entrypoint.html | |
+public/*.js | |
+public/*.css | |
+public/*.map |
#!/usr/bin/perl | |
use warnings; | |
use strict; | |
use Fatal qw(open); | |
our $VERSION = '1.0.0'; | |
my $stack_name = shift; | |
sub _process_stack_entry { | |
my ($task_id, $task_image) = @_; | |
open my $container_fn, q{-|}, |
tar -xvf youtube-dl-2020.09.20.tar.gz
I recently stumbled upon Falsehoods programmers believe about time zones, which got a good laugh out of me. It reminded me of other great lists of falsehoods, such as about names or time, and made me look for an equivalent for Ethereum. Having found none, here is my humble contribution to this set.
estimateGas
will return the gas required by my transactionCalling estimateGas
will return the gas that your transaction would require if it were mined now. The current state of the chain may be very different to the state in which your tx will get mined. So when your tx i