Skip to content

Instantly share code, notes, and snippets.

@stefancocora
stefancocora / am-i-ready-to-open-source-this.md
Created October 28, 2016 09:06 — forked from PurpleBooth/am-i-ready-to-open-source-this.md
Checklist to see if your open source repo is primetime ready!

Am I ready to Open Source This?

The checklist:

  1. A readme following a good template
  2. A contributing.md with a code of conduct.
  3. A license
  4. Travis configuration
  5. A way for people to raise issues
  6. Link to it
@stefancocora
stefancocora / README-Template.md
Created October 28, 2016 09:06 — 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

Contributing

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

Please note we have a code of conduct, please follow it in all your interactions with the project.

Pull Request Process

  1. Ensure any install or build dependencies are removed before the end of the layer when doing a
@stefancocora
stefancocora / lib32-qt4-build-error.log
Created May 1, 2017 09:28
lib32-qt4-build-error.log
lots of successful compilation ...
...
compiling tools/qstringlist.cpp
compiling tools/qtextboundaryfinder.cpp
compiling tools/qtimeline.cpp
compiling tools/qvector.cpp
tools/qstring.cpp: In member function ‘QString QString::arg(qlonglong, int, int, const QChar&) const’:
tools/qstring.cpp:6776:13: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’ [-Wparentheses]
if (!locale.numberOptions() & QLocale::OmitGroupSeparator)
^~~~~~~~~~~~~~~~~~~~~~~
@stefancocora
stefancocora / fix-infinality.md
Created June 21, 2017 20:11 — forked from cryzed/fix-infinality.md
A set of instructions on how to fix the harfbuzz + Infinality issue and restoring good-looking, Infinality-like font rendering.

Disclaimer: Please follow this guide being aware of the fact that I'm not an expert regarding the things outlined below, however I made my best attempt. A few people in IRC confirmed it worked for them and the results looked acceptable.

Attention: After following all the steps run gdk-pixbuf-query-loaders --update-cache as root, this prevents various gdk-related bugs that have been reported in the last few hours. Symptoms are varied, and for Cinnamon the DE fails to start entirely while for XFCE the icon theme seemingly can't be changed anymore etc.

Check the gist's comments for any further tips and instructions, especially if you are running into problems!

Screenshots

Results after following the guide as of 11.01.2017 13:08:

@stefancocora
stefancocora / vpn-openconnect-connect-to-cisco-anyconnect.md
Created September 25, 2017 08:48
Split tunneling with openconnect - A guide on how to use openconnect to establish a vpn connection to an enterprise cisco anyconnect vpn endpoint with client side routing.

Introduction

The purpose of this short howto is to show you how to:

  • use openconnect [1] to connect to an enterprise cisco anyconnect endpoint
  • whilst minimizing the amount of traffic that your route through the vpn connection

Usually VPN administrators will puth the default route to the users, so that all user traffic is routed through the vpn connection. This is to address the various security concerns around compromised user computers bridging external internet traffic into the secure VPN network.

While the VPN administrator can push routes to the clients, the client can ignore these default routes and establish client side routing so that only the required A.B.C.D/E network is routed through the VPN. All other traffic will still use the clients default route and default outbound internet connection.

@stefancocora
stefancocora / .git-commit-template.txt
Last active October 3, 2017 21:07 — forked from adeekshith/.git-commit-template.txt
This commit message template that helps you write great commit messages and enforce it across your team.
# <type>: (If applied, this commit will...) <subject> (Max 50 char)
# |<---- Using a Maximum Of 50 Characters ---->|
# Explain why this change is being made
# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->|
# Provide links or keys to any relevant tickets, articles or other resources
# Example: Github issue #23
### Keybase proof
I hereby claim:
* I am stefancocora on github.
* I am stefanco (https://keybase.io/stefanco) on keybase.
* I have a public key ASBiExKlvGHd0y8SUMT7J_QAYSZCPHqit7NI5ZVBu5MTLwo
To claim this, I am signing this object:
@stefancocora
stefancocora / kops-1.8.0-beta.1-segfault.md
Created November 28, 2017 13:51
kops-1.8.0-beta.1 segfault when concourse CI was running kops update cluster in dry-run mode aka without --yes
kops version
Version 1.8.0-beta.1 (git-0a2f949fd)

Concourse CI logs:

I1128 13:18:20.029760     558 request_logger.go:45] AWS request: autoscaling/DescribeAutoScalingGroups
I1128 13:18:20.077294     558 executor.go:91] Tasks: 90 done / 90 total; 0 can run
@stefancocora
stefancocora / archlinux-python-pipenv-2018-10-9.patch
Created October 12, 2018 21:10
Archlinux community package python-pipenv patch for pipenv-2018.10.9
diff -ruN python-pipenv-orig/0001-setup-don-t-setup_requires-on-things-used-to-run-dev.patch python-pipenv/0001-setup-don-t-setup_requires-on-things-used-to-run-dev.patch
--- python-pipenv-orig/0001-setup-don-t-setup_requires-on-things-used-to-run-dev.patch 2018-10-04 04:48:33.000000000 +0100
+++ python-pipenv/0001-setup-don-t-setup_requires-on-things-used-to-run-dev.patch 2018-10-12 22:01:34.479222495 +0100
@@ -16,14 +16,14 @@
1 file changed, 1 deletion(-)
diff --git a/setup.py b/setup.py
-index 7c87a2d6..179359f0 100644
+index 4a6b9389..2aef2868 100644
--- a/setup.py