Skip to content

Instantly share code, notes, and snippets.

View g3rd's full-sized avatar

Chad Shryock g3rd

  • Washington, DC
View GitHub Profile
@pgilad
pgilad / Instructions.md
Last active March 27, 2024 12:59
Generate SSL Certificate for use with Webpack Dev Server (OSX)

Generate private key

$ openssl genrsa -out private.key 4096

Generate a Certificate Signing Request

openssl req -new -sha256 \
@alekseykulikov
alekseykulikov / index.md
Last active April 14, 2024 00:32
Principles we use to write CSS for modern browsers

Recently CSS has got a lot of negativity. But I would like to defend it and show, that with good naming convention CSS works pretty well.

My 3 developers team has just developed React.js application with 7668 lines of CSS (and just 2 !important). During one year of development we had 0 issues with CSS. No refactoring typos, no style leaks, no performance problems, possibly, it is the most stable part of our application.

Here are main principles we use to write CSS for modern (IE11+) browsers:

@brwe
brwe / function_score_queries.json
Created October 18, 2013 22:58
Sense input for `function_score` screencast.
POST hire-wire/programmer/_search
POST hire-wire/programmer/_search
{
"script_fields": {
"distance_from_berlin": {
"script": "doc['home'].arcDistanceInKm(52.5,13.5)"
}
},
"fields": [
@kevinSuttle
kevinSuttle / meta-tags.md
Last active July 10, 2024 09:39 — forked from lancejpollard/meta-tags.md
List of Usable HTML Meta and Link Tags