Skip to content

Instantly share code, notes, and snippets.

View eMPee584's full-sized avatar
💾
funk soul software

Marcel Partap eMPee584

💾
funk soul software
  • Open Source Ecology Germany
  • Dresden.EU
  • 00:51 (UTC +02:00)
  • X @eMPee584
View GitHub Profile
@rain-1
rain-1 / GPT-4 Reverse Turing Test.md
Last active April 16, 2024 23:19
GPT-4 Reverse Turing Test

The reverse turing test

I asked GPT-4 to come up with 10 questions to determine if the answerer was AI or human.

I provided my own answers for these questions and I also asked ChatGPT to answer them.

The result is that GPT-4 was able to correctly differentiate between AI and Human.

@marcbelmont
marcbelmont / unicode_icons.py
Last active July 8, 2023 18:31
Add Unicode Icons to Ranger File Manager (see first comment for details). 🖼️ 📂 🎵 🥳
# Unicode Icons in Ranger File Manager
#
# How to install?
# https://gist.github.com/marcbelmont/c12d2fd2519a372d3b347f665b37e74a#gistcomment-3240106
from __future__ import absolute_import, division, print_function
from itertools import repeat
import ranger.api
@technoscavenger
technoscavenger / EnableClearType.ps1
Created December 4, 2019 01:37
Enable ClearType using PowerShell
$signature = @'
[DllImport("user32.dll")]
public static extern bool SystemParametersInfo(
uint uiAction,
uint uiParam,
uint pvParam,
uint fWinIni);
'@
$SPI_SETFONTSMOOTHING = 0x004B
This work, excluding the Arch Linux logo, is made available under CC0: https://creativecommons.org/publicdomain/zero/1.0/
@crittelmeyer
crittelmeyer / tmux_cheatsheet.markdown
Last active September 27, 2023 19:37 — forked from henrik/tmux_cheatsheet.markdown
tmux cheatsheet

tmux/tmuxinator cheatsheet

tmux

As configured in my dotfiles, here and here.

Command line

$ tmux                           -> start new
$ tmux new -s myname             -> start new w/session name
$ tmux a  #  (or at, or attach)  -> attach
$ tmux a -t myname               -> attach to named
@msimpson
msimpson / cfire
Created July 21, 2011 10:51
Curses based ASCII art fire animation.
#!/usr/bin/python
import curses, random
screen = curses.initscr()
width = screen.getmaxyx()[1]
height = screen.getmaxyx()[0]
size = width*height
char = [" ", ".", ":", "^", "*", "x", "s", "S", "#", "$"]
b = []