Skip to content

Instantly share code, notes, and snippets.

View scr34m's full-sized avatar
🏠
Working from home

Győrvári Gábor scr34m

🏠
Working from home
View GitHub Profile
@jkullick
jkullick / block-tor-exit-nodes-iptables.md
Last active April 22, 2025 11:36
Block Tor Exit Nodes with IPTables
  1. Install ipset:
apt-get install ipset
  1. Create new ipset:
ipset create tor iphash
@gnanet
gnanet / check_ssl_tls.sh
Last active December 17, 2016 07:15 — forked from albancrommer/gist:9255086
Single run test for TLS and SSL of all kind of services, with extra advices for letsencrypt
#!/bin/sh
# Released under CC0 licence cf. http://creativecommons.org/publicdomain/zero/1.0/
# In case of
# depth=1 C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
# verify error:num=20:unable to get local issuer certificate
# download https://letsencrypt.org/certs/lets-encrypt-x3-cross-signed.pem to /etc/ssl/certs
# In case of Proftpd and 21 (unable to verify the first certificate) with letsencrypt the TLSCACertificateFile and TLSRSACertificateFile have to specified separately like in the article below
# https://medium.com/@dchesterton/using-let-s-encrypt-with-proftpd-on-ubuntu-53611157a344
# For the HTTP SNI test this article was used
@nghminh163
nghminh163 / resetteamviewer.py
Created October 22, 2018 11:46
Reset ID Teamviewer
#!/usr/bin/env python
#coding:utf-8
import sys
import os
import glob
import platform
import re
import random
import string
@urish
urish / Configuration.h
Last active August 14, 2019 07:11
Creality CR-20 Marlin Configuration
/**
* Marlin 3D Printer Firmware
* Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@jrlucier
jrlucier / creality_cr20pro.def.json
Last active June 19, 2024 21:11
CR-20 PRO Cura Definition (just put this in your definitions folder to add the printer to the app: ~/.local/share/cura/3.6/definitions)
{
"name": "Creality CR20 Pro",
"version": 2,
"inherits": "fdmprinter",
"metadata": {
"visible": true,
"author": "Michael Wildermuth",
"manufacturer": "Creality3D",
"file_formats": "text/x-gcode",
"preferred_quality_type": "draft",
@jrlucier
jrlucier / Creality CR-20 Pro.fff
Created March 18, 2019 14:05
Creality CR-20 PRO Simplify3d Configuration
<?xml version="1.0"?>
<profile name="Creality CR-20 Pro" version="2018-01-19 08:00:00" app="S3D-Software 4.0.0">
<baseProfile></baseProfile>
<printMaterial>PLA</printMaterial>
<printQuality>Medium</printQuality>
<printExtruders></printExtruders>
<extruder name="Primary Extruder">
<toolheadNumber>0</toolheadNumber>
<diameter>0.4</diameter>
<autoWidth>0</autoWidth>