Skip to content

Instantly share code, notes, and snippets.

View YamilG's full-sized avatar

Yamil Gonzales YamilG

  • Elementos Development
  • Tegucigalpa, Honduras
  • 06:31 (UTC -06:00)
View GitHub Profile
@BornPsych
BornPsych / Ghostty-config-example
Created December 30, 2024 03:37 — forked from Mario-SO/config
Ghostty config example
# === Font Configuration ===
font-family = "" # String: Font name or empty to reset
font-family-bold = "" # String: Bold font variant
font-family-italic = "" # String: Italic font variant
font-family-bold-italic = "" # String: Bold-italic font variant
font-style = "" # String: Named font style or "false" to disable
font-style-bold = "" # String: Named bold font style
font-style-italic = "" # String: Named italic font style
font-style-bold-italic = "" # String: Named bold-italic font style
font-synthetic-style = "" # Values: "true", "false", "no-bold", "no-italic", "no-bold-italic"
@erdaltoprak
erdaltoprak / mac-automated-setup.sh
Last active November 9, 2025 01:16
Automated macOS setup with homebrew, system & shell configuration
#!/usr/bin/env bash
###############################################################################
# Mac Bootstrap – Preferences, Homebrew, MAS apps
# Works with the stock /bin/bash 3.2 on macOS (no mapfile required)
# (c) 2025 Erdal • MIT License
###############################################################################
###############################################################################
# Colours / log helpers
###############################################################################
@ph33nx
ph33nx / WinMasterBlocker.bat
Last active December 3, 2025 05:46
Block All Adobe .exe files via Firewall on Windows Using Batch Script | Stop adobe apps to access internet
:: ################################################################
:: ## 🔥 WinMasterBlocker 🔥 #
:: ################################################################
:: # Author: https://github.com/ph33nx #
:: # Repo: https://github.com/ph33nx/WinMasterBlocker #
:: # #
:: # This script blocks inbound/outbound network access #
:: # for major apps like Adobe, Autodesk, Corel, Maxon, #
:: # and more using Windows Firewall. #
:: # #
@bsommardahl
bsommardahl / SrDev.md
Last active February 28, 2019 15:01
Acklen Avenue Senior Developer Criteria

What is a Senior Developer?

A disciplined and experienced software developer who...

  • Is a proven leader.
  • Can communicate effectively.
  • Cares deeply about quality and long-term maintainability of the product.
  • Does not accept monotonous tasks, but seeks ways to automate and be more efficient.
  • Is not intimidated by problems or new challenges, but actively seeks solutions.
  • Does not accept roadblocks, but actively seeks ways around them.
@ageis
ageis / gist:3b96c48698d94c9c8419
Last active October 2, 2022 11:32
Making Tor Hidden Services Slightly More Secure
Andy Greenberg of WIRED reports that the FBI has finally revealed how they allegedly located the server on which Silk Road was hosted, and it didn't require parallel construction. http://www.wired.com/2014/09/the-fbi-finally-says-how-it-legally-pinpointed-silk-roads-server
It was a security fail.
According to FBI agent Christopher Tarbell, as related by Greenberg: "They found a misconfiguration in an element of the Silk Road login page, which revealed its internet protocol (IP) address and thus its physical location... And when they entered that IP address directly into a browser, the Silk Road's CAPTCHA prompt appeared."
While I can only speculate about what gave away the IP address, here's a few suggestions for avoiding the latter problem, which should make your .onions slightly more secure.
First off, the webserver never should have responded to HTTP requests on the server's IP address. Only traffic which comes through the Tor hidden service, which connects to the webserver's port 80 on the loopback in
<?php
/*
Plugin Name: Extend HTTP Request Timeout
Plugin URI: https://refactored.co
Description: Extends the default timeout length for the WordPress HTTP API
Author: Sutherland Boswell
Author URI: http://sutherlandboswell.com
Version: 1.0
License: GPL2
*/
@nikcub
nikcub / README.md
Created October 4, 2012 13:06
Facebook PHP Source Code from August 2007
@YamilG
YamilG / new_bashrc.sh
Created August 11, 2012 07:39 — forked from josephwecker/new_bashrc.sh
Replace .bashrc, .bash_profile, .profile, etc. with something much more clean, consistent, and meaningful.
#!/bin/bash
# License: Public Domain.
# Author: Joseph Wecker, 2012
#
# Are you tired of trying to remember what .bashrc does vs .bash_profile vs .profile?
# Are you tired of trying to remember how darwin/mac-osx treat them differently from linux?
# Are you tired of not having your ~/.bash* stuff work the way you expect?
#
# Symlink all of the following to this file:
# * ~/.bashrc
@brandonb927
brandonb927 / osx-for-hackers.sh
Last active November 11, 2025 10:27
OSX for Hackers: Yosemite/El Capitan Edition. This script tries not to be *too* opinionated and any major changes to your system require a prompt. You've been warned.
#!/bin/sh
###
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer)
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos
###
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx
@rpavlik
rpavlik / fix_homebrew.rb
Created January 6, 2011 20:32 — forked from mxcl/install_homebrew.markdown
Fix permissions on /usr/local for Homebrew
#!/usr/bin/ruby
#
# This script fixes /usr/local only.
#
# 6th January 2010:
# Modified the script to just fix, rather than install. - rpavlik
#
# 30th March 2010:
# Added a check to make sure user is in the staff group. This was a problem
# for me, and I think it was due to me migrating my account over several