Skip to content

Instantly share code, notes, and snippets.

View jonasermert's full-sized avatar
:octocat:

Jonas jonasermert

:octocat:
  • Germany, Thüringen, Erfurt
View GitHub Profile
@bradtraversy
bradtraversy / myscript.sh
Last active November 25, 2025 20:36
Basic Shell Scripting
#! /bin/bash
# ECHO COMMAND
# echo Hello World!
# VARIABLES
# Uppercase by convention
# Letters, numbers, underscores
NAME="Bob"
# echo "My name is $NAME"
@atomjar
atomjar / product_style
Last active August 13, 2024 11:34
Stylesheet for Vue Mastery's Intro to Vue course
body {
font-family: tahoma;
color:#282828;
margin: 0px;
}
.nav-bar {
background: linear-gradient(-90deg, #84CF6A, #16C0B0);
height: 60px;
margin-bottom: 15px;
@rsKliPPy
rsKliPPy / am-night.user.js
Last active March 2, 2018 02:23
ViolentMonkey script to add a night theme to AlliedModders Forums.
// ==UserScript==
// @name AlliedModders Night Theme
// @namespace github.com/rsKliPPy/
// @match https://forums.alliedmods.net/*
// @version 1.3.0
// @downloadURL https://gist.githubusercontent.com/rsKliPPy/4d4281e6ac447b601958d2e6c4971c30/raw
// @homepageURL https://github.com/rsKliPPy
// @grant none
// @run-at document-start
// ==/UserScript==
@bantya
bantya / stop_badrabbit.bat
Last active July 27, 2024 16:49
bat: Stop BadRabbit Ransomeware
@echo off
:: This is not my code, the BadRabbit Ransomeware was posted on a following video:
:: https://www.youtube.com/watch?v=Y6WOpE92vKc
:: Idea for Petya Ransomeware was given on:
:: https://www.bleepingcomputer.com/news/security/vaccine-not-killswitch-found-for-petya-notpetya-ransomware-outbreak/
:: I just made this to make it available easily.
:: For BadRabbit
type NUL > %windir%\cscc.dat
@brentvollebregt
brentvollebregt / get_wifi_passwords.py
Last active April 18, 2025 09:04
Will find each network profile on a Windows machine and print the profile and password
import subprocess
a = subprocess.check_output(['netsh', 'wlan', 'show', 'profiles']).decode('utf-8', errors="ignore").split('\n')
a = [i.split(":")[1][1:-1] for i in a if "All User Profile" in i]
for i in a:
try:
results = subprocess.check_output(['netsh', 'wlan', 'show', 'profile', i, 'key=clear']).decode('utf-8', errors="ignore").split('\n')
results = [b.split(":")[1][1:-1] for b in results if "Key Content" in b]
try:
print ("{:<30}| {:<}".format(i, results[0]))
@petoye
petoye / git
Created January 22, 2017 05:07
To revert to a previous commit, ignoring any changes:
git reset --hard HEAD
@stevekinney
stevekinney / front-end-curriculum.md
Created August 9, 2015 00:47
Front-end Curriculum Draft

Module 1

  • Semantic markup
  • HTML standards mode and quirks mode
  • HTML fundamentals
    • Classes and IDs
  • CSS fundamentals
    • Selectors
    • Resets and normalizers
    • The box model
@willurd
willurd / web-servers.md
Last active December 10, 2025 10:35
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active December 14, 2025 12:59
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname