Skip to content

Instantly share code, notes, and snippets.

Avatar

Moritz Kneilmann MoritzKn

View GitHub Profile
@ebidel
ebidel / coverage.js
Last active Feb 2, 2022
CSS/JS code coverage during lifecycle of page load
View coverage.js
Moved to https://github.com/ebidel/puppeteer-examples
@rauchg
rauchg / README.md
Last active Jan 30, 2022
require-from-twitter
View README.md
@awatson1978
awatson1978 / gist:a0df5fef953b9da01ce1
Last active May 19, 2017
Publish an Atom Package
View gist:a0df5fef953b9da01ce1
command-shift-P > Package > Package Generator: Generate Syntax Theme > mypackage
cd ~/.atom/packages/mypackage
apm login
apm develop mypackage
cd ~/github/mypackage
sudo chown -R username:wheel .
git commit -a -m 'checking everything in'
apm publish --tag v2.5.0 minor
@LeCoupa
LeCoupa / bash-cheatsheet.sh
Last active May 25, 2022
Bash CheatSheet for UNIX Systems --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
View bash-cheatsheet.sh
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04
@atenni
atenni / README.md
Last active May 21, 2022
How to permalink to a gist's raw file
View README.md

Problem: When linking to the raw version of a gist, the link changes with each revision.

Solution:

To return the first file from a gist: https://gist.github.com/[gist_user]/[gist_id]/raw/

To get a file from multi–file gist: https://gist.github.com/[gist_user]/[gist_id]/raw/[file_name]