Skip to content

Instantly share code, notes, and snippets.

View adriancbo's full-sized avatar
🎯
Focusing

Adrian Carballo adriancbo

🎯
Focusing
View GitHub Profile
@adriancbo
adriancbo / README.md
Created March 20, 2024 09:25 — forked from Artefact2/README.md
GGUF quantizations overview

Which GGUF is right for me? (Opinionated)

Good question! I am collecting human data on how quantization affects outputs. See here for more information: ggerganov/llama.cpp#5962

In the meantime, use the largest that fully fits in your GPU. If you can comfortably fit Q4_K_S, try using a model with more parameters.

llama.cpp feature matrix

See the wiki upstream: https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix

@adriancbo
adriancbo / clone-all-twitter-github-repos.sh
Created November 18, 2023 09:01 — forked from caniszczyk/clone-all-twitter-github-repos.sh
Clone all repos from a GitHub organization
curl -s https://api.github.com/orgs/twitter/repos?per_page=200 | ruby -rubygems -e 'require "json"; JSON.load(STDIN.read).each { |repo| %x[git clone #{repo["ssh_url"]} ]}'
######################################################
# Devtron #
# Kubernetes-Native User-Friendly CI, CD, and GitOps #
# https://youtu.be/ZKcfZC-zSMM #
######################################################
# Referenced videos:
# - Argo CD - Applying GitOps Principles To Manage Production Environment In Kubernetes: https://youtu.be/vpWQeoaiRM4
# - Argo Workflows and Pipelines - CI/CD, Machine Learning, and Other Kubernetes Workflows: https://youtu.be/UMaivwrAyTA
# - Argo Events - Event-Based Dependency Manager for Kubernetes: https://youtu.be/sUPkGChvD54
@adriancbo
adriancbo / react-native-fonts.md
Created July 12, 2021 08:17 — forked from parshap/react-native-fonts.md
Fonts in React Native

Fonts in React Native

Default Fonts

A number of fonts are available by default based on the platform (e.g., Roboto on Android, Helvetica on iOS). See the full list here.

@adriancbo
adriancbo / App.tsx
Created June 7, 2021 09:10 — forked from catalinmiron/App.tsx
Slow Camera
export const App => <DepthCameraComp />
@adriancbo
adriancbo / Fastfile.rb
Created June 7, 2021 09:08 — forked from catalinmiron/Fastfile.rb
My CircleCI setup for React Native apps
fastlane_version '2.105.2'
before_all do
ensure_git_branch
git_pull
end
platform :ios do
desc 'Fetch certificates and provisioning profiles'
lane :certificates do
@adriancbo
adriancbo / ip.js
Created April 27, 2021 19:56 — forked from szalishchuk/ip.js
Get local external ip address with nodejs
var
// Local ip address that we're trying to calculate
address
// Provides a few basic operating-system related utility functions (built-in)
,os = require('os')
// Network interfaces
,ifaces = os.networkInterfaces();
// Iterate over interfaces ...
@adriancbo
adriancbo / graphql-fetch.ts
Created July 11, 2020 05:23 — forked from nksaraf/graphql-fetch.ts
React Query with GraphQL
// Taken mostly from prisma-labs/graphql-request
import "isomorphic-unfetch";
import { print } from "graphql/language/printer";
import { DocumentNode } from "graphql";
export type Variables = { [key: string]: any };
export interface Headers {
[key: string]: string;
}
@adriancbo
adriancbo / fix_parallels_tools_install.md
Created May 7, 2020 20:22 — forked from xiaozhuai/fix_parallels_tools_install.md
fix parallels tools install issue

install log

cd prl_fs/SharedFolders/Guest/Linux/prl_fs && make CC=cc
make[1]: Entering directory '/usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs'
make -C /lib/modules/5.0.0-25-generic/build M=/usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs CC=cc
make[2]: Entering directory '/usr/src/linux-headers-5.0.0-25-generic'
  CC [M]  /usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/super.o
/usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/super.c: In function 'prlfs_remount':
/usr/lib/parallels-tools/kmods/prl_fs/SharedFolders/Guest/Linux/prl_fs/super.c:119:21: error: 'MS_RDONLY' undeclared (first use in this function); did you mean 'IS_RDONLY'?
  if ( (!((*flags) & MS_RDONLY) && PRLFS_SB(sb)->readonly) ||
@adriancbo
adriancbo / codegen.yml
Created April 3, 2020 02:31 — forked from seandearnaley/codegen.yml
codegen.yml
overwrite: true
schema: "http://localhost:4000/graphql"
documents: src/**/*.graphql
generates:
src/generated/graphql.ts:
hooks:
afterOneFileWrite:
- prettier --write
plugins:
- "typescript"