Skip to content

Instantly share code, notes, and snippets.

@pablotolentino
pablotolentino / Visual Studio 2022 Product Key
Created November 20, 2021 20:41
Visual Studio 2022 Enterprise Product key
Visual Studio 2022
Enterprise :
VHF9H-NXBBB-638P6-6JHCY-88JWH
Professional:
TD244-P4NB7-YQ6XK-Y8MMM-YWV2J
@wojteklu
wojteklu / clean_code.md
Last active May 10, 2024 06:50
Summary of 'Clean code' by Robert C. Martin

Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.


General rules

  1. Follow standard conventions.
  2. Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
  3. Boy scout rule. Leave the campground cleaner than you found it.
  4. Always find root cause. Always look for the root cause of a problem.

Design rules

@y0ngb1n
y0ngb1n / docker-registry-mirrors.md
Last active May 10, 2024 06:50
国内的 Docker Hub 镜像加速器,由国内教育机构与各大云服务商提供的镜像加速服务 | Dockerized 实践 https://github.com/y0ngb1n/dockerized

Docker Hub 镜像加速器

国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。

Dockerized 实践 https://github.com/y0ngb1n/dockerized

配置加速地址

Ubuntu 16.04+、Debian 8+、CentOS 7+

@tanaikech
tanaikech / submit.md
Last active May 10, 2024 06:46
Sample Scripts for Requesting to Web Apps by Various Languages
@rohitfarmer
rohitfarmer / gromacs-4-commands.txt
Created August 2, 2017 14:16
Gromacs 4-* commands
Gromacs local install
---------------------
FFTW3 compile for older gromacs version
---------------------------------------
./configure --enable-threads --enable-float --with-pic
./configure --prefix=/home/rohit/bin/gromacs-4.5.6/
For Newer versions
-----------------
@MattPD
MattPD / cpp.std.coroutines.draft.md
Last active May 10, 2024 06:45
C++ links: Coroutines (WIP draft)
@jay7134
jay7134 / cf7_convertkit_integration.php
Last active May 10, 2024 06:42
How to integrate Contact Form 7 with ConvertKit without using plugin
// Contact Form 7 & Convertkit integration
add_action( 'wpcf7_mail_sent', 'action_subscribe_to_convertkit', 10, 2 );
function action_subscribe_to_convertkit( $contact_form ) {
$title = $contact_form->title;
$submission = WPCF7_Submission::get_instance();
if ( $submission ) {
$posted_data = $submission->get_posted_data();
}
$first_name = $posted_data["your-name"];
$email = $posted_data["your-email"];
@takekazuomi
takekazuomi / csharp.gitignore
Created April 17, 2014 05:47
.gitignore for C#
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
# User-specific files
*.suo
*.user
*.sln.docstates
# Build results
@magickatt
magickatt / github_clone_using_token.sh
Created September 6, 2019 17:31
Clone a GitHub repository using a Personal Access Token
export GITHUB_USER=magickatt
export GITHUB_TOKEN=secret
export GITHUB_REPOSITORY=magickatt/ContainerisingLegacyApplicationsTalk
git clone https://${GITHUB_USER}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}
@jonasryberg
jonasryberg / Linsris_med_rokt_paprika_och_fankal.md
Last active May 10, 2024 06:41
Jag köpte en tryckkokare. Nu samlar jag på mig bra vegetariska recept att laga till i den.

Linser och ris med smak av rökt paprika och fänkål

Det här receptet ger en rejäl laddning av linser och ris som passar bra att servera till tofu, ha i en wrap eller kanske bara till stekta grönsaker. Ursprungsreceptet hittade jag här.

Ingredienser

  • 400 gram gröna linser
  • 350 gram basmatiris (vitt)
  • 1 liter grönsaksbuljong