This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A simple bookmarklet to uncheck all the checkboxes in the current Microsoft Loop document. | |
Minified using http://chriszarate.github.io/bookmarkleter/. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A simple bookmarklet to uncheck all the checkboxes (including nested checkboxes) in the current Notion document. | |
Minified using http://chriszarate.github.io/bookmarkleter/. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A basic bookmarklet to make JSON readable. | |
Minified using http://chriszarate.github.io/bookmarkleter/. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'bundler' | |
Bundler.configure | |
require 'bundler/inline' | |
gemfile do | |
source 'http://rubygems.org' | |
gem 'activesupport', require: 'active_support/all' | |
gem 'aws-sdk-s3' | |
gem 'parallel' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show outdated comments and large diffs on GitHub Pull Requests. | |
Minified using http://chriszarate.github.io/bookmarkleter/. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use strict; | |
use warnings FATAL => 'all'; | |
{ | |
package pushd; | |
use Cwd qw(getcwd chdir); | |
sub new { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
keys = [ | |
%w[a 1 x], | |
%w[a 1 y], | |
%w[a 2 x], | |
%w[a 3 x], | |
%w[a 3 y], | |
%w[b 3 y], | |
%w[b 4 z], | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Disables hyphenation and full text justification. | |
Minified using http://chriszarate.github.io/bookmarkleter/. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
# Shellshock (CVE-2014-6271 and CVE-2014-7169) patch for OS X 10.9 Mavericks | |
# Based on http://apple.stackexchange.com/a/146851 | |
cd /tmp | |
mkdir bash-fix | |
cd bash-fix | |
curl https://opensource.apple.com/tarballs/bash/bash-92.tar.gz | tar zxf - | |
cd bash-92/bash-3.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT CONCAT(col.table_name, '.', col.column_name) | |
FROM information_schema.columns col | |
INNER JOIN pg_catalog.pg_tables tbl ON tbl.schemaname = col.table_schema AND tbl.tablename = col.table_name | |
LEFT JOIN information_schema.columns col_type ON ( | |
col.table_schema = col_type.table_schema AND | |
col.table_name = col_type.table_name AND | |
regexp_replace(col.column_name, '_id$', '_type') = col_type.column_name | |
) | |
LEFT JOIN ( | |
( |
NewerOlder