Skip to content

Instantly share code, notes, and snippets.

View 0x00009b's full-sized avatar
💭
*static tv sounds*

0x00009b 0x00009b

💭
*static tv sounds*
View GitHub Profile
@0x00009b
0x00009b / cheat sheet
Created January 22, 2021 16:02
a cheat sheet i made for helping to teach a friend of mine the linux command line
+------------------------------------------------------+
Linux command cheat sheet
+------------------------------------------------------+
COMMAND DESCRIPTION
echo "text" ------ echos text (eg echo "hello world" )
uname -a ------- Show system and kernel
head -n1 /etc/issue ---- Show distribution
@orangemn6
orangemn6 / minecolab.ipynb
Last active January 21, 2021 04:08
MineColab
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dale-c-anderson
dale-c-anderson / whois.php
Last active February 11, 2024 08:49
Simple PHP whois lookup script
<form method=GET action="<?php htmlentities(basename(_FILE_)); ?>">
<input type=text name="q" value="<?php echo htmlentities($_REQUEST["q"]); ?>">
<input type=submit value="WHOIS">
</form>
<pre><?php
/*
* whois.php
*/
main();
@hoshi-takanori
hoshi-takanori / app.js
Last active December 2, 2021 10:25
Invoke CGI from Express.js.
var express = require('express');
var cgi = require('./cgi');
app = express();
var script = __dirname + '/hello.cgi';
app.get('/', cgi(script, function (req, options) {
options.env.USERNAME = 'Mr. User';
}));
app.use(function (err, req, res, next) {
@umaar
umaar / html-shell.html
Created November 5, 2012 10:31
HTML Shell
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>title</title>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXXXXX-Y']);
_gaq.push(['_trackPageview']);
(function()
@khakimov
khakimov / gist:3558086
Created August 31, 2012 19:49
Matrix Effect in you terminal
echo -e "\e[1;40m" ; clear ; while :; do echo $LINES $COLUMNS $(( $RANDOM % $COLUMNS)) $(( $RANDOM % 72 )) ;sleep 0.05; done|awk '{ letters="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@#$%^&*()"; c=$4; letter=substr(letters,c,1);a[$3]=0;for (x in a) {o=a[x];a[x]=a[x]+1; printf "\033[%s;%sH\033[2;32m%s",o,x,letter; printf "\033[%s;%sH\033[1;37m%s\033[0;0H",a[x],x,letter;if (a[x] >= $1) { a[x]=0; } }}'
@nimbupani
nimbupani / index.html
Created December 2, 2011 05:00
Showing latest post on home page with Jekyll
---
layout: default
---
<div class="blog-index">
{% assign post = site.posts.first %}
{% assign content = post.content %}
{% include post_detail.html %}
</div>