Skip to content

Instantly share code, notes, and snippets.

⛺️
Working on nights and weekends.

Regis Freyd djaiss

⛺️
Working on nights and weekends.
Block or report user

Report or block djaiss

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@djaiss
djaiss / philosophy.md
Created Mar 13, 2019 — forked from simpsoka/philosophy.md
simpsoka product philosophy
View philosophy.md

Product managers

  • There are hundreds of methods for building products and running teams. As a quality PM, it's important to have an open mind about all of it, but finding your own process and philosophy can be grounding. It helps you find your pillars so that you don't smash into things while you're building. Remember, however, that you can always find budget for remodelling. 😉
  • The beautiy of a good process is when it just becomes how you do your work. When you forget you're following a process at all is when you know the process is working for you, your team, your company and your customers.
  • The advice I give new Product Managers or PMs coming onto a team for the first time: put your ego away, don't be 'the big idea person' and help your team ship as much as possible. If you ship products you'll learn about them, and people around you will benefit from the momentum you're building.
  • The advice I've given myself throughout my career: put your ego away, you don't have to be the 'the big
View first-test.php
Illuminate\Support\Collection {#1278
#items: array:7 [
0 => array:2 [
"message" => "✓ Maintenance mode: on"
"command" => "php artisan down --message=Upgrading Monica v2.3.1 --retry=10"
]
1 => array:2 [
"message" => "✓ Resetting application cache"
"command" => "php artisan cache:clear"
]
@djaiss
djaiss / commit.md
Created Jun 27, 2018 — forked from abravalheri/commit.md
RFC: Git Commit Message Guidelines
View commit.md

Commit Message Guidelines

In the last few yers, the number of programmers concerned about writting structured commit messages had dramatically grown. As exposed by Tim Pope in article readable commit messages are easy to follow when looking through the project history. Moreover the AngularJS contributing guides introduced conventions that can be used by automation tools to automatically generate useful documentation, or by developpers during debbuging process.

This document borrow some concepts, conventions and even text mainly from these two sources, extending them in order to provide a sensible guideline for writing commit messages.

View request.ts
var request = require('request')
request(
{
method: 'GET',
uri: 'http://localhost:1080/email'
}
, function (error, response, body) {
// body is the decompressed response body
console.log('server encoded the data as: ' + (response.headers['content-encoding'] || 'identity'))
View gist:2670a7584954ddf8bea5d3e8872841ff
relationship_type_partner_with_namerelationship_type_spouse' => 'mari',
'relationship_type_spouse_female' => 'femme',
'relationship_type_spouse_reverse' => 'mari',
'relationship_type_spouse_reverse_female' => 'femme',
'relationship_type_spouse_with_name' => 'le mari de X',
'relationship_type_spouse_female_with_name' => 'lepouse de X',
'relationship_type_spouse_reverse_with_name' => 'le mari de X',
'relationship_type_spouse_reverse_female_with_name' => 'l'epouse de femme',
View Monica_CLA_final.md

Thank you for your interest in contributing to software projects managed by Monica (“We” or “Us”).

TLDR: By signing Monica's Contributor License Agreement, known as a CLA, you confirm that:

1. Anyone can use your contributions anywhere, for free, forever.

2. Your contributions do not infringe on anyone else's rights.


@djaiss
djaiss / CLA.md
Last active Feb 3, 2018
Monica Contributor License Agreement
View CLA.md

TLDR: By signing Monica's Contributor License Agreement, known as a CLA, you confirm that:

1. Anyone can use your contributions anywhere, for free, forever.

2. Your contributions do not infringe on anyone else's rights.


Now, the same with a more legal jargon:

View gist:eba45f1abd8c8b5d3738db45898dad11
#!/usr/bin/env bash
# Ask for the administrator password upfront
sudo -v
# setup taps
brew tap caskroom/fonts
brew tap caskroom/cask
# install applications
@djaiss
djaiss / progress_bar_migration_laravel.php
Last active Aug 17, 2019
Laravel: Use progress bars in migrations
View progress_bar_migration_laravel.php
<?php
use Symfony\Component\Console\Helper\ProgressBar;
use Symfony\Component\Console\Output\ConsoleOutput;
class DoSomething extends Migration
{
public function up()
{
$output = new ConsoleOutput();
View sublime_text_3_preferences.json
{
"color_scheme": "Packages/User/SublimeLinter/Monokai (SL).tmTheme",
"folder_exclude_patterns":
[
"vendor",
"node_modules"
],
"font_size": 14,
"ignored_packages":
[
You can’t perform that action at this time.