Skip to content

Instantly share code, notes, and snippets.

View rbatty19's full-sized avatar
🏠

Roberto Batty rbatty19

🏠
  • Globant
  • Cartagena, Colombia
  • 14:36 (UTC -05:00)
View GitHub Profile
@rbatty19
rbatty19 / sample.json
Last active October 23, 2023 16:53
Remote Sensor Monitor
[
{
"SensorApp": "HWiNFO",
"SensorClass": "System: ASUS ",
"SensorName": "Virtual Memory Committed",
"SensorValue": "14385",
"SensorUnit": "MB",
"SensorUpdateTime": 1698079956
},
{
div.scrollable-content:not(:has(ion-list.search-results)), .item-label:not(.toc-item),
div.notebook-editable-item__highlight-color,
.theme-item,
ion-button[item-i-d='top_menu_bookmark'][title='Remove Bookmark']
{
filter: invert(100%);
}
.font-size-slider__label {
color: white;
@rbatty19
rbatty19 / Disable Command+Shift+Q EDIT URL
Last active April 24, 2022 19:20
Karabiner Mac OS (@rbatty custom)
https://genesy.github.io/karabiner-complex-rules-generator/#eyJ0aXRsZSI6IkRpc2FibGUgQ29tbWFuZCtTaGlmdCtRIiwicnVsZXMiOlt7ImRlc2NyaXB0aW9uIjoiRGlzYWJsZSBDb21tYW5kK1NoaWZ0K1EiLCJtYW5pcHVsYXRvcnMiOlt7InR5cGUiOiJiYXNpYyIsImRlc2NyaXB0aW9uIjoiIiwiZnJvbSI6eyJrZXlfY29kZSI6InEiLCJtb2RpZmllcnMiOnsibWFuZGF0b3J5IjpbImNvbW1hbmQiLCJzaGlmdCJdfX0sInRvIjpbeyJrZXlfY29kZSI6InEiLCJtb2RpZmllcnMiOlsibGVmdF9hbHQiXSwicmVwZWF0Ijp0cnVlfV19XX1dfQ==
@rbatty19
rbatty19 / InsertMany.md
Created February 19, 2022 02:23
Mongoose Util

Hi, I was working with this entity called Developer:

{
  "name": "TEST NAME",
  "slack_id": "2fj9of3wtestid",
  "email": "person@company.io",
  "slack_image": "...URL..."
}
@rbatty19
rbatty19 / readme.md
Last active March 22, 2023 16:24
My custom zsh themes

YS

ys.zsh-theme

image

ys-requiem.zsh-theme

image

@rbatty19
rbatty19 / Windows 10 Optimization Script.ps1
Last active January 18, 2024 17:10
Windows 10 Optimization Script
### Rober19 version
######
# Win10 Optimization Script With Extra GPD Win Tweaks
# Adapted version of https://github.com/Disassembler0/Win10-Initial-Setup-Script by Disassembler <disassembler@dasm.cz>
# Author: BlackDragonBE
# Version: v2.2.1 (2017-12-02)
# Copied from https://www.reddit.com/r/gpdwin/comments/6ipa6c/windows_10_optimization_script_for_gpd_win/
##########
# As a workaround for disabled script execution, run this command (without #) in an elevated PowerShell windows first and choose "all" if you're asked where to apply this:
@rbatty19
rbatty19 / Parcial-scripts
Last active April 27, 2019 20:10
Base de Datos_ SEM5
a. Generar una consulta agrupando por código y nombre de entidad para determinar cuántos proyectos gestiona y el valor total del presupuesto. Ordenar por Nombre de Entidad.
select count(*) as Cantidad, E.NomEntidad, sum(Presupuesto) as Presupuesto from Proyectos P, Entidades E where P.CodEntidad = E.CodEntidad
group by E.CodEntidad, E.NomEntidad order by E.NomEntidad;
b. Nombre del proyecto, Fecha Inicial, Fecha Final y Presupuesto de los proyectos que financia Colciencias que tengan presupuesto mayor a $500,000,000
select P.NomProyecto, P.FecInicio, P.FecFin, P.Presupuesto from Proyectos P, Entidades E where P.CodEntidad = E.CodEntidad and E.NomEntidad = 'ICFES' and P.Presupuesto > 500000000;
c. Nombre y código de los investigadores de Cartagena que sean investigadores Principales. Ordenar por Nombre de Investigador
@rbatty19
rbatty19 / actividad_sabado_30_marzo
Last active April 27, 2019 18:16
SQL_SERVER_NOTES
CREATE TABLE investigadores (
codigo int IDENTITY primary key,
nombre varchar(30),
ciudad varchar(30),
telefono varchar(30)
);
CREATE TABLE asignaciones (
IDAsingacion int IDENTITY primary key,
codigo varchar(3),
{
"UserVersion": "555",
"ExportGenerationDate": "2019-01-25T13:25:08",
"UserData": {
"CollectionCreationDate": "2017-06-10T03:23:23",
"OneDriveFirstSyncDate": "2019-01-24T18:24:47",
"AgeGroup": "Adult",
"Locale": "en-US"
},
@rbatty19
rbatty19 / urls.json
Created December 20, 2018 03:37
links_apis_for_test
{
"repos":"https://api.github.com/users/rober19/repos?per_page=200"
}