Skip to content

Instantly share code, notes, and snippets.

View taurit's full-sized avatar

Paweł Bulwan taurit

  • This is a private profile, not affiliated with any company
  • Warsaw, Poland
View GitHub Profile
@haasn
haasn / about:config.md
Last active April 2, 2024 18:46
Firefox bullshit removal via about:config

Firefox bullshit removal

Updated: Just use qutebrowser (and disable javascript). The web is done for.

@DanDiplo
DanDiplo / JS-LINQ.js
Last active May 20, 2024 10:30
JavaScript equivalents of some common C# LINQ methods. To help me remember!
// JS array equivalents to C# LINQ methods - by Dan B.
// First: This version using older JavaScript notation for universal browser support (scroll down for ES6 version):
// Here's a simple array of "person" objects
var people = [
{ name: "John", age: 20 },
{ name: "Mary", age: 35 },
{ name: "Arthur", age: 78 },
{ name: "Mike", age: 27 },
# This is a powershell commandlet equivalent of build_ui.sh for installation on Windows
# Generate python files based on the designer ui files. pyrcc4 should be on the path.
# If you need to modify the python location or pyuic path, just change the 2 variables below
$pythonPath = "C:\Python27\"
$pyuicPath = "C:\Python27\Lib\site-packages\PyQt4\uic\pyuic.py"
If (!(Test-Path "designer")) {
Write-Host "Please run this from the project root"
Exit