Skip to content

Instantly share code, notes, and snippets.

@Siss3l
Siss3l / 0424.md
Last active April 18, 2024 01:43
Intigriti's April 2024 Web Challenge thanks to @kiredevsandhacks

Intigriti April Challenge

  • Category: Web
  • Impact: Medium
  • Solves: 12

Challenge

Description

@alpteo
alpteo / semantic-commit-messages-with-emojis.md
Last active April 18, 2024 01:42
Semantic Commit Messages with Emojis

Semantic Commit Messages with Emojis

Commit format: <emoji_type> <commit_type>(<scope>): <subject>. <issue_reference>

Example

:sparkles: feat(Component): Add a new feature. Closes: #
^--------^ ^--^ ^-------^   ^---------------^  ^------^
|          |    |           |                  |
| | | | +--&gt; (Optional) Issue reference: if the commit closes or fixes an issue
@iwalpola
iwalpola / stm32_gpio_reg.md
Last active April 18, 2024 01:41
STM32 GPIO registers cheatsheet
@XDelta
XDelta / PSTailF.ps1
Created August 19, 2022 21:24
Watch Latest Neos Log
#Change to NeosVR Log folder
cd "R:\SteamLibrary\steamapps\common\NeosVR\Logs"
#Finds the last written to file
$logfile = (Get-ChildItem . | Sort-Object LastWriteTime -Descending)[0].FullName
#Gets the last 10 lines and follows for any new lines
Get-Content -Path $logfile -Tail 10 -Wait
@wilon
wilon / vim-surround使用指南.MD
Last active April 18, 2024 01:40
vim-surround使用指南,vim-surround如何使用

普通模式

命令 说明 + 示例
ds 删除括号
ds " "Hello world!" =>
Hello world!
cs 替换括号
cs "( "Hello world!" =>
(Hello world!)
cS 替换括号,括号内文本做新一行
cS "{ "Hello world!" => {     Hello world! }
@bkaradzic
bkaradzic / orthodoxc++.md
Last active April 18, 2024 01:38
Orthodox C++

Orthodox C++

What is Orthodox C++?

Orthodox C++ (sometimes referred as C+) is minimal subset of C++ that improves C, but avoids all unnecessary things from so called Modern C++. It's exactly opposite of what Modern C++ suppose to be.

Why not Modern C++?

/*!
* Webflow: Front-end site library
* @license MIT
* Inline scripts may access the api using an async handler:
* var Webflow = Webflow || [];
* Webflow.push(readyFunction);
*/
! function(t) {
var e = {};
<?php
// Configuración de la cuenta de correo
$correo = 'xxxx@gmail.com';
$contrasena = '';
$host = '{imap.gmail.com:993/imap/ssl}INBOX';
// Conexión al servidor IMAP
$conexion = imap_open($host, $correo, $contrasena);
@mklement0
mklement0 / Test-WinCredential.ps1
Last active April 18, 2024 01:33
Test-WinCredential: PowerShell function for validating Windows domain / local user credentials.
<#
Prerequisites: Windows PowerShell 5.1, PowerShell (Core) (v6+) - MAY work in earlier versions
License: MIT
Author: Michael Klement <mklement0@gmail.com>
DOWNLOAD and INSTANT DEFINITION OF THE FUNCTION:
irm https://gist.github.com/mklement0/83e8e6a2b39ecec7b0a14a8e631769ce/raw/Test-WinCredential.ps1 | iex