Skip to content

Instantly share code, notes, and snippets.

View farhaduneci's full-sized avatar
📚
Learning

Farhad Uneci farhaduneci

📚
Learning
View GitHub Profile
@zzJinux
zzJinux / medium.user.js
Last active November 9, 2025 20:52 — forked from mathix420/medium.user.js
Bypass Medium Paywall fork: do not redirect for free posts
// ==UserScript==
// @name Medium Paywall Bypass
// @namespace Violentmonkey Scripts
// @run-at document-start
// @match *://*/*
// @grant none
// @version 2.4_6
// @updateURL https://gist.githubusercontent.com/zzJinux/364725e7c61810719286d94e88a4e38c/raw/medium.user.js
// @downloadURL https://gist.githubusercontent.com/zzJinux/364725e7c61810719286d94e88a4e38c/raw/medium.user.js
// @website https://freedium.cfd
@cgons
cgons / mac-setup-for-python.md
Last active April 9, 2025 22:58
Python Dev Setup for (M1) Macs
@imomaliev
imomaliev / fields.py
Last active January 12, 2024 14:13 — forked from jpadilla/fields.py
CharacterSeparatedManyField - A Django REST framework field that separates a string with a given separator into a native list and reverts a list into a string separated with a given separator.
from rest_framework import serializers
from rest_framework.fields import empty
from rest_framework.utils import html
class CharacterSeparatedField(serializers.ListField):
"""
Character separated ListField.
Based on https://gist.github.com/jpadilla/8792723.
@mirajehossain
mirajehossain / ubuntu-server-hardening.md
Last active December 7, 2025 12:33
ubuntu-server-hardening checklist

Ubuntu-Server-Hardening

1. Secure Shared Memory

What is shared memory?

Shared memory is an efficient means of passing data between programs. Because two or more processes can use the same memory space, it has been discovered that, since shared memory is, by default, mounted as read/write, the /run/shm space can be easily exploited. That translates to a weakened state of security.

If you’re unaware, shared memory can be used in an attack against a running service. Because of this, you’ll want to secure that portion of system memory.