Skip to content

Instantly share code, notes, and snippets.

View alissa-maria's full-sized avatar
🩵

alissa alissa-maria

🩵
View GitHub Profile
@elvisoliveira
elvisoliveira / reset.sh
Last active November 13, 2023 15:52
PhpStorm2021.1
#!/bin/bash
# JetBrains 2021.1
JB_PRODUCTS="IntelliJIdea CLion PhpStorm GoLand PyCharm WebStorm Rider DataGrip RubyMine AppCode"
for PRD in $JB_PRODUCTS; do
rm -r ~/.java/.userPrefs/jetbrains/"${PRD,,}"/*/ >/dev/null 2>&1
rm ~/.config/JetBrains/"${PRD}"*/eval/*.evaluation.key >/dev/null 2>&1
sed -i '/name="evlsprt.*"/d' ~/.config/JetBrains/"${PRD}"*/options/other.xml >/dev/null 2>&1
done
#include <iostream>
#define XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#define X ;
#define Y class
#define Z {
#define R : public A {
#define Xpublic:
#define Xprivate:
#define HXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX };
@krisleech
krisleech / renew-gpgkey.md
Last active December 3, 2025 23:51
Renew Expired GPG key

Renew GPG key

Given that your key has expired.

$ gpg --list-keys
$ gpg --edit-key KEYID

Use the expire command to set a new expire date:

<style>
/* customizable snowflake styling */
.snowflake {
color: #fff;
font-size: 1em;
font-family: Arial, sans-serif;
text-shadow: 0 0 5px #000;
}
.snowflake,.snowflake .inner{animation-iteration-count:infinite;animation-play-state:running}@keyframes snowflakes-fall{0%{transform:translateY(0)}100%{transform:translateY(110vh)}}@keyframes snowflakes-shake{0%,100%{transform:translateX(0)}50%{transform:translateX(80px)}}.snowflake{position:fixed;top:-10%;z-index:9999;-webkit-user-select:none;user-select:none;cursor:default;pointer-events:none;animation-name:snowflakes-shake;animation-duration:3s;animation-timing-function:ease-in-out}.snowflake .inner{animation-duration:10s;animation-name:snowflakes-fall;animation-timing-function:linear}.snowflake:nth-of-type(0){left:1%;animation-delay:0s}.snowflake:nth-of-type(0) .inner{animation-delay:0s}.snowflake:first-of-type{left:10%;animation-delay:1s}.snowflake:first-of-type .inner,.snowflake:nth-of-type(8) .inner{animation-delay:1s}.snowflake:nth-of-type(2){left