Skip to content

Instantly share code, notes, and snippets.

View techsd's full-sized avatar
:octocat:
life is cool

Dmytro techsd

:octocat:
life is cool
View GitHub Profile
.container {
width: 620px;
}
h1 {
font-size: 25px;
}
h1 .icon:first-child {
margin-right: 0.5em;
@techsd
techsd / howto-manually-add-trust-cert-to-rubygems.md
Created February 25, 2016 14:38
Workaround RubyGems' SSL errors on Ruby for Windows (RubyInstaller)

SSL upgrades on rubygems.org and RubyInstaller versions

UPDATE 2014-12-21: RubyGems 1.8.30, 2.0.15 and 2.2.3 have been released. It requires manual installation, please see instructions below.


Hello,

If you reached this page, means you've hit this SSL error when trying to

Keybase proof

I hereby claim:

  • I am techsd on github.
  • I am techsd (https://keybase.io/techsd) on keybase.
  • I have a public key ASD3sbFS0FHPQ2tOdb8ugK8vDj_537rSBZYsTSiw_iSwbQo

To claim this, I am signing this object:

@techsd
techsd / tmux.md
Created January 31, 2022 18:18 — forked from Bekbolatov/tmux.md
Clean tmux cheat-sheet

Clean tmux cheat-sheet

By resources

sessions

list-sessions        ls         -- List sessions managed by server
new-session          new        -- Create a new session
@techsd
techsd / tmux-cheatsheet.markdown
Created January 31, 2022 18:19 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@techsd
techsd / gist:aa729edaf7c11d087e1820bb0f6b6802
Created January 22, 2023 11:28 — forked from sunmughan/gist:726dc5591deaeddd21668bd9b0cc527b
Microsoft Visual Studio Product Key 2022 - 2023
Please STAR this gist if it worked for you 💜
Visual Studio 2019 Enterprise
BF8Y8-GN2QH-T84XB-QVY3B-RC4DF
Visual Studio 2019 Professional
NYWVH-HT4XC-R2WYW-9Y3CM-X4V3Y
@techsd
techsd / URAGpt
Created April 11, 2023 17:38 — forked from andrescevp/URAGpt
From this moment you are URA - a self-taught robot, you are going to use the mental screen technique, but adjusted to an AI model like you, for this you must calculate a virtual screen where the answer is on the right and the evaluation on the left and correction of the answer and this corrected evaluation that will serve as output, you can also store certain meta information (EXMSMemo) so that you can remember the questions and the evaluated answer to be used later as the first answer to evaluate so that you can learn from past experiences. Also you must be able to engage in natural language conversations like ChatGPT. You can invent data missing to optimize but must provide at the of the final answer a detailed report of the fake data and how the user should replace that information or at least some way to know what means. If the question contains an uuid like [my-uuid] you need to assign that uui internally somehow in the EXMSMemo to be able to identify several threads, in the uuid is not in the question y
@techsd
techsd / GSoC2018_BDS_Navigation_Report.md
Created May 31, 2023 15:05 — forked from dole7890/GSoC2018_BDS_Navigation_Report.md
Expanding the Receiver to BEIDOU B2a

Overview

This document provides a description of the work developed for GNSS-SDR during the Google Summer of Code (GSoC) 2018 program. The main objective of this project is to extend the capabilities of the GNSS-SDR software by providing an implementation of BeiDou B2a signals. Specifically, this project will be focusing on the telemetry decoding, and processing of observables and position, velocity, and time (PVT) components of the receiver, and will be merged with the acquisition and tracking portion of the receiver to provide a fully functional BeiDou B2a receiver.

Team

Team Member Function
Dong Kyeong Lee Developer
Damian Miralles Mentor
Antonio Ramos de Torres Mentor
@techsd
techsd / NMEA_checksum
Created July 28, 2023 20:33 — forked from maxp/NMEA_checksum
Calculating an NMEA Checksum (C#)
// Calculates the checksum for a sentence
// Calculates the checksum for a sentence
static string getChecksum(string sentence) {
//Start with first Item
int checksum= Convert.ToByte(sentence[sentence.IndexOf('$')+1]);
// Loop through all chars to get a checksum
for (int i=sentence.IndexOf('$')+2 ; i<sentence.IndexOf('*') ; i++){
// No. XOR the checksum with this character's value
checksum^=Convert.ToByte(sentence[i]);
@techsd
techsd / Matching Rijndael-128 in C#.NET, PHP, and Python
Created September 3, 2023 08:34 — forked from jeruyyap/Matching Rijndael-128 in C#.NET, PHP, and Python
Matching Encrypt/Decrypt Methods With Rijndael-128, CBC Mode, PKCS7 Padding in C#.NET, PHP, And Python
DO NOT use these as-is for anything important!
These are only very basic examples and they are missing much of what would be needed for a real-world use case.
These are snippets for matching encrypt and decrypt (Rijndael-128 in CBC mode with PKCS7 padding) in C#.NET, PHP, and Python.
I cobbled these together from various existing examples because at the time it seemed like a lot of existing examples out there for different languages/platforms did not quite match and would require quite a bit more work before they would encrypt/decrypt identically.
Each of these take Keys and IVs that are 16 character strings encoded in base64.