Skip to content

Instantly share code, notes, and snippets.

View monroy95's full-sized avatar
:octocat:
Developer Mode

Mario Monroy monroy95

:octocat:
Developer Mode
  • None
View GitHub Profile
@joeblackwaslike
joeblackwaslike / How-to-Python-in-Cursor.md
Last active October 25, 2025 03:49
How to use python with the Cursor IDE

How to use python with the Cursor AI IDE

Cursor.app has a critical vulnerability that should be taken seriously!

Please see my post below on this as sooon as possible! https://gist.github.com/joeblackwaslike/752b26ce92e3699084e1ecfc790f74b2?permalink_comment_id=5716065#gistcomment-5716065

Steps to patch latest cursor

These instructions should work with the latest versions of cursor which requires a much different strategy than the older versions where you could simply point cursor to the MS extension marketplace and call it a day.

Version details

@Klerith
Klerith / instalaciones.md
Created April 19, 2022 14:43
Instalaciones recomendadas para el curso de principios SOLID y CleanCode

Instalaciones recomendadas - Curso de principios SOLID y CleanCode

Instalaciones Necesarias

opcional - Yarn

Log4J CVE Advisory

The Problem

Log4J has a feature called Java Naming and Directory Interface (shortened to JNDI in this document), which allows a Java program to reach out to an external source to gather data.
If you put a section of text containing ${jndi:query} into the log, the Log4J library will try to resolve the query.
This can be combined with the Lightweight Directory Access Protocol (LDAP) to connect to a remote server.

However, because JNDI is built for retrieving data, and JNDI is a Java program, if you put a JNDI query using LDAP into a log, it will connect to the given site, download a file, and then execute it.
This is called Remote Code Execution.

@rjescobar
rjescobar / extend-trial-jetbrains-windows.bat
Created August 31, 2021 02:53
JetBrains IDE trial reset windows
REM Delete eval folder with licence key and options.xml which contains a reference to it
for %%I in ("WebStorm", "IntelliJ", "CLion", "Rider", "GoLand", "PhpStorm", "Resharper", "PyCharm") do (
for /d %%a in ("%USERPROFILE%\.%%I*") do (
rd /s /q "%%a/config/eval"
del /q "%%a\config\options\other.xml"
)
)
REM Delete registry key and jetbrains folder (not sure if needet but however)
rmdir /s /q "%APPDATA%\JetBrains"
@TurkerTunali
TurkerTunali / ConsolidatedRunningBalance.sql
Last active July 21, 2020 16:18
Running balance report for customer and suppliers combined by tax id
SELECT
#LOGEDOSOFT-2019
#Amac: Tedarici ve Satiscilari vergi numarasina gore gruplayarak cari ekstre gosterir
#Versiyonlar:
#21.12.2019:Alim fatura tarihi ellge girilen tedarikci fatura tarihinden getirildi. Tahsilat yapildiginda kapatilan fatura rakamlari getiriliyordu, direk tahsilat tutarinin getirilmesi saglandi
#27.12.2019:Fis turu alani duzgun getirildi. Gereksiz kolonlar kapatildi.
#27.12.2019:Satis fatura aciklamasi ozel alan olan aciklama alanindan getirildi(remarks alani kaldirildi)
#18.02.2020:Alim fatura aciklamasi getirildi (remarks kaldirildi)
#18.02.2020:Ceklerin vade tarihi aciklama alanina getirildi.
#25.02.2020:DÜZELTME: Belge Tarihi olarak posting_date, Açıklama da ki tarihe reference_date gelmeli.
@Klerith
Klerith / Instalaciones-React.md
Last active September 19, 2025 22:54
Instalaciones recomendadas para mi curso de React de cero a experto
@FilBot3
FilBot3 / python-zeep-example.md
Last active November 17, 2024 09:09
Python Zeep SOAP Example Write Up

Python Zeep SOAP Client

First, we'll look at the SOAP URL and see what Prefixes, Global Elements, Global Types, Bindings, and Services are provided by the SOAP Service.

You can do this by running zeep as a CLI tool.

export WSDL_URL="http://www.dneonline.com/calculator.asmx?WSDL"
python -m zeep $WSDL_URL
{
"guestFunctions": [
"erpnext.www.book_appointment.verify.index.get_context(context)",
"erpnext.www.book_appointment.index.get_appointment_settings()",
"erpnext.www.book_appointment.index.get_timezones()",
"erpnext.www.book_appointment.index.get_appointment_slots(date, timezone)",
"erpnext.www.book_appointment.index.create_appointment(date, time, tz, contact)",
"erpnext.templates.utils.send_message(subject='Website Query', message='', sender='', status='Open')",
"erpnext.templates.pages.search_help.get_help_results_sections(text)",
"erpnext.templates.pages.product_search.get_product_list(search=None, start=0, limit=12)",
@daif
daif / erpnext-installer.sh
Created November 10, 2019 08:00
ERPNext installer
#!/bin/bash
# Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of