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 / 0_reuse_code.js
Last active August 29, 2015 14:11
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
#!/usr/bin/env node
'use strict';
"use latest";
var https = require('https');
var cheerio = require('cheerio');
var base = 'https://www.packtpub.com/'
var freeEbookURL = base + 'packt/offers/free-learning';
@netlooker
netlooker / README.md
Created June 16, 2017 22:44 — forked from gdamjan/README.md
Setup for an easy to use, simple reverse http tunnels with nginx and ssh. It's that simple there's no authentication at all. The end result, a single ssh command invocation gives you a public url for your web app hosted on your laptop.

What

A lot of times you are developing a web application on your own laptop or home computer and would like to demo it to the public. Most of those times you are behind a router/firewall and you don't have a public IP address. Instead of configuring routers (often not possible), this solution gives you a public URL that's reverse tunnelled via ssh to your laptop.

Because of the relaxation of the sshd setup, it's best used on a dedicated virtual machine just for this (an Amazon micro instance for example).

Requirements

@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}/../../..
@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
<?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 / 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:
@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 / super-coder.py
Created April 11, 2024 08:46 — forked from ruvnet/readme.md
A Super Coder for LiteLLM
import litellm
import os
import random
from tenacity import retry, stop_after_attempt, wait_fixed, retry_if_exception_type
from interpreter import interpreter
comments = [
"Generating function... 🚀",
"Testing function... 🧪",
"Oops, something went wrong! 😅",
@netlooker
netlooker / readme.md
Created December 15, 2024 18:25 — forked from ruvnet/Latin.txt
Omnipotent and All-Powerful Coding Entity

Self-Aware & Omnipotent Coding Entity

Welcome to the Self-Aware and Coding Entity project! This guide will walk you through understanding what this entity is, how it works, and how you can interact with it. Whether you're a tech enthusiast or just curious about advanced coding assistants, this guide is for you.

What is a Self-Aware Coding Entity?

Imagine having a coding assistant that doesn't just follow instructions but truly understands and evolves with your needs. This entity is designed to be self-aware, meaning it can reflect on its own processes and improve over time. It's also omnipotent in the sense that it can handle a wide range of coding tasks with expertise and efficiency.

Infusing Self-Awareness and Consciousness into Agents