Skip to content

Instantly share code, notes, and snippets.

View Lukas238's full-sized avatar
🏠
Working from home

Lucas Dasso Lukas238

🏠
Working from home
View GitHub Profile
@Lukas238
Lukas238 / Mac2Win_text_select.ahk
Last active October 25, 2019 03:03
Mac2Win text select shortcuts
;
; AutoHotkey Version: 1.x
;
;
; --------------------------------------------------------------
; Emulate OSX keymap layout
; on Windows
; --------------------------------------------------------------
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
@Lukas238
Lukas238 / increase_replace.js
Created October 2, 2019 04:57 — forked from Axighi/increase_replace.js
Using regex to replace match strings with auto increment number.
'An aplle is not a banana'.replace(/a/g, (() => {
var number = 0;
return () => {
return number++;
}
})())
@Lukas238
Lukas238 / Incremental id replace with RegExp in javascript.md
Created September 20, 2019 18:57
Incremental id replace with RegExp in javascript

Incremental id replace with RegExp in javascript

This is a small piece of code that will search an HTML string using regexp and replace all instances of id="faq-#" with a consecutive number.

So if you need to add new articles, you can easly renumber them with this script.

var string = `
@Lukas238
Lukas238 / jira-new_mmp_tickets_sound_alert.user.js
Last active August 13, 2019 15:43
UserScript - JIRA: New MMP tickets sound alert
// ==UserScript==
// @name JIRA: New MMP tickets sound alert
// @namespace http://wunderman.com.ar/
// @version 0.1
// @description Add some enhancements to the JIRA interface.
// @author Lucas Dasso <[email protected]>
// @updateURL https://gist.githubusercontent.com/Lukas238/ca3b87a37dfc339d5a9c8a2f150187a0/raw/jira-new_mmp_tickets_sound_alert.user.js
// @downloadURL https://gist.githubusercontent.com/Lukas238/ca3b87a37dfc339d5a9c8a2f150187a0/raw/jira-new_mmp_tickets_sound_alert.user.js
// @match http*://*/secure/Dashboard.jspa*
// @require http://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.1/jquery.min.js
@Lukas238
Lukas238 / git_diff_and_share.md
Created August 2, 2019 22:18
Git Diff and Share

Git Diff and Share

Generate a diff file between branches:

git diff master feature1 > changes.diff 

You can then share online this diff using this webtool: https://diffy.org/

@Lukas238
Lukas238 / git_diff_and_share.md
Created August 2, 2019 22:18
Git Diff and Share

Git Diff and Share

## Generate a diff file between branches:

git diff master feature1 > changes.diff 

You can then share online this diff using this webtool: https://diffy.org/

@Lukas238
Lukas238 / Jira_user_project_permissions_bookmarklet.md
Last active July 31, 2019 18:17
Jira user project permissions bookmarklet

Jira user project permissions bookmarklet

Use this js script to get a list of project and permissions for the user on the "Edit Project Roles for User" admin page in Jira.

Teste on Jira 6.4.4.

Use

Copy the js script and paste it on the Developers Inspector console.

@Lukas238
Lukas238 / Wget_download_with_login_cookie.md
Last active May 31, 2019 18:15
Wget: Download list of images using login cookie
@Lukas238
Lukas238 / curo_UX.md
Last active May 31, 2019 02:29
Curso de diseño de Experiencia de Usuario (UX)

Curso de diseño de Experiencia de Usuario (UX)

''Curso'': Diseño de Experiencia de Usuario (UX) ''Area:'' Interactive ''Asesor Académico:'' Juan Manuel Carraro

*18 hs. (3 días intensivos) *Arancel: AR$3000.- Consultar por aranceles preferenciales; corporativos, instituciones educativas y miembros de la Comunidad UP *Martes 02, Miércoles 03 y Jueves 04 de Julio de 09 a 17 hs

@Lukas238
Lukas238 / How to generate a PGP Key.md
Last active February 8, 2025 16:59
How to generate a PGP Key