Skip to content

Instantly share code, notes, and snippets.

View tsega's full-sized avatar
👑
Thriving

Tsegaselassie Tadesse tsega

👑
Thriving
View GitHub Profile
@tsega
tsega / settings.json
Created February 26, 2025 12:58 — forked from ultimike/settings.json
Visual Studio Code user settings
{
"breadcrumbs.enabled": true,
"css.validate": true,
"diffEditor.ignoreTrimWhitespace": false,
"editor.tabSize": 2,
"editor.autoIndent": "full",
"editor.insertSpaces": true,
"editor.formatOnPaste": true,
"editor.formatOnSave": false,
"editor.renderWhitespace": "boundary",
@tsega
tsega / settings.json
Created February 26, 2025 12:58 — forked from ultimike/settings.json
Visual Studio Code workspace settings
{
/* DDEV container */
/* PHP Linting */
"php.validate.executablePath": "/usr/bin/php",
/* PHP Sniffer & Beautifier */
"phpsab.executablePathCS": "/var/www/html/vendor/bin/phpcs",
"phpsab.executablePathCBF": "/var/www/html/vendor/bin/phpcbf",
"phpsab.standard": "/var/www/html/phpcs.xml",
"phpsab.snifferEnable": true,
"phpsab.fixerEnable": true,
@tsega
tsega / restaculous.md
Last active June 11, 2021 12:17
Restaculous

What?

A Node.js + Express REST API generator, that produces a highly structured application with the following features:

  • Fully tested API endpoints with CRUD operations
  • Express-Validator Integration
  • Automatically generate API documentation
  • Linting of source to ensure proper code formatting
  • Authentication
  • .env Integration
@tsega
tsega / rector.yml
Created May 23, 2020 05:55
Sample Drupal Rector configuration file
imports:
- { resource: "vendor/palantirnet/drupal-rector/config/drupal-8/drupal-8-all-deprecations.yml" }
# includes:
# - { resource: "vendor/palantirnet/drupal-rector/config/drupal-8/drupal-8.0-deprecations.yml" }
# - { resource: "vendor/palantirnet/drupal-rector/config/drupal-8/drupal-8.4-deprecations.yml" }
# - { resource: "vendor/palantirnet/drupal-rector/config/drupal-8/drupal-8.5-deprecations.yml" }
# - { resource: "vendor/palantirnet/drupal-rector/config/drupal-8/drupal-8.6-deprecations.yml" }
# - { resource: "vendor/palantirnet/drupal-rector/config/drupal-8/drupal-8.7-deprecations.yml" }
parameters:
@tsega
tsega / d9_porting_weekend_setup.md
Last active November 19, 2024 15:40
How to contribute to Drupal 9 Porting Weekend

How to prepare for Drupal 9 Porting Weekend

If you haven't heard about it, there is an important event scheduled for May 22 & 23, 2020 to do mass porting of Drupal 8 modules and themes to Drupal 9.

The following a set of instructions will show you how to contribute to that effort.

For a more detailed detailed account please see Kristen Pol's blog post, Preparing yourself for Drupal 9 porting weekend.

1. Install Drupal 8 + Helper Modules

  1. First thing to do, of course, is to install Drupal 8 - the recommended way is to use composer. For alternative setups, see @mradcliffe comment below.
@tsega
tsega / Ahad Hotel Booking API setting.json
Last active January 3, 2020 07:04
The restaculous settings.json file for Ahad Platform Hotel Booking API
{
"name": "Ahad Hotel Booking API",
"description": "Ahad Platform Hotel Booking API.",
"author": "Tsegaselassie Tadesse <[email protected]>",
"directory": "../ahad-hotel-booking-api",
"repository": {
"type": "git",
"url": "https://github.com/tsega/ahad-hotel-booking-api.git"
},
"authentication": true,
@tsega
tsega / settings.json
Created December 27, 2019 11:54
Rest-a-culous - https://github.com/tsega/restaculous, sample settings file
{
"name": "Movies",
"description": "A REST API endpoint for a Movie streaming app.",
"author": "Tsegaselassie Tadesse <[email protected]>",
"directory": "./movies-api-tmp",
"repository": {
"type": "git",
"url": "http://git.gebeya.com/tsega/movie-api.git"
},
"config": [
Upgrade Status report
--------------------------------------------------------------------------------
Custom modules and themes
--------------------------------------------------------------------------------
RSVP List 1
--------------------------------------------------------------------------------
Scanned on Sat, 08/17/2019 - 09:12.
--------------------------------------------------------------------------------
2 errors found. Items categorized "Fix now" are uses of deprecated APIs in
@tsega
tsega / temp.md
Created August 17, 2019 13:52
Temp

Upgrade Status report

Custom modules and themes

RSVP List 1

Scanned on Sat, 08/17/2019 - 09:12.


2 errors found. Items categorized "Fix now" are uses of deprecated APIs in

@tsega
tsega / Working-with-GitHub-Wiki.md
Last active December 23, 2024 21:23
Working with GitHub Wiki

Cloning the Wiki

You can clone you GitHub Wiki as git repository, simply use:

git clone [email protected]:YOUR_GITHUB_USERNAME/YOUR_PROJECT_NAME.wiki.git

Notice the .wiki before the git extension at the end.

Structure

You can structure your Wiki files into any directory of your choice. However, a few things to remember:

  • The file names need to be unique