Skip to content

Instantly share code, notes, and snippets.

View carasen12's full-sized avatar
馃彔
Working from home

carlos carasen12

馃彔
Working from home
  • cantabria
  • 07:04 (UTC +01:00)
View GitHub Profile
@carasen12
carasen12 / fichero.rb
Created February 18, 2013 15:12
AndroidManifest.xml at 7dd2288a48 on Benllycast/Android-Aplicaciones_con_Mapas
https://github.com/Benllycast/Android-Aplicaciones_con_Mapas/blob/7dd2288a4829608f2c1d7707e02e1c9aa491323c/AndroidManifest.xml
@carasen12
carasen12 / fichero.rb
Created February 18, 2013 18:32
Gist creado en Android
Te invito a Qustodian, un servicio que env铆a ofertas a tu m贸vil y te paga por ello! http://es.qustodian.com/campaign/affiliate/uxc3Tf
https://github.com/teleological/database/blob/master/recipes/default.rb
@carasen12
carasen12 / fichero.rb
Created May 25, 2013 03:22
Issue 1 on carlosasensio/carasen12
https://github.com/carlosasensio/carasen12/issues/1
@carasen12
carasen12 / fichero.rb
Created May 25, 2013 03:24
Gist b55905150dc2fa6cab36 by carasen12
https://gist.github.com/b55905150dc2fa6cab36
@carasen12
carasen12 / SQL query to select active users.md
Created April 4, 2025 05:29
Retrieves all columns from a 'users' table where the 'active' field is set to 1.

SQL query to select active users

Preview:
SELECT * FROM users WHERE active = 1;
Associated Context
Type Code Snippet ( .sql )
Associated Tags SQL Query User Management Active Selection Data Retrieval Database Queries Table Selecting ActiveRecord Frameworks JDBC SDKs DB Access Control Domain-based Search Framework: None SQL database query select users active data retrieval filtering WHERE clause
馃挕 Smart Description Retrieves a list of users where the active value is 1, and returns them as an array with no rows.Retrieves all columns from a 'users' table where the 'active' field is set to 1.
@carasen12
carasen12 / SQL query to select active users.md
Created April 4, 2025 05:30
Retrieves all columns from a table named 'usuarios' where the 'activo' column equals 1.

SQL query to select active users

Preview:
SELECT * FROM usuarios WHERE activo = 1;
Associated Context
Type Code Snippet ( .sql )
Associated Tags SQL Query Data Retrieval Database Selection User Interface Active Device Uuarios Table Condition Handling Sql Syntax Connection Management Programming Logic Framework: None SQL database query select usuarios activo data retrieval filtering conditional statement
馃挕 Smart Description Retrieves a list of usuarios from the database where activo is 1. If not,Retrieves all columns from a table named 'usuarios' where the 'activo' column equals 1.
@carasen12
carasen12 / HTML Code for Home Assistant with Tailwind CSS CDN.md
Last active July 21, 2025 01:32
This code snippet is an HTML document that creates a basic webpage with three pages: Room Temperature Card, Light Status Card, and Kitchen Lights. It also includes custom styles for Inter font in Tailwind CSS CDN to display the results of their own workbox on different screen sizes such as Comfortable

HTML Code for Home Assistant with Tailwind CSS CDN

Preview:
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>My Home Assistant</title>
    <!-- Tailwind CSS CDN -->
@carasen12
carasen12 / Processing Unknown Material....md
Created July 26, 2025 12:45
Code snippet from a conversation with Pieces Copilothttps://carasen12.pieces.cloud/?p=164b4cbec7

Processing Unknown Material...

Preview:
Please provide the text you want me to translate to Spanish.

However, based on your recent activity, here are some examples of translations and Spanish-related tasks you've been working on:

*   **Adding a server:** You were using a program called "devenv.exe" to add a server, and the interface was already in Spanish [Agregar servidor](URL:). The interface included elements like "Aceptar", "Cancelar", "Nombre de usuario", and "Contrase帽a." This was about a month and a half ago, on **May 23, 2025**.
*   **Website Translation:** You've been using Microsoft Edge and the "Traducir" (Translate) feature to translate web pages. For example, you translated [ihost.local](URL:) a few hours ago (**July 8, 2025**).
*   **Home Assistant:** You have been working with HTML code for a Home Assistant setup ([File editor Home Assistant.html](file:///Users\username\path\to\File editor Home Assistant.html)), which included the language setting `<html lang="es" dir="ltr">`

Instala el SDK y el c贸digo de muestra 聽|聽 Google Assistant SDK 聽|聽 Google for Developers Snippet

Preview:
sudo apt-get update
Associated Context
Type Text Note ( .Text Note )
Associated Tags No Tags Associated
Description 'No Description Provided'