Skip to content

Instantly share code, notes, and snippets.

View AlexDev404's full-sized avatar
🫤
I'm here.

Immanuel Daviel A. Garcia AlexDev404

🫤
I'm here.
View GitHub Profile
@yetithefoot
yetithefoot / stuns
Last active November 5, 2025 04:35 — forked from zziuni/stuns
STUN+TURN servers list
{url:'stun:stun01.sipphone.com'},
{url:'stun:stun.ekiga.net'},
{url:'stun:stun.fwdnet.net'},
{url:'stun:stun.ideasip.com'},
{url:'stun:stun.iptel.org'},
{url:'stun:stun.rixtelecom.se'},
{url:'stun:stun.schlund.de'},
{url:'stun:stun.l.google.com:19302'},
{url:'stun:stun1.l.google.com:19302'},
{url:'stun:stun2.l.google.com:19302'},
@XVilka
XVilka / TrueColour.md
Last active November 27, 2025 14:11
True Colour (16 million colours) support in various terminal applications and terminals

THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.

PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!

@iamnewton
iamnewton / bash-colors.md
Last active November 19, 2025 06:57
The entire table of ANSI color codes.

Regular Colors

Value Color
\e[0;30m Black
\e[0;31m Red
\e[0;32m Green
\e[0;33m Yellow
\e[0;34m Blue
\e[0;35m Purple
@infinitylx
infinitylx / file_list_downloader.py
Created April 3, 2014 10:23
Download files from file with list of urls.
import os
import urllib2, posixpath, urlparse
DOWNLOADS_DIR = './mp3'
# For every line in the file
for url in open('list.urls'):
resp = urllib2.urlopen(url)
# Split on the rightmost / and take everything on the right side of that
name = urllib2.unquote(posixpath.basename(urlparse.urlsplit(resp.url).path))
@dvliman
dvliman / gist:11264471
Created April 24, 2014 18:24
4chan source code leak
<?
if(file_exists('/www/global/lockdown')) {
if($_COOKIE['4chan_auser'] && $_COOKIE['4chan_apass'] && ($_POST['mode']=='usrdel'||$_GET['mode']=='latest')) {
// ok
}
else {
die('Posting temporarily disabled. Come back later!<br/>&mdash;Team 4chan (uptime? what\'s that?)');
}
}
include_once "./yotsuba_config.php";
@SgtPooki
SgtPooki / stashConflictExample
Created July 3, 2014 12:08
stash conflict example
07:01:38 /var/projects
$ mkdir gitStashConflictExample
07:01:53 /var/projects
$ cd gitStashConflictExample/
07:01:55 /var/projects/gitStashConflictExample
$ git init
Initialized empty Git repository in /var/projects/gitStashConflictExample/.git/
@kenoir
kenoir / backoff.js
Last active September 4, 2023 16:18
Functional(ish) backoff algorithm
var failCount = 6;
// These can be constants
var FAIL_THRESHOLD = 5;
var SECONDS_PER_INTERVAL = 5;
var FUZZ_FACTOR = 0.1;
// Returns delay 'fuzzed' by a random amount
function fuzzDelay(delay) {
var initial = function(delay) { return (delay - ((delay * FUZZ_FACTOR) / 2)); };
@hkparker
hkparker / dnsdos.rb
Created July 29, 2014 21:57
DNS amplified DDoS Metasploit module
##
# This module requires Metasploit: http//metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##
require 'msf/core'
class Metasploit3 < Msf::Auxiliary
include Msf::Exploit::Capture
@NickCraver
NickCraver / Windows10-Setup.ps1
Last active February 6, 2025 04:09
(In Progress) PowerShell Script I use to customize my machines in the same way for privacy, search, UI, etc.
##################
# Privacy Settings
##################
# Privacy: Let apps use my advertising ID: Disable
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -Type DWord -Value 0
# To Restore:
#Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -Type DWord -Value 1
# Privacy: SmartScreen Filter for Store Apps: Disable
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost -Name EnableWebContentEvaluation -Type DWord -Value 0
@mdang
mdang / SDLC.md
Last active January 10, 2025 10:52
Lesson: SDLC

The Software Development Life Cycle

Learning Objectives

Conceptual

  • Explain what SDLC is and why we use it
  • Provide a general overview of what "Agile" means and compare it to Waterfall
  • Explain what SCRUM is, and how it relates to agile.
  • Describe the process of requirements gathering.
  • Explain what a user story is, and what specific points it should include.