Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Jacques Bodin-Hullin jacquesbh

🏠
Working from home
View GitHub Profile
View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
View makeapp.sh
#!/bin/sh
echo "What should the Application be called (no spaces allowed e.g. GCal)?"
read inputline
name="$inputline"
echo "What is the url (e.g. https://www.google.com/calendar/render)?"
read inputline
url="$inputline"
@jacquesbh
jacquesbh / .tmux.conf.master
Last active Aug 29, 2015
My tmux configurations
View .tmux.conf.master
set-option -g default-command "reattach-to-user-namespace -l zsh"
source /usr/local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf
#set-window-option -g automatic-rename off
## Screen like binding
unbind C-b
set -g prefix C-x
## Bigger history
set -g history-limit 10000
@joelwurtz
joelwurtz / cmd
Created Apr 7, 2015
Environments with fabric
View cmd
$ fab -l
Available commands:
production.cleannn
production.deploy
staging.deploy
@PurpleBooth
PurpleBooth / README-Template.md
Last active Oct 8, 2021
A template to make good README.md
View README-Template.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

@piotrekkaminski
piotrekkaminski / gist:9bc45ec84028611d621e
Last active Oct 14, 2019
How to automatically download patches and release of Magento
View gist:9bc45ec84028611d621e
1) First you need to generate download token. Login to your account on magento.com and generate it in Account Settings->Downloads Access Token
2) You will need your MAGEID as well. It is shown at the top-left in your account page.
3) curl -k https://MAGEID:TOKEN@www.magentocommerce.com/products/downloads/info/help
4) Profit!
View start
helo everyone!
If youwish to have sample data installed for your local Magento 2 instance, please run the next command in CLI (magento root directory):
php bin/magento setup:performance:generate-fixtures ./setup/performance-toolkit/profiles/ce/small.xml
and don't forget to reindex afterwards:
php bin/magento indexer:reindex
@jchandra74
jchandra74 / openssl.MD
Last active Sep 22, 2021
HOWTO: Create Your Own Self-Signed Certificate with Subject Alternative Names Using OpenSSL in Ubuntu Bash for Window
View openssl.MD

HOWTO: Create Your Own Self-Signed Certificate with Subject Alternative Names Using OpenSSL in Ubuntu Bash for Window

Overview

My main development workstation is a Windows 10 machine, so we'll approach this from that viewpoint.

Recently, Google Chrome started giving me a warning when I open a site that uses https and self-signed certificate on my local development machine due to some SSL certificate issues like the one below:

Self-Signed SSL Issue in Chrome

@rjhansen
rjhansen / keyservers.md
Last active Oct 18, 2021
SKS Keyserver Network Under Attack
View keyservers.md

SKS Keyserver Network Under Attack

This work is released under a Creative Commons Attribution-NoDerivatives 4.0 International License.

Terminological Note

"OpenPGP" refers to the OpenPGP protocol, in much the same way that HTML refers to the protocol that specifies how to write a web page. "GnuPG", "SequoiaPGP", "OpenPGP.js", and others are implementations of the OpenPGP protocol in the same way that Mozilla Firefox, Google Chromium, and Microsoft Edge refer to software packages that process HTML data.

Who am I?