Skip to content

Instantly share code, notes, and snippets.

💭
For hire

Chris paxperscientiam

💭
For hire
Block or report user

Report or block paxperscientiam

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
@ciaranmahoney
ciaranmahoney / Google Sheets MX Lookup
Last active Feb 7, 2020
Google Apps Script to Run MX Lookups on domains from Google Sheets
View Google Sheets MX Lookup
function MXLookup(domain) {
try {
var url = "https://dns.google.com/resolve?name=%FQDN%&type=MX".replace("%FQDN%",domain);
//var url = "https://dns.google.com/resolve?name=e-mercy.com&type=MX"; // USED FOR TESTING ONLY
Utilities.sleep(100);
var result = UrlFetchApp.fetch(url,{muteHttpExceptions:true});
var rc = result.getResponseCode();
View commonssids.txt
ssid
xfinitywifi
linksys
<no ssid>
BTWiFi-with-FON
NETGEAR
Ziggo
dlink
BTWifi-X
default
View specific_property_order
# ----------------------------------------------
#
# Specific - CSS property order
#
# Making a description of the object specs,
# from the structural to the cosmetic.
#
# ----------------------------------------------
@hallettj
hallettj / Makefile
Last active Feb 14, 2020
Makefile for transpiling with Babel & Flow in a Node app, or in a client- or server-side shared library
View Makefile
# Makefile for transpiling with Babel in a Node app, or in a client- or
# server-side shared library.
.PHONY: all clean
# Install `babel-cli` in a project to get the transpiler.
babel := node_modules/.bin/babel
# Identify modules to be transpiled by recursively searching the `src/`
# directory.
@telamon
telamon / README.md
Last active Mar 15, 2019
Reclaim windows 10
View README.md

Windows 10 Home Revoke & Reclaim

UPDATE: This is a work in progress document, please disregard all spelling-errors and outdated info.

I'm a linux user, and by accident a tablet with window 10 home edition came into my possesion.

And I was not prepared for the shock that is windows 10, they have successfully reminted the term "Rightless Slave" into the term "User".

View Tuning Windows 10 for Slow Machines.md

Tuning Windows 10 for Slow Machines

Windows 10 on slow netbook

This guide is for those who dares to install Windows 10 on slow netbooks (1GB of RAM).
Though Windows update program is over, you still may use old Windows product keys from license stickers to install Windows 10 on old machines.

UPD Jan 2019
This article is quite old, some instructions may be obsolete.

@tmslnz
tmslnz / dnsmasq.md
Last active Apr 26, 2019
Setting up dnsmasq on OS X
View dnsmasq.md

Install dnsmasq

Via brew or other method

Set up DNS resolver order

In order to work on every connection and on any TLD, dnsmasq needs to be the first DNS resolver receving the query.

And since dnsmasq is a local process, all DNS queries need to go to 127.0.0.1

On macOS, /etc/resolv.conf is automaticaly created, depending on a variety of things (network settings, etc), so it cannot be edited.

@pwnsdx
pwnsdx / gist:d127873e24cef159d4d603accaf37ee4
Last active Feb 10, 2020 — forked from tonymtz/gist:714e73ccb79e21c4fc9c
Uninstall XQuartz.app from OSX Yosemite/El Capitan/Sierra
View gist:d127873e24cef159d4d603accaf37ee4
launchctl unload /Library/LaunchAgents/org.macosforge.xquartz.startx.plist && \
sudo launchctl unload /Library/LaunchDaemons/org.macosforge.xquartz.privileged_startx.plist && \
sudo rm -rf /opt/X11* /Library/Launch*/org.macosforge.xquartz.* /Applications/Utilities/XQuartz.app /etc/*paths.d/*XQuartz && \
sudo pkgutil --forget org.macosforge.xquartz.pkg && \
rm -rf ~/.serverauth* && rm -rf ~/.Xauthorit* && rm -rf ~/.cache && rm -rf ~/.rnd && \
rm -rf ~/Library/Caches/org.macosforge.xquartz.X11 && rm -rf ~/Library/Logs/X11
@astanush
astanush / gmail-filter-google-cal.md
Last active Oct 12, 2018
Gmail filter - Google Calendar notifications
View gmail-filter-google-cal.md

Google Calendar notifications

Create a Gmail filter that will find all Google Calendar-related emails. I use it to apply a label to the emails so I can go and bulk delete them later.

(("invitation" OR "updated invitation" OR "declined" OR "canceled event") AND (-collaborate OR -"invitation to edit")) AND (has:attachment)

Notes

You can’t perform that action at this time.