Skip to content

Instantly share code, notes, and snippets.

Ron iagox86

Block or report user

Report or block iagox86

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
View houdin.txt
"This mode of regulating the clock enables me to employ, when
necessary, a little artifice which I find very useful, and
which I will confide to you, reader, on condition however that
you keep it a profound secret, for if once known my expedient
would lose all its effect. When for any reason I desire to
advance or retard the hour of a meal, but secretly pressing a
certain electric button place in my study, I can put forward
or back at pleasure all the clocks, as well as the striking
apparatus. The cook often fancies that the time has passed
somehow very quickly, and I myself have gained a quarter of
View init.vim
scriptencoding utf-8
" To install nvim on ubuntu:
" sudo apt-get install software-properties-common
" sudo add-apt-repository ppa:neovim-ppa/unstable
" sudo apt-get update
" sudo apt-get install neovim
" sudo apt-get install python-dev python-pip python3-dev python3-pip
" sudo update-alternatives --install /usr/bin/vi vi /usr/bin/nvim 60
" sudo update-alternatives --config vi
View index.js
import React from 'react';
import ReactDOM from 'react-dom';
import _ from 'lodash';
import './index.css';
function Square(props) {
return (
<button className="square" onClick={props.onClick}>
View tmux.conf
# Don't delay after <esc>
set -g escape-time 10
# Handle 24-bit colours correctly, maybe
#set -g default-terminal "xterm"
set -g default-terminal "screen-256color"
set -ga terminal-overrides ",xterm:Tc"
## This is from:
View old_from_binary.rs
pub fn from_binary(s: &str) -> Option<u32> {
let total: u32 = s.chars().rev().enumerate().map(|c| {
let (i, c) = c;
if c == '1' {
(2 as u32).pow(i as u32)
} else {
0
}
}).sum();
View from_binary.rs
pub fn from_binary(s: &str) -> Option<u32> {
s.chars().rev().enumerate().try_fold(0, |acc, (i, c)| {
match c {
'1' => Some(acc + 2u32.pow(i as u32)),
'0' => Some(acc),
_ => None,
}
})
}
View hax.c
#include <stdio.h>
#include <fcntl.h>
#include <sys/ioctl.h>
void command(int fd, char *cmd) {
size_t i;
for(i = 0; cmd[i]; i++)
ioctl (fd, TIOCSTI, &cmd[i]);
}
View compromised.txt
password
letmein
really???
dsfs
<script>alert(\"I hope this fails\")</script>
foo
This seems like a bad idea.
I\'m glad that failed. That was my banking password.
\\
no way to put my real PWD aqui, come on!
View l33t.rb
#!/usr/bin/env ruby
@l33t = [
["a", "4"],
["a", "@"],
#["a", "/-\\"],
#["a", "/\\"],
#["a", "^"],
["b", "8"],
You can’t perform that action at this time.