Skip to content

Instantly share code, notes, and snippets.

View serious-angel's full-sized avatar
...cogito, ergo sum...

Artfaith serious-angel

...cogito, ergo sum...
View GitHub Profile
@Nickguitar
Nickguitar / bypassing_discord_masked_links_filter.md
Last active October 4, 2024 16:28
Bypassing Discord's masked links filter
@iscle
iscle / gist:66e946553e74a883b4494d3b6df0ee82
Last active October 23, 2024 17:41
Install python2.7 on Ubuntu 23.04 as "python"
wget https://www.python.org/ftp/python/2.7.18/Python-2.7.18.tgz
tar xzf Python-2.7.18.tgz
cd Python-2.7.18
sudo ./configure --enable-optimizations
sudo make altinstall
sudo ln -s "/usr/local/bin/python2.7" "/usr/bin/python"
@ConnerWill
ConnerWill / ANSI-escape-sequences.md
Last active November 21, 2024 12:30
ANSI Escape Sequences cheatsheet

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@zookee1
zookee1 / tamrieltradecentre.sh
Last active June 27, 2024 16:10
Tamriel Trade Centre Update
#!/bin/bash
REGION="eu" # eu or us
TTC="/mnt/games/SteamLibrary/steamapps/compatdata/306130/pfx/drive_c/users/steamuser/My Documents/Elder Scrolls Online/live/AddOns/TamrielTradeCentre"
ZIP="/tmp/PriceTable.zip"
wget -O $ZIP https://$REGION.tamrieltradecentre.com/download/PriceTable
unzip -o $ZIP -d "$TTC"
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<title>Rebane's Discord Colored Text Generator</title>
<meta charset="UTF-8">
<meta name="description" content="Rebane's Discord Colored Text Generator">
<meta name="author" content="rebane2001">
<style>
/*
@besrabasant
besrabasant / NoDebugBar.php
Last active August 15, 2024 14:25
A handy middleware to disable Laravel Debugbar.
<?php
namespace App\Http\Middleware;
use Closure;
use Barryvdh\Debugbar\Facade as Debugbar;
class NoDebugbar
{
/**
@gokulkrishh
gokulkrishh / useful-npx-commands.md
Last active September 18, 2024 07:02
List of useful npx (Node Package Runner) commands (https://git.io/useful-npx-commands)

NPX (NPM Package Runner) Commands

List of useful npx (NPM Package Runner) commands.

What is NPX?

Using NPX we can execute/run node binaries without the need to install it locally or globally.

Commands

@srafay
srafay / fix git password prompt - Windows
Created February 15, 2019 13:46
Disable annoying bitbucket or source tree password prompts on windows
$ git config --global --replace-all credential.interactive false
$ git config --global --replace-all credential.modalPrompt false
$ git config --edit --system
# remove line
helper = manager
# To disable openssh password prompt, add these 2 lines
[core]
@latsku
latsku / powershell-tcp-server.ps1
Last active January 25, 2024 09:10
Powershell TCP server
$endpoint = New-Object System.Net.IPEndPoint ([System.Net.IPAddress]::any, 1600)
$Listener = New-Object System.Net.Sockets.TcpListener $endpoint
$Listener.Start()
$client = $Listener.AcceptTcpClient()
$stream = $client.GetStream()
$stream.Write([text.Encoding]::Ascii.GetBytes("Hello Telnet World"), 0, 18)

Demo:

Spoiler warning

Spoiler text. Note that it's important to have a space after the summary tag. You should be able to write any markdown you want inside the <details> tag... just make sure you close <details> afterward.

console.log("I'm a code block!");