Skip to content

Instantly share code, notes, and snippets.

View posixpascal's full-sized avatar
💭
All your bases are belong to us

Pascal posixpascal

💭
All your bases are belong to us
View GitHub Profile
.popover .arrow,
.popover .arrow:after {
position: absolute;
display: inline-block;
width: 0;
height: 0;
border-color: transparent;
border-style: solid;
}
@posixpascal
posixpascal / gist:05a436eeb2903310a6be
Created July 3, 2014 16:00
FormGenie DEMO source
<form method="post" action="#/stubs/register.php" class='fg-form'>
<div class="well">
<label for="email">Enter your email</label> <input type="text" class="form-control"
name="email" />
</div>
<div class="well">
<label for="myNumberField">Enter our secret pin (500-0000)</label> <input type=
"text" name="pin" class="form-control" data-regex="5(\d\d)-(\d{4})$"
data-regex-flags="gi" />
lib.lastUpdatedPages = CONTENT
lib.lastUpdatedPages {
table = tt_content
select {
orderBy = tstamp DESC
max = 10
# v-
pidInList = root, -1, this
recursive = 100
}
@posixpascal
posixpascal / Freedcamp.com Cleanup
Created May 12, 2017 08:58
Hide finished tasks from freedcamp using a bookmarklet.
javascript:$(".todo_wrapper.completed_1").slideUp();
@posixpascal
posixpascal / genesis_public_key
Created February 8, 2018 13:17
genesis_public_key
040ffbdf28e849de3fe9a62e9e3b22d563d0e0a2a1070eea8522f0047eb8be822d79bf6fc8ec43e8d6809ebe7d6ab943260bd689f804a637947800b07050fdad50

Keybase proof

I hereby claim:

  • I am posixpascal on github.
  • I am pascalraszyk (https://keybase.io/pascalraszyk) on keybase.
  • I have a public key whose fingerprint is F83F E725 8902 A8AA BCFE 82E1 2B4B FC9C DE0E 8089

To claim this, I am signing this object:

@posixpascal
posixpascal / security.php
Last active March 3, 2024 23:27
wordpress hardening snippet
<?php
// 1. Please read this snippet carefully before continuing. [It may break your site if you are not careful]
// 2. Paste this snippet into ./wp-content/mu-plugins/security.php
// 3. Log-in to WP Dashboard once to apply the .htaccess changes
/**
* Copyright 2024 xupx - <[email protected]> & more