Skip to content

Instantly share code, notes, and snippets.

😻
meow

Bailey Stoner monokrome

😻
meow
Block or report user

Report or block monokrome

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@monokrome
monokrome / move.c
Last active May 24, 2019 — forked from Unlimiter/move.c
Fast function for moving files.
View move.c
/** this was posted as a fast function for moving files... lolwat!? **/
/*
* Fast function for moving files.
* — Unlimiter
*/
// This function has been tested with 'https://norvig.com/big.txt' which has the size of 6488666 bytes, and the execution time was very close to null.
// At that point, it is very comparable to the 'mv' command on Linux.
void move(char* src_path, char* dest_path) {
View linux-workstation-security.md

Linux workstation security checklist

This is a set of recommendations used by the Linux Foundation for their systems administrators. All of LF employees are remote workers and we use this set of guidelines to ensure that a sysadmin's system passes core security requirements in order to reduce the risk of it becoming an attack vector against the rest of our infrastructure.

Even if your systems administrators are not remote workers, chances are that they perform a lot of their work either from a portable laptop in a work

View freenode_channels.txt
This file has been truncated, but you can view the full file.
2391 ##linux Channel website: https://freenode.linux.community | Pastebin: https://paste.linux.community | Need an op? Join ##linux-ops | CoC? ##linux-offtopic, please.
1931 #python Don't paste, use https://paste.pound-python.org/ | http://bit.ly/psf-coc | Tutorial: http://bit.ly/MCAhYx | New programmer? http://bit.ly/23X7emF | Specify 2.x or 3.x in your question | Find your local User Group: http://goo.gl/S1Zsq | #python-fr #python.de #python-es #python.tw #python-br #python-nl #python-ir #python.it #python-ro #python-india #python-hu #python-dk #python-dev
1926 #freenode Welcome to #freenode | Feel free to message staff at any time. You can find us using /stats p (shows immediately-available staff) or /who freenode/staff/* (shows all staff) | See https://freenode.net/news/spambot-attack regarding spam | User mode +R blocks unregistered user PMs
@monokrome
monokrome / firefox.md
Created Oct 31, 2017 — forked from maxzinkus/firefox.md
Configuring Firefox for security and privacy (as of Oct. 2017)
View firefox.md

Configuring/Hardening Firefox for Security and Privacy

Source for some of these

  1. about:config
  • dom.event.clipboardevents.enabled => false
  • clipboard.plainTextOnly => true
  • referer spoofSource => true
  • media.peerconnection
@monokrome
monokrome / firefox.md
Created Oct 31, 2017 — forked from maxzinkus/firefox.md
Configuring Firefox for security and privacy (as of Oct. 2017)
View firefox.md

Configuring/Hardening Firefox for Security and Privacy

Source for some of these

  1. about:config
  • dom.event.clipboardevents.enabled => false
  • clipboard.plainTextOnly => true
  • referer spoofSource => true
  • media.peerconnection
View README.md
View pre-commit
#!/usr/bin/env sh
# rename pre-commit.sample in the hooks directory to pre-commit and replace its content with this
set_traces=`git grep ".set_trace()"`
if [ ! -z "$set_traces" ] ; then
echo "You have pdb.set_trace() in your code! Commit aborted!"
echo $set_traces
exit 1
View gist:5446635
from django.core.serializers import json
def increase_by(amount):
def addition(original):
return original + amount
return addition
numbers = map(increase_by(5), [1, 2, 3])
View Sherkhan mad
<p>
<a href=http://vampirefreaks.com/gallery/Thesis>
<center>
<img src=http://oi47.tinypic.com/o74mz8.jpg />
</center>
</a>
</p>
<p>
<a href=http://vampirefreaks.com/user_comment.php?user=thesis&amp;uid=4703510&amp;comment_id=312534571>
View jquery.ba-deparam.js
// jQuery Deparam - v0.1.0 - 6/14/2011
// http://benalman.com/
// Copyright (c) 2011 Ben Alman; Licensed MIT, GPL
(function($) {
// Creating an internal undef value is safer than using undefined, in case it
// was ever overwritten.
var undef;
// A handy reference.
var decode = decodeURIComponent;
You can’t perform that action at this time.