Skip to content

Instantly share code, notes, and snippets.

View GennadySX's full-sized avatar
🦈

Gennady Sabirovsky GennadySX

🦈
View GitHub Profile
@danielwetan
danielwetan / nodejs-cicd-github-actions.md
Last active February 2, 2026 12:56
Deploy Node.js to VPS using Github Actions

Deploy Node.js to VPS using Github Actions

Steps to deploy Node.js to VPS using PM2 and Github Actions

1. Clone repo to VPS folder

@aburhan
aburhan / TextAnimated.swift
Created June 5, 2020 03:23
SwiftUI-textfield-animated
import SwiftUI
struct ContentView: View {
@State private var name = ""
@State private var isEditingName = false
var body: some View {
VStack (alignment: .leading){
Text("Name")
.scaleEffect((self.name == "" && self.isEditingName == false) ? 1 : 0.75)
.offset(y: (self.name == "" && self.isEditingName == false ) ? 35 : 0)
@Artistan
Artistan / install-php7.2-mcrypt.sh
Created June 29, 2018 19:21 — forked from arzzen/install-php7.2-mcrypt.sh
Install PHP 7.2 MCrypt extension
## How to install mcrypt in php7.2
##
## https://lukasmestan.com/install-mcrypt-extension-in-php7-2/
##
#
# Check version php and pecl
#
php -v # if default php is not 7.2 then use /usr/bin/php7.2 instead php
@egorsmkv
egorsmkv / metrials-go.md
Last active March 5, 2026 11:06
Материалы по Go (golang): мануалы, статьи, книги и ссылки на сообщества

Материалы по Go (golang)

На русском языке

Мануалы и туториалы

  • [Введение в программирование на Go][1]
  • [Маленькая книга о Go][3]
  • [Эффективный Go][2]
  • Есть еще [Краткий пересказ Effective Go на русском языке][4], но 2009 года
@alessandroleite
alessandroleite / cert.java
Last active March 2, 2024 00:41
Generate a self signed X509 certificate with Bouncy Castle
//Generate a self signed X509 certificate with Bouncy Castle.
// StringBuilder sb = new StringBuilder();
//
// for (int i = 0; i < pub.length; ++i)
// {
// sb.append(Integer.toHexString(0x0100 + (pub[i] & 0x00FF)).substring(1));
// }
//
// System.out.println(sb);
// sb.setLength(0);