Skip to content

Instantly share code, notes, and snippets.

View indidatajones's full-sized avatar
🕵️‍♂️
why'd it have to be pythons?

Henry Walton indidatajones

🕵️‍♂️
why'd it have to be pythons?
  • NYC
View GitHub Profile
@wjnbreu
wjnbreu / en-corporate-ipsum.txt
Last active May 18, 2020 16:11
hipstecorpolat ipsum: a few sets of saved text for use as mockup/prototyping placeholders
Professionally revolutionize extensive benefits with orthogonal innovation. Rapidiously communicate client-based best practices for diverse innovation.
Rapidiously provide access to front-end experiences before quality data. Professionally administrate end-to-end web-readiness after long-term high-impact methodologies. Energistically monetize diverse strategic theme areas rather than goal-oriented web-readiness.
Assertively evisculate transparent schemas whereas resource maximizing e-tailers. Intrinsically underwhelm tactical systems before timely convergence. Distinctively incubate superior platforms for resource maximizing initiatives.
Synergistically evisculate viral materials for sticky human capital. Distinctively e-enable interoperable collaboration and idea-sharing after distributed channels. Credibly monetize B2C convergence and robust markets.
Globally repurpose cross-media vortals through real-time web services. Completely grow resource maximizing information after synergistic testing pr
@CodeMouse92
CodeMouse92 / beginners-tag.md
Last active March 6, 2024 06:03
DEV.to Moderation Comments and Messages

MOVED TO https://github.com/CodeMouse92/DEVModInACan

#BEGINNERS TAG REMOVALS

Non-Beginner Article

All articles on #beginners should be written for those new to programming, development, networking, or to a particular language. These posts should also require little to no prerequisite knowledge. If you wish, you may rewrite your post to meet these requirements, at which point you may request that the tag be added back. Otherwise, just use the appropriate technology tags. (Read more about the tag rules here.)

Non-Beginner Question

@thedaviddias
thedaviddias / sample.js
Created February 19, 2019 18:45 — forked from tushuhei/sample.js
Getting Website Title with Headless Chrome
const CDP = require('chrome-remote-interface');
const chromeLauncher = require('lighthouse/chrome-launcher/chrome-launcher');
function onPageLoad(Runtime) {
const js = "document.querySelector('title').textContent";
return Runtime.evaluate({expression: js}).then(result => {
console.log('Title of page: ' + result.result.value);
});
}
'use strict';
const puppeteer = require('puppeteer');
(async () => {
/* PRECONDITION:
0. download ublock, I used https://github.com/gorhill/uBlock/releases/download/1.14.19b5/uBlock0.chromium.zip
1. run $PATH_TO_CHROME --user-data-dir=/some/empty/directory --load-extension=/location/of/ublock
2. enable block lists you want to use
*/
@benhalpern
benhalpern / dev-icon.svg
Created October 12, 2018 23:04
DEV Icon SVG (798 bytes)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@thedaviddias
thedaviddias / README-Template.md
Created November 18, 2017 02:50 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@sindresorhus
sindresorhus / Rakefile
Created July 2, 2017 00:18 — forked from soffes/Rakefile
Programmatically build and sign a Developer ID macOS app
APP_NAME = 'My App'
TEAM_ID = 'XXXXXXXXXX'
desc 'Create a beta build'
task :build do
# Start with a clean state
build_dir = 'build'
system %(rm -rf #{build_dir})
# Build
@sindresorhus
sindresorhus / names.txt
Created February 19, 2014 13:21
1000 awesome random project/release names for your pleasure
chats-conditionate
isomerizing-louma
tipcat-preorder
incipient-mumpishly
xylorimbas-drosophilas
disloyalties-modulates
scoreboards-preselections
tiptop-stummel
also-subovate
stimy-cathodically
@thedaviddias
thedaviddias / placeholder.css
Created December 3, 2012 13:38 — forked from kaelig/placeholder.css
Applies placeholder attribute behavior in web browsers that don't support it
input {
color: #444;
background: white;
}
input.placeholder {
color: #aaa;
}
@thedaviddias
thedaviddias / application.js
Created December 3, 2012 13:38 — forked from kaelig/application.js
JQUERY: Open external links and PDFs in a new window or tab
$(document).ready(function() {
// Open external links in a new window or tab
$(document).on('click', 'a[rel$="external"]', function() {
$(this).attr('target', "_blank");
});
$(document).on('click', 'a[href$=".pdf"]', function() {
$(this).attr('target', "_blank");
});
// Open all urls that don't belong to our domain in a new window or tab
$(document).on('click', "a[href^='http:']:not([href*='" + window.location.host + "'])", function() {