Skip to content

Instantly share code, notes, and snippets.

View wprudencio's full-sized avatar
:octocat:
Just happy!

Weslei Prudencio wprudencio

:octocat:
Just happy!
View GitHub Profile
./llama-server -hf LiquidAI/LFM2.5-8B-A1B-GGUF:Q4_K_M --temp 0.6 --top-p 0.95 --top-k 20 --min-p 0.00 --port 8080 --host 0.0.0.0 --jinja --ctx-size 128000 -ctk q4_0 -ctv q4_0 --chat-template-file ./llama.cpp/models/templates/LFM2-8B-A1B.jinja
The scene uses a warm, highly saturated color palette typical of cozy retro farming games. The ground is dominated by golden-yellow and soft orange dirt paths, creating a sunny countryside atmosphere. Bright vibrant greens cover the grass, weeds, bushes, and surrounding vegetation, ranging from lime green highlights to deep emerald shadows. Tall pine trees feature dark forest-green foliage with rich brown trunks.
The farmhouse is built from warm honey-brown and light oak-colored wood, with darker brown shadows emphasizing texture and depth. The roof is composed of aged terracotta-red and burnt orange tiles, giving a rustic appearance. The stacked firewood beside the house varies between chestnut brown, dark walnut, and amber tones.
The window shutters are muted sage green, contrasting softly with the warm wood walls, while the glass reflects pale sky-blue highlights. The mailbox is dull gray metal mounted on a medium brown wooden post.
The character wears deep navy blue clothing with almost black shadows a
wget https://github.com/ggml-org/llama.cpp/releases/download/b8185/llama-b8185-bin-ubuntu-x64.tar.gz
tar -xzf llama-b8185-bin-ubuntu-x64.tar.gz
cd llama-b8185/
./llama-server -hf unsloth/Qwen3.5-2B-GGUF:Q4_K_M --temp 0.7 --top-p 0.8 --top-k 20 --min-p 0.00 -t 3
docker run -it --network host cloudflare/cloudflared:latest tunnel --no-autoupdate --url http://localhost:8080 --http-host-header="localhost:8080"
eval $(thefuck --alias)
if [ -z "$TMUX" ]
then
tmux attach -t TMUX || tmux new -s TMUX
fi
bindkey -v
bindkey '^R' history-incremental-search-backward
set relativenumber
set number
set wildmode=list:longest,full
syntax on
colorscheme desert
set ruler
" Use spaces instead of tabs
set expandtab
@wprudencio
wprudencio / checkBody.js
Created July 10, 2017 19:35
Check the body of a post request and save in a file
var express = require('express');
var app = express();
var bodyParser = require('body-parser')
var fs = require('fs');
// to support JSON-encoded bodies
// app.use(bodyParser.urlencoded({ // to support URL-encoded bodies
// extended: true
// }));
app.use(bodyParser.json({limit: '50mb'}));
@wprudencio
wprudencio / gist:82e591f13d69318a1be31fd635e16eff
Last active March 20, 2017 11:38
Annotations React native
## React Cheat Sheet
https://ihatetomatoes.net/wp-content/uploads/2017/01/react-cheat-sheet.pdf
## Project structure
https://github.com/BelinChung/react-native-hiapp
## Libs
https://github.com/airbnb/lottie-react-native Lib fantastica de animacoes
## Util Development
node_modules/.bin/sequelize db:migrate
node_modules/.bin/sequelize model:create --name Todo --attributes "title:string, complete:boolean,UserId:integer"
-------------
https://github.com/hokaccha/node-jwt-simple
https://jwt.io/introduction/
https://blog.jscrambler.com/implementing-jwt-using-passport/
https://github.com/themikenicholson/passport-jwt
http://stackoverflow.com/questions/17397052/nodejs-passport-authentication-token?noredirect=1&lq=1
http://stackoverflow.com/questions/20228572/passport-local-with-node-jwt-simple
http://mherman.org/
MacBooks-MacBook-Pro:lixo weslei$ ionic start cutePuppyPics --v2
******************************************************
Dependency warning - for the CLI to run correctly,
it is highly recommended to install/upgrade the following:
Install ios-sim to deploy iOS applications.`npm install -g ios-sim` (may require sudo)
Install ios-deploy to deploy iOS applications to devices. `npm install -g ios-deploy` (may require sudo)
******************************************************
Creating Ionic app in folder /Users/weslei/lixo/cutePuppyPics based on tabs project
var gulp = require('gulp');
replace = require('gulp-replace');
connect = require('gulp-connect');
gulp.task('hashReplace', function() {
gulp.src(['src/index.html'])
.pipe(replace('{{hash}}', guid()))
.pipe(gulp.dest('./'));
});