Skip to content

Instantly share code, notes, and snippets.

" Make IE Better Compatible "
<!--[if IE]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
======================================================
IE6 Only
==================
_selector {...}
@pip182
pip182 / Windows 10 Tweaks.README.md
Last active April 17, 2023 05:02
Windows 10 Tweaks

Lighten and Secure Windows 10

Windows 10 is great but comes with a lot of useless things and can get really bogged down with the telemetry thing. These tips and scripts will help lighten it up a bit.

There are a couple of scripts that can be run to turn off some things, but in order to run them you need to open PowerShell as Administrator and type/paste this code: set-executionpolicy remotesigned

^^^ You actually shouldn't need to do this anymore, you can just run the reclaimWindows10.ps1 script from file explorer. This script is from https://github.com/Disassembler0/Win10-Initial-Setup-Script and is awesome, the only difference between that one and reclaimWindows10.ps1 are the defaults enabled.

Manual tweaks

@seeliang
seeliang / lint-only-changed-files.MD
Last active December 2, 2024 05:08
How to lint only changed files?

find out the differences

use git diff to generate file list

git diff --name-only master

limited to certain file types

add ext filter

@ProGM
ProGM / arel_cheatsheet_on_steroids.md
Last active April 19, 2025 11:22
Arel cheatsheet on Steroids

Arel Cheatsheet on Steroids

A (more) complete cheatsheet for Arel, including NamedFunction functions, raw SQL and window functions.

Tables

posts = Arel::Table.new(:posts)
posts = Post.arel_table # ActiveRecord

Table alias