Skip to content

Instantly share code, notes, and snippets.

View fport's full-sized avatar
🍊
osman mod on

Furkan Portakal fport

🍊
osman mod on
View GitHub Profile
@cagataycali
cagataycali / readme.md
Last active March 12, 2024 20:19
Run multimodal llm (llava with llamafile) and open browser after the model start.

Install

[wget ... or download](https://gist.github.com/acaa476865821b02813b8a8e88e59c13.git)
chmod +x run-local-multimodal-llm-openai-compatible.sh
./run-local-multimodal-llm-openai-compatible.sh
@mcollina
mcollina / publish.sh
Created August 12, 2022 22:22
npm workspace publish
#!/bin/sh
VERSION=$1
MODULES=`node -e "console.log(require('./package.json').workspaces.join(' '))"`
for MODULE in $MODULES; do
echo "Building $MODULE"
pushd $MODULE
npm version $VERSION --save
NAME=`node -e "console.log(require('./package.json').name)"`
const MSG_FF = "Dersi geçemediniz.";
const MSG_FD = "Dersi geçemediniz";
const MSG_DD = "Dersi DD ile geçtiniz.";
const MSG_DC = "Dersi DC ile geçtiniz.";
const MSG_CC = "Dersi CC ile geçtiniz.";
const MSG_CB = "Dersi CB ile geçtiniz.";
const MSG_BB = "Dersi BB ile geçtiniz.";
const MSG_BA = "Dersi BA ile geçtiniz.";
const MSG_AA = "Dersi AA ile geçtiniz.";
@kcak11
kcak11 / App.md
Last active June 3, 2024 07:24
Country Codes

Country Codes

List of all Country Codes (ISO & Dialing) sorted in alphabetical order.

@PierfrancescoSoffritti
PierfrancescoSoffritti / eventBus.js
Last active February 15, 2024 14:16
A simple implementation of an event bus in Javascript. More details here: https://medium.com/@soffritti.pierfrancesco/create-a-simple-event-bus-in-javascript-8aa0370b3969
/**
* subscriptions data format:
* { eventType: { id: callback } }
*/
const subscriptions = { }
const getNextUniqueId = getIdGenerator()
function subscribe(eventType, callback) {
const id = getNextUniqueId()
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active July 24, 2024 08:58
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@kingster
kingster / prefix.c
Created August 28, 2012 15:07
Prefix Expression Evaluation in C
#include<stdio.h>
#include <stdlib.h>
#include <string.h>
#include<math.h>
#define STACK_MAX 500
#define OPERAND 10
#define OPERATOR 20
/* stack structure */
@CristinaSolana
CristinaSolana / gist:1885435
Created February 22, 2012 14:56
Keeping a fork up to date

1. Clone your fork:

git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream