Skip to content

Instantly share code, notes, and snippets.

View valenting's full-sized avatar

Valentin Gosu valenting

View GitHub Profile

Sublime Text 2 – Useful Shortcuts (PC)

Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.

Editing

Ctrl+C copy current line (if no selection)
Ctrl+X cut current line (if no selection)
Ctrl+⇧+K delete line
Ctrl+↩ insert line after

Keybase proof

I hereby claim:

  • I am valenting on github.
  • I am valentin_gosu (https://keybase.io/valentin_gosu) on keybase.
  • I have a public key whose fingerprint is B8D1 5987 E5F3 BD37 1922 85B2 1324 BC3F ABF3 8B5B

To claim this, I am signing this object:

# HG changeset patch
# User Valentin Gosu <valentin.gosu@gmail.com>
# Parent f97f55fc53b5d63e90ad875f3a75028ef4dc70bb
diff --git a/netwerk/cache2/CacheEntry.cpp b/netwerk/cache2/CacheEntry.cpp
--- a/netwerk/cache2/CacheEntry.cpp
+++ b/netwerk/cache2/CacheEntry.cpp
@@ -1086,16 +1086,22 @@ NS_IMETHODIMP CacheEntry::GetIsForcedVal
}
@valenting
valenting / log.txt
Last active September 26, 2016 15:46
2016-09-26 15:46:09.014847 UTC - [Main Thread]: D/nsHttp Creating nsHttpHandler [this=7f64a3b87000].
2016-09-26 15:46:09.014883 UTC - [Main Thread]: D/nsHttp nsHttpHandler::Init
2016-09-26 15:46:09.014998 UTC - [Main Thread]: D/nsHttp nsHttpHandler::PrefsChanged [pref=(null)]
2016-09-26 15:46:09.015008 UTC - [Main Thread]: D/nsHttp nsHttpHandler::PrefsChanged Security Pref Changed (null)
2016-09-26 15:46:09.015514 UTC - [Main Thread]: D/nsHttp nsHttpHandler::MakeNewRequestTokenBucket this=7f64a3b87000 child=0
2016-09-26 15:46:09.015594 UTC - [Main Thread]: D/nsHttp nsHttpAuthCache::Init
2016-09-26 15:46:09.015599 UTC - [Main Thread]: D/nsHttp nsHttpAuthCache::Init
2016-09-26 15:46:09.015611 UTC - [Main Thread]: V/nsHttp Creating nsHttpConnectionMgr @7f64ae47e1e0
2016-09-26 15:46:09.015615 UTC - [Main Thread]: V/nsHttp nsHttpConnectionMgr::Init
2016-09-26 15:46:09.015625 UTC - [Main Thread]: D/nsHttp > legacy-app-name = Mozilla
@valenting
valenting / log2.txt
Last active September 26, 2016 16:14
2016-09-26 16:13:54.281717 UTC - [Main Thread]: D/cache2 CacheFileIOManager::Init()
2016-09-26 16:13:54.281743 UTC - [Main Thread]: D/cache2 CacheFileHandles::CacheFileHandles() [this=7f083f581600]
2016-09-26 16:13:54.281748 UTC - [Main Thread]: D/cache2 CacheFileIOManager::CacheFileIOManager [this=7f083f5815c0]
2016-09-26 16:13:54.281861 UTC - [Main Thread]: D/cache2 CacheFileIOManager::OnProfile() [gInstance=7f083f5815c0]
2016-09-26 16:13:54.282151 UTC - [Main Thread]: D/cache2 CacheIndex::Init()
2016-09-26 16:13:54.282162 UTC - [Main Thread]: D/cache2 CacheIndex::CacheIndex [this=7f08402d1240]
2016-09-26 16:13:54.282166 UTC - [Main Thread]: D/cache2 CacheIndex::ReadIndexFromDisk()
2016-09-26 16:13:54.282169 UTC - [Main Thread]: D/cache2 CacheIndex::ChangeState() changing state INITIAL -> READING
2016-09-26 16:13:54.282172 UTC - [Main Thread]: D/cache2 CacheFileIOManager::CacheIndexStateChanged()
2016-09-26 16:13:54.282217 UTC - [Main Thread]: D/cache2 CacheFileIOManager::OpenFile() [key=index, flags=8, lis
2016-09-26 16:14:21.194910 UTC - [Main Thread]: D/cache2 CacheFileIOManager::Init()
2016-09-26 16:14:21.194956 UTC - [Main Thread]: D/cache2 CacheFileHandles::CacheFileHandles() [this=7f00adf91600]
2016-09-26 16:14:21.194963 UTC - [Main Thread]: D/cache2 CacheFileIOManager::CacheFileIOManager [this=7f00adf915c0]
2016-09-26 16:14:21.195007 UTC - [Main Thread]: D/cache2 CacheFileIOManager::OnProfile() [gInstance=7f00adf915c0]
2016-09-26 16:14:21.195263 UTC - [Main Thread]: D/cache2 CacheIndex::Init()
2016-09-26 16:14:21.195274 UTC - [Main Thread]: D/cache2 CacheIndex::CacheIndex [this=7f00aecd1240]
2016-09-26 16:14:21.195279 UTC - [Main Thread]: D/cache2 CacheIndex::ReadIndexFromDisk()
2016-09-26 16:14:21.195283 UTC - [Main Thread]: D/cache2 CacheIndex::ChangeState() changing state INITIAL -> READING
2016-09-26 16:14:21.195290 UTC - [Main Thread]: D/cache2 CacheFileIOManager::CacheIndexStateChanged()
2016-09-26 16:14:21.195316 UTC - [Main Thread]: D/cache2 CacheFileIOManager::OpenFile() [key=index, flags=8, lis
# HG changeset patch
# User Valentin Gosu <valentin.gosu@gmail.com>
# Parent c164e656647a6765e18afd4cbf2ce0e9dc3bdb11
diff --git a/browser/base/content/test/general/browser_misused_characters_in_strings.js b/browser/base/content/test/general/browser_misused_characters_in_strings.js
--- a/browser/base/content/test/general/browser_misused_characters_in_strings.js
+++ b/browser/base/content/test/general/browser_misused_characters_in_strings.js
@@ -103,16 +103,20 @@ let gWhitelist = [{
}, {
file: "pocket.properties",
# HG changeset patch
# User Valentin Gosu <valentin.gosu@gmail.com>
# Parent 2b19020080b809e6fbe2db968115cd5e051a0b0e
[mq]: over_oxid.patch
MozReview-Commit-ID: 9a0BfMFkRc5
* * *
[mq]: oxidation2
MozReview-Commit-ID: 9hUyJLbcBYu
# HG changeset patch
# User Valentin Gosu <valentin.gosu@gmail.com>
# Parent 5d98f64b411f8d7708143764bfdb63239d32e921
Bug 1313095 - Set different limits for cache queue size telemetry for priority and non-priority requests r=michal
MozReview-Commit-ID: 3BzAa1NOAKc
diff --git a/netwerk/protocol/http/nsHttpChannel.cpp b/netwerk/protocol/http/nsHttpChannel.cpp
--- a/netwerk/protocol/http/nsHttpChannel.cpp
+++ b/netwerk/protocol/http/nsHttpChannel.cpp
@@ -8250,36 +8250,34 @@ nsHttpChannel::ReportNetVSCacheTelemetry
# HG changeset patch
# User Valentin Gosu <valentin.gosu@gmail.com>
# Parent 3119a9a0b5dee60ac77b7596ae5dbe0658f598ad
[mq]: bug1320458-log-file-sandboxing.patch
MozReview-Commit-ID: 5ypsTycC0Qi
diff --git a/dom/ipc/ContentParent.cpp b/dom/ipc/ContentParent.cpp
--- a/dom/ipc/ContentParent.cpp
+++ b/dom/ipc/ContentParent.cpp