Skip to content

Instantly share code, notes, and snippets.

View szymonrucinski's full-sized avatar
🎯
Focusing

Szymon Ruciński szymonrucinski

🎯
Focusing
View GitHub Profile
@szymonrucinski
szymonrucinski / gist:c7c10e60d085fa896084dbc1d5bcf719
Created November 27, 2021 18:40 — forked from djaiss/gist:85a0ada83e6bca68e41e
Block Twitter/Facebook in your /etc/hosts
# Block Facebook IPv4
127.0.0.1 www.facebook.com
127.0.0.1 facebook.com
127.0.0.1 login.facebook.com
127.0.0.1 www.login.facebook.com
127.0.0.1 fbcdn.net
127.0.0.1 www.fbcdn.net
127.0.0.1 fbcdn.com
127.0.0.1 www.fbcdn.com
127.0.0.1 static.ak.fbcdn.net

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@szymonrucinski
szymonrucinski / GitCommitEmoji.md
Created January 23, 2023 12:46 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji
@szymonrucinski
szymonrucinski / finetune_llama_v2.py
Last active July 19, 2023 13:24 — forked from younesbelkada/finetune_llama_v2.py
Fine tune Llama v2 models on Guanaco Dataset
# coding=utf-8
# Copyright 2023 The HuggingFace Inc. team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software