Skip to content

Instantly share code, notes, and snippets.

View dizco's full-sized avatar

Gabriel dizco

View GitHub Profile
@VidyasagarMSC
VidyasagarMSC / istioctl_windows10.md
Last active June 26, 2024 19:18
Setup Istio/istioctl on Windows 10

Download Istio

Set the environment variable

  • Copy the absolute path to the bin folder under the downloaded istio-<VERSION_NUMBER> folder e.g., C:/Users/Administrator/istio-1.0.5-win/istio-1.0.5/bin
  • In the Search on the taskbar, look and open "Edit environment variables for my account".
  • Under User variables, edit path environment variable and add a new entry pointing to the bin folder as copied above. Save the entries.
@dizco
dizco / app.component.ts
Last active December 31, 2021 06:13
Ngx-Admin and Nebular menu translation. Supports nested menu items and live reload
/**
* @license
* Copyright Akveo. All Rights Reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*/
import { Component, OnInit } from '@angular/core';
import { AnalyticsService } from './@core/utils/analytics.service';
import { TranslateService } from '@ngx-translate/core';
@Component({
@archy-bold
archy-bold / ExamplePassportTest.php
Last active October 15, 2022 03:49
Testing Passport Authenticated Controllers and Routes in Laravel
<?php
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;
class ExamplePassportTest extends \PassportTestCase
{
use DatabaseTransactions;
@odan
odan / xampp_php7_xdebug.md
Last active April 9, 2025 13:07
Installing Xdebug for XAMPP
@danharper
danharper / CatchAllOptionsRequestsProvider.php
Last active March 17, 2025 15:20
Lumen with CORS and OPTIONS requests
<?php namespace App\Providers;
use Illuminate\Support\ServiceProvider;
/**
* If the incoming request is an OPTIONS request
* we will register a handler for the requested route
*/
class CatchAllOptionsRequestsProvider extends ServiceProvider {
@banaslee
banaslee / XGH - de-de.txt
Last active May 3, 2025 05:37
eXtreme Go-Horse Process
eXtreme Go Horse (XGH) Process
Quelle: http://gohorseprocess.wordpress.com
Übersetzung ursprünglich von https://gist.github.com/Neffez/f8d907ba8289f14e23f3855011fa4e2f
1. Ich denke, also ist es nicht XGH.
In XGH wird nicht gedacht, es wird das erste gemacht, was in den Sinn kommt. Es gibt auch keine zweite Option, die erste ist schneller.
2. Es gibt 3 Wege ein Problem zu lösen: den richtigen Weg, den falschen Weg und den XGH Weg, welcher exakt wie der falsche ist, aber schneller.