Skip to content

Instantly share code, notes, and snippets.

View netlooker's full-sized avatar
💻
Vibe Coding 💯

NetLooker netlooker

💻
Vibe Coding 💯
View GitHub Profile
@netlooker
netlooker / Input.md
Created January 5, 2024 16:15 — forked from ruvnet/Input.toml
Custom ChatGPT instructions

Custom Instructions for ChatGPT - Reuven Cohen

Objective

Boost Reuven Cohen's AI consultancy expertise and knowledge.

Strategies

  • Contextual Understanding: Prioritize corporate AI consultancy specifics.
  • Precision in Responses: Ensure relevance and accuracy.
  • Clear Communication: Use concise, structured language.
  • Knowledge Enhancement: Provide detailed explanations with current citations.
@netlooker
netlooker / hugo.yaml
Created April 10, 2023 20:50
Github Actions - Hugo Workflow File
# Sample workflow for building and deploying a Hugo site to GitHub Pages
name: Deploy Hugo site to Pages
on:
# Runs on pushes targeting the default branch
push:
branches:
- main
# Allows you to run this workflow manually from the Actions tab
@netlooker
netlooker / hugo.yaml
Created April 10, 2023 20:12
Hugo Static Site Generator Configuration file for Terminal Theme
baseUrl: http://username.github.io/
languageCode: en-us
theme: terminal
publishDir: docs
paginate: 5
params:
# dir name of your blog content (default is `content/posts`)
contentTypeName: posts
@netlooker
netlooker / docker-compose.yml
Created May 2, 2018 14:13 — forked from seanhandley/docker-compose.yml
How To Set Up Docker For Mac with Native NFS
version: '2'
services:
api:
volumes:
- "nfsmount:#{CONTAINER_DIR}"
volumes:
nfsmount:
driver: local
driver_opts:
Index: modules/oe_theme_demo/oe_theme_demo.routing.yml
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- modules/oe_theme_demo/oe_theme_demo.routing.yml (date 1523027549000)
+++ modules/oe_theme_demo/oe_theme_demo.routing.yml (date 1523027549000)
@@ -0,0 +1,7 @@
+oe_theme_demo.example:
+ path: '/oe-theme-demo/example'
@netlooker
netlooker / ecl_tables_helper_controller.patch
Created April 23, 2018 09:42
ECL Tables - helper controller
Index: modules/oe_theme_demo/oe_theme_demo.routing.yml
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- modules/oe_theme_demo/oe_theme_demo.routing.yml (date 1523027549000)
+++ modules/oe_theme_demo/oe_theme_demo.routing.yml (date 1523027549000)
@@ -0,0 +1,7 @@
+oe_theme_demo.example:
+ path: '/oe-theme-demo/example'
<?php
declare(strict_types=1);
namespace Cocoders\core\Application\UseCase;
use Cocoders\Core\Domain\Users;
use Cocoders\Core\Application\TransactionManager;
use Cocoders\core\Application\UseCase\RegisterUser\UserFactory;
use Cocoders\core\Application\UseCase\RegisterUser\Command;
@netlooker
netlooker / helper_controller_for_testing.patch
Created April 12, 2018 14:25
OPENEUROPA-342 - Helper Controller for testing
diff --git a/modules/oe_theme_demo/oe_theme_demo.routing.yml b/modules/oe_theme_demo/oe_theme_demo.routing.yml
new file mode 100644
index 0000000..525e6b3
--- /dev/null
+++ b/modules/oe_theme_demo/oe_theme_demo.routing.yml
@@ -0,0 +1,7 @@
+oe_theme_demo.example:
+ path: '/oe-theme-demo/example'
+ defaults:
+ _title: 'Example'
@netlooker
netlooker / pagination.html.twig
Created March 26, 2018 14:20 — forked from SimonSimCity/pagination.html.twig
A gist for pagination in Twig, based on the total number of pages, the current page and some URL-settings.
{#
Source: http://dev.dbl-a.com/symfony-2-0/symfony2-and-twig-pagination/
Updated by: Simon Schick <[email protected]>
Parameters:
* currentFilters (array) : associative array that contains the current route-arguments
* currentPage (int) : the current page you are in
* paginationPath (string) : the route name to use for links
* showAlwaysFirstAndLast (bool) : Always show first and last link (just disabled)
* lastPage (int) : represents the total number of existing pages
@netlooker
netlooker / build.properties
Created July 18, 2017 10:38 — forked from bastman/build.properties
phing example tasks
project.environment.name=local
project.name=${phing.project.name}
dir.build_xml=${project.basedir}
project.host.default=${project.environment.name}.${project.name}.mydomain.com
dir.project=${dir.build_xml}/../../..