Skip to content

Instantly share code, notes, and snippets.

View madcato's full-sized avatar
🪲
Building future bugs!!

Dani Vela madcato

🪲
Building future bugs!!
View GitHub Profile
@ijwfly
ijwfly / config.json
Created September 22, 2024 22:59
Qwen2.5-Coder 7B continue.dev configuration example
{
"models": [
{
"title": "Qwen2.5-Coder-7B",
"provider": "ollama",
"model": "Qwen2.5-Coder-7B-Instruct-Q6_K:latest",
"apiBase": "https://your_ollama_server"
}
],
"tabAutocompleteModel": {
@pitt500
pitt500 / TCA_README_ES.md
Last active March 5, 2024 14:55
An Spanish translation of The Composable Architecture's README.md

The Composable Architecture

CI

The Composable Architecture (o simplemente TCA) es una librería para construir aplicaciones de una manera consistente y entendible, teniendo en mente composición, pruebas y ergonomía. Puede ser utilizada en SwiftUI, UIKit, y en cualquier plataforma de Apple (iOS, macOS, tvOS, y watchOS).

  • [¿Qué es *The Composable A
@bgulla
bgulla / jetson_nano_cheatsheet.md
Last active September 5, 2022 21:29
Notes related to the NVIDIA Jetson Nano dev kit

Jetson Nano Cheatsheet

image text

Below are my personal notes related to the Nvidia Jetson Nano Dev-board.

Performance Management

Nvidia allows your to fine tune the performance of your Jetson nano. More on this here.

Show the current settings

sudo /usr/bin/jetson_clocks.sh --show
@gservera
gservera / LegalInfoValidation.swift
Last active June 10, 2019 11:33
Validar DNI español o calcular su letra en Swift 2.0
import Foundation
/**
Valida el número y la(s) letra(s) de un cualquier documento nacional de identidad
español (NIF o NIE) utilizando una implementación del algoritmo oficial.
- parameter nationalID: El DNI que se validará. No distingue mayúsculas y minúsculas.
- returns: `true` si el DNI proporcionado es válido o `false` si no lo es.
*/
func validateSpanishNationalIdentifier(nationalID: String) -> Bool {
guard nationalID.characters.count == 9 else {
@danomanion
danomanion / notes.md
Created October 8, 2015 15:41
The Millionaire Fastlane Commandments CENTS.

The Millionaire Fastlane Commandments CENTS.

Source: https://www.youtube.com/watch?v=k_KlQ_Q-7cU

An Entrepreneur is someone who solves problems through scalable solutions.

C (Control)

  • Do you own the land you build your business on? Could someone slip the carpet from right under you?
  • Are you reliant on a single platform like Amazon, YouTube, Google Organic Search alone?
  • If 90% of your sales are based on one single platform like Amazon, they could kick you off and kill your business.
  • If 100% of your business comes from an organic Google algorithm and that algorithm changes, you are in trouble.
http://devstreaming.apple.com/videos/wwdc/2014/403xxksrj0qs8c0/403/403_hd_intermediate_swift.mov
http://devstreaming.apple.com/videos/wwdc/2014/419xxli6f60a6bs/419/419_hd_advanced_graphics_and_animation_performance.mov
http://devstreaming.apple.com/videos/wwdc/2014/101xx36lr6smzjo/101/101_hd.mov
http://devstreaming.apple.com/videos/wwdc/2014/236xxwk3fv82sx2/236/236_hd_building_interruptible_and_responsive_interactions.mov
http://devstreaming.apple.com/videos/wwdc/2014/306xxjtg7uz13v0/306/306_hd_javascript_for_automation.mov
http://devstreaming.apple.com/videos/wwdc/2014/404xxdxsstkaqjb/404/404_hd_advanced_swift.mov
http://devstreaming.apple.com/videos/wwdc/2014/701xx8n8ca3aq4j/701/701_hd_designing_accessories_for_ios_and_os_x.mov
http://devstreaming.apple.com/videos/wwdc/2014/224xxxlsvigdoc0/224/224_hd_core_os_ios_application_architectural_patterns.mov
http://devstreaming.apple.com/videos/wwdc/2014/717xxux5eg6f9v4/717/717_hd_kids_and_apps.mov
http://devstreaming.apple.com/videos/wwdc/2014/716xx8q4shlqcp8/716/
@kanedo
kanedo / Makefile
Last active May 7, 2020 00:55
Makefile for Xcode C++ projects
#############################################################
# #
# Generic Makefile for C++ projects #
# Author: Gabriel <[email protected]> #
# Date: 2014-04-18 #
# Version: 1.0 #
# #
#############################################################
@schickling
schickling / Rakefile
Last active November 5, 2024 09:14
Activerecord without Rails
require "active_record"
namespace :db do
db_config = YAML::load(File.open('config/database.yml'))
db_config_admin = db_config.merge({'database' => 'postgres', 'schema_search_path' => 'public'})
desc "Create the database"
task :create do
ActiveRecord::Base.establish_connection(db_config_admin)
@sekati
sekati / xcode-build-bump.sh
Created July 24, 2012 20:44
Xcode Auto-increment Build & Version Numbers
# xcode-build-bump.sh
# @desc Auto-increment the build number every time the project is run.
# @usage
# 1. Select: your Target in Xcode
# 2. Select: Build Phases Tab
# 3. Select: Add Build Phase -> Add Run Script
# 4. Paste code below in to new "Run Script" section
# 5. Drag the "Run Script" below "Link Binaries With Libraries"
# 6. Insure that your starting build number is set to a whole integer and not a float (e.g. 1, not 1.0)