Skip to content

Instantly share code, notes, and snippets.

@KPI01
KPI01 / laravel_tasks.json
Last active May 1, 2024 16:34
VS Code Settings
{
"tasks": [
{
"type": "shell",
"command": "npm run dev",
"problemMatcher": [],
"label": "npm: dev",
"detail": "vite",
"group": {
"kind": "test",
@jgdoncel
jgdoncel / pdftk.bat
Created October 22, 2013 08:55
PDFTK - Comandos útiles
REM Para unir dos documentos diferentes podemos ejecutar lo siguiente desde la consola:
pdftk archivo1.pdf archivo2.pdf cat output salida.pdf
REM Tambien podemos unirlos utilizando etiquetas:
pdftk A=archivo1.pdf B=archivo2.pdf cat A B output salida.pdf
REM Y por supuesto podemos usar comodines:
pdftk *.pdf cat output salida.pdf
REM Para separar páginas de varios documentos y crear un documento nuevo con estas hacemos lo siguiente:
@Pulimet
Pulimet / AdbCommands
Last active May 1, 2024 16:34
Adb useful commands list
adb help // List all comands
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
@dvzubarev
dvzubarev / autoload.el
Last active May 1, 2024 16:33
python-ts-mode extended fontification
;;; lang/my-python/temp-conf/autoload.el -*- lexical-binding: t; -*-
;;;###autoload
(defun my-py-hl-filter-self (node)
(not (equal (treesit-node-text node) "self")))
;;;###autoload
(defun my-python-update-highlights ()
(setq python--treesit-settings
(append python--treesit-settings
@csete
csete / ais_rx.grc
Created September 11, 2013 14:45
2 channel AIS receiver prototyped in GNU Radio Companion (version 3.7.1)
<?xml version='1.0' encoding='ASCII'?>
<flow_graph>
<timestamp>Wed Sep 11 16:13:12 2013</timestamp>
<block>
<key>variable</key>
<param>
<key>id</key>
<value>xlate_filter_taps</value>
</param>
<param>
@markasoftware
markasoftware / enterprise_token.rb
Last active May 1, 2024 16:28
OpenProject Enterprise mode for free
############ REPLACE app/models/enterprise_token.rb in the source code with this file! ################
############ also be sure to RESTART OpenProject after replacing the file. ################
############ it doesn't show that enterprise mode is enabled in the settings, but all ################
############ enterprise mode features, such as KanBan boards, are enabled. ################
#-- copyright
# OpenProject is an open source project management software.
# Copyright (C) 2012-2023 the OpenProject GmbH
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
@CC1119
CC1119 / enterprise_token.rb
Last active May 1, 2024 16:28 — forked from markasoftware/enterprise_token.rb
OpenProject Enterprise mode for free
############ REPLACE app/models/enterprise_token.rb in the source code with this file! ################
############ also be sure to RESTART OpenProject after replacing the file. ################
############ it doesn't show that enterprise mode is enabled in the settings, but all ################
############ enterprise mode features, such as KanBan boards, are enabled. ################
#-- copyright
# OpenProject is an open source project management software.
# Copyright (C) 2012-2024 the OpenProject GmbH
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
@decima
decima / ducks.sh
Last active May 1, 2024 16:26
Small CLI Tool which lists biggest top 10 files/folders
#!/bin/sh
du -hsx ${1:-.}/* | sort -rh | head -10
@sindresorhus
sindresorhus / TrueColour.md
Created January 17, 2017 11:46 — forked from XVilka/TrueColour.md
True Colour (16 million colours) support in various terminal applications and terminals

Colours in terminal

It's a common confusion about terminal colours... Actually we have this:

  • plain ascii
  • ansi escape codes (16 colour codes with bold/italic and background)
  • 256 colour palette (216 colours + 16 ansi + 24 gray) (colors are 24bit)
  • 24bit true colour ("888" colours (aka 16 milion))
printf "\x1b[${bg};2;${red};${green};${blue}m\n"
@qoomon
qoomon / conventional_commit_messages.md
Last active May 1, 2024 16:22
Conventional Commit Messages

Conventional Commit Messages

See how a minor change to your commit message style can make a difference.

Tip

Have a look at git-conventional-commits , a CLI util to ensure these conventions and generate verion and changelogs

Commit Message Formats

Default