Table of Contents:
import { encode } from '@ethereumjs/rlp'; | |
import { ecrecover } from '@ethereumjs/util'; | |
import { keccak256 } from 'ethereum-cryptography/keccak'; | |
// tx: 0xb00b758da7b97dbeedd1ef62592b2c1427c70ca042dc51a63f3a39d8d31ebbcc | |
const chainId = 0x1n; | |
const nonce = 0x3n; | |
const maxPriorityFeePerGas = 0xf4240n; | |
const maxFeePerGas = 0x73323c225n; | |
const gasLimit = 0xdd9cn; |
package main | |
import ( | |
"fmt" | |
"log" | |
"os" | |
"sync" | |
"time" | |
) |
module.exports = { | |
webpack: function (cfg) { | |
cfg.plugins = cfg.plugins.filter(plugin => { | |
return plugin.constructor.name !== 'UglifyJsPlugin'; | |
}); | |
return plugin | |
} | |
} |
<?xml version="1.1" encoding="UTF-8"?> | |
<!DOCTYPE keyboard SYSTEM "file://localhost/System/Library/DTDs/KeyboardLayout.dtd"> | |
<!-- | |
Data generated Wed Mar 23 01:35:41 2022 | |
Generated by kluchrtoxml_64 build 203 | |
--> | |
<!--Last edited by Ukelele version 351 on 2022-03-23 at 01:45 (GMT+8)--> |
// XPath CheatSheet | |
// To test XPath in your Chrome Debugger: $x('/html/body') | |
// http://www.jittuu.com/2012/2/14/Testing-XPath-In-Chrome/ | |
// 0. XPath Examples. | |
// More: http://xpath.alephzarro.com/content/cheatsheet.html | |
'//hr[@class="edge" and position()=1]' // every first hr of 'edge' class |
/* ******************************************************************************************* | |
* THE UPDATED VERSION IS AVAILABLE AT | |
* https://github.com/LeCoupa/awesome-cheatsheets | |
* ******************************************************************************************* */ | |
// 0. Synopsis. | |
// http://nodejs.org/api/synopsis.html | |
from django.conf import settings | |
from django.conf.urls.defaults import patterns, include, url | |
from django.contrib import admin | |
# Tells the admin to discover any 'admin.py' files in your apps. Not necessary in Django 1.7+ | |
admin.autodiscover() | |
urlpatterns = patterns('', | |
url(r'^{}/admin/'.format(settings.ADMIN_URL_PATH), include(admin.site.urls)), | |
... |
Whether you're trying to give back to the open source community or collaborating on your own projects, knowing how to properly fork and generate pull requests is essential. Unfortunately, it's quite easy to make mistakes or not know what you should do when you're initially learning the process. I know that I certainly had considerable initial trouble with it, and I found a lot of the information on GitHub and around the internet to be rather piecemeal and incomplete - part of the process described here, another there, common hangups in a different place, and so on.
In an attempt to coallate this information for myself and others, this short tutorial is what I've found to be fairly standard procedure for creating a fork, doing your work, issuing a pull request, and merging that pull request back into the original project.
Just head over to the GitHub page and click the "Fork" button. It's just that simple. Once you've done that, you can use your favorite git client to clone your repo or j