Skip to content

Instantly share code, notes, and snippets.

View AndrianD's full-sized avatar
🗼
Time to code

AndrianD

🗼
Time to code
  • France
View GitHub Profile
@AndrianD
AndrianD / workbench.colorCustomizations.json
Created March 4, 2020 22:35 — forked from jacklorusso/workbench.colorCustomizations.json
A list of all Visual Studio Code customizable colors, grouped by UI region. Copy and paste into User Settings (comments are allowed) to tweak an existing theme or work on your own.
"workbench.colorCustomizations": {
// Contrast Colors - The contrast colors are typically only set for high contrast themes. If set, they add an additional border around items across the UI to increase the contrast.
"contrastActiveBorder": "",
"contrastBorder": "",
// Base Colors
"focusBorder": "",
"foreground": "",
"widget.shadow": "",
"selection.background": "",
"descriptionForeground": "",
@AndrianD
AndrianD / docker-commands.md
Created May 17, 2018 08:38 — forked from haixuanc/docker-commands.md
Essential Docker commands

Basic Commands

View all commands:

$ docker

Search for images

@AndrianD
AndrianD / dc_emw.php
Created February 8, 2017 14:59 — forked from BBGuy/dc_emw.php
Working with Drupal commerce entities using entity_metadata_wrapper. Just a bunch of exampled copied from the web or added by me. will keep adding over time.
<?php
// order.
$order_wrapper = entity_metadata_wrapper('commerce_order', $order);
// Order id.
$order_id = order_wrapper->order_id->value();
// User detils.
@AndrianD
AndrianD / kmskeys10.txt
Created December 3, 2016 14:29 — forked from CHEF-KOCH/kmskeys10.txt
Windows 10 KMS Keys
Windows.10.and.Office.2016.gVLK
#####################################################################
# technet.microsoft.com/en-us/library/jj612867.aspx?lc=1033 #
#####################################################################
Windows 10 Professional W269N-WFGWX-YVC9B-4J6C9-T83GX
Windows 10 Professional N MH37W-N47XK-V7XM9-C7227-GCQG9
Windows 10 Education NW6C2-QMPVW-D7KKK-3GKT6-VCFB2
Windows 10 Education N 2WH4N-8QGBV-H22JP-CT43Q-MDWWJ
@AndrianD
AndrianD / .bash_profile
Created May 30, 2016 07:58 — forked from natelandau/.bash_profile
Mac OSX Bash Profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management
@AndrianD
AndrianD / composer.json
Created January 20, 2015 20:47
Symfony2
{
"name": "symfony/framework-standard-edition",
"license": "MIT",
"type": "project",
"description": "The \"Symfony Standard Edition\" distribution",
"autoload": {
"psr-0": { "": "src/", "SymfonyStandard": "app/" }
},
"require": {
"php": ">=5.3.3",
@AndrianD
AndrianD / routing.yml
Created January 20, 2015 20:45
Symfony2
andriana_tchoupi:
resource: "@AndrianaTchoupiBundle/Controller/"
type: annotation
prefix: /
app:
resource: @AppBundle/Controller/
type: annotation
@AndrianD
AndrianD / show.html.twig
Created January 20, 2015 20:42
Symfony2
{% extends '::base.html.twig' %}
{% block body -%}
<h1>Toys</h1>
<table class="record_properties">
<tbody>
<tr>
<th>Id</th>
<td>{{ entity.id }}</td>
@AndrianD
AndrianD / Toys.php
Created January 20, 2015 20:40
AndrianaTchoupiBundle\Entity Symfony2
<?php
namespace Andriana\TchoupiBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Toys
*
* @ORM\Table("tchoupi")
@AndrianD
AndrianD / ToysController.php
Created January 20, 2015 20:38
Andriana\TchoupiBundle\ToysController.php Symfony2
<?php
namespace Andriana\TchoupiBundle\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
use Andriana\TchoupiBundle\Entity\Toys;