Skip to content

Instantly share code, notes, and snippets.

Manish Goregaokar Manishearth

Block or report user

Report or block Manishearth

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View arabic breakdown.txt
Base arabic (31):
Manishearth / devanagari.txt
Last active Apr 8, 2019
devanagari breakdown
View devanagari.txt
common stuff
Basic consonants(32):
Weirdo that only is used in ligatures, but necessary(1)
View eventtarget.diff
diff --git a/components/script/dom/ b/components/script/dom/
index e8c03fbd62..2868996876 100644
--- a/components/script/dom/
+++ b/components/script/dom/
@@ -21,7 +21,7 @@ pub static MAX_CHANNEL_COUNT: u32 = 32;
pub struct AudioNode {
- reflector_: Reflector,
+ eventtarget: EventTarget,
View diff.diff
diff --git a/src/ b/src/
index d3be5ff..e39c035 100644
--- a/src/
+++ b/src/
@@ -222,7 +222,7 @@ impl Sudoku {
// until we can't solve any more values with this method
let mut found = None;
- for (row_i, row) in self.tiles.iter_mut().enumerate() {
+ 'inner: for (row_i, row) in self.tiles.iter_mut().enumerate() {
View .gitconfig
tool = mymeld
conflictstyle = diff3
[mergetool "mymeld"]
# Shows three-pane merge view with central output directly being the merged file to save
#cmd = meld "$LOCAL" "$BASE" "$REMOTE"


Add the ability to create custom profiles in Cargo.toml, to provide further control over how the project is built. Allow overriding profile keys for certain dependency trees.


Currently the "stable" way to tweak build parameters like "debug symbols", "debug assertions", and "optimization level" is to edit Cargo.toml.

Manishearth / measurements.txt
Last active Dec 8, 2017
firefox frame construction and layout measurements
View measurements.txt
Pages were opened and refreshed a few times to let the cache settle down before measuring.
"fc" is time spent in the frame constructor NOT including any style resolution that the frame constructor did.
fc-style is the amount of time the frame constructor spent resolving styles; i.e. fc + fc-style is the total amount of time spent
in the frame constructor. fc is the number that indicates potential wins from speeding up the frame constructor
Measured with
fn stylo(intpart: &[u32], fracpart: &[u32]) -> f32 {
let mut integral = 0.0f64;
let mut fractional = 0.0f64;
let mut factor = 0.1;
for i in intpart {
integral = integral * 10. + *i as f64;
for i in fracpart {
fractional += *i as f64 * factor;
View reftest failures
incorrect vmin/vmax for overflow:scroll iframes [WONTFIX]
./layout/reftests/css-valuesandunits/reftest.list:fails-if(styloVsGecko||stylo) == unit-vh-vw-overflow-scroll.html unit-vh-vw-overflow-scroll-ref.html
./layout/reftests/css-valuesandunits/reftest.list:fails-if(styloVsGecko||stylo) == unit-vh-vw-overflow-scroll-x.html unit-vh-vw-overflow-scroll-x-ref.html
./layout/reftests/css-valuesandunits/reftest.list:fails-if(styloVsGecko||stylo) == unit-vh-vw-overflow-scroll-y.html unit-vh-vw-overflow-scroll-y-ref.html
./layout/reftests/css-valuesandunits/reftest.list:skip-if(Android) fails-if(stylo) != unit-vh-vw-overflow-auto.html unit-vh-vw-overflow-scroll.html
@page, page-break-inside [YES]
# need to fill in the PR number here
git fetch origin refs/pull/$1/merge
git diff FETCH_HEAD^..FETCH_HEAD^2 -- . ':!tests' >/tmp/p.patch
# cd to gecko dir
cd servo/
</tmp/p.patch patch -p1
./mach try -b do -p linux64-stylo -u crashtest,mochitests,reftest,reftest-1,reftest-2,reftest-3,reftest-4 -t none
You can’t perform that action at this time.