Skip to content

Instantly share code, notes, and snippets.

View eneiss's full-sized avatar
🍁

Emma Neiss eneiss

🍁
  • OVHcloud
  • MontrΓ©al, QC, Canada
View GitHub Profile
@njxqlus
njxqlus / Readme.md
Last active August 14, 2024 02:48
GitLab SSH Windows 10 with Putty
  1. Install Putty and related utilities

  2. Set system environment variable in Windows(Control Panel\System and Security\System --> and clicking on "Advanced system settings" in the left pane. Then click on "Environment Variables") GIT_SSH=%path_to_plink.exe% (Note plink.exe goes into wherever you installed Putty)

  3. Generate a ssh key using puttygen.exe (ssh2-rsa, 4096, comment=GitLab, and set a passphrase)

  4. Add key to pageant.exe and the public key to your GitLab profile

  5. Ensure you start a new command shell so that git recognizes the GIT_SSH value

  6. Try these two commands to check connection first. This should give you a popup window that authenticates connection

  7. set Git putty git@gitlab.com:%user%/%repo.git%

@kontez
kontez / freeotp_backup.md
Created January 4, 2018 14:27 — forked from jleclanche/freeotp_backup.md
A guide to back up and recover 2FA tokens from FreeOTP (Android)

Backing up and recovering 2FA tokens from FreeOTP

Backing up FreeOTP

Using adb, create a backup of the app using the following command:

adb backup -f freeotp-backup.ab -apk org.fedorahosted.freeotp
@whc2001
whc2001 / hiragana2katakana
Created August 9, 2016 13:37
C# Convert Hiragana To Katakana By Unicode
public string HiraganaToKatakana(string input)
{
byte[] unicodes = Encoding.GetEncoding("Unicode").GetBytes(input);
int i;
for (i = 0; i < unicodes.Length; i += 2) //Each 16 bits.
{
int _word = (unicodes[i + 1] << 8) | (unicodes[i] & 0xFF); //Two byte make a word.
if (_word >= 0x3041 && _word <= 0x30A0) //In hiragana area?
{
_word += 0x60; //Add difference.
@bwbaugh
bwbaugh / ubuntu-ec2-guide.md
Last active April 26, 2023 17:42
Guide to customize an Ubuntu EC2 instance.

Quick Start for Ubuntu EC2

Initial setup

Basic setup involves:

  • Install dotfiles.
  • Change the hostname.
@rxaviers
rxaviers / gist:7360908
Last active September 26, 2026 15:16
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue: