View funtions.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//mod content | |
function hatom_mod_post_content ($content) { | |
if ( in_the_loop() && !is_page() ) { | |
$content = '’.$content.”; | |
} | |
return $content; | |
} | |
add_filter( ‘the_content’, ‘hatom_mod_post_content’); |
View sshantiscan_honeypot.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Put SSHd on another Port | |
# If someone scans your typical sshport 22 he will be blocked for 10 Minutes | |
HP_IPT='/sbin/iptables' | |
HP_Port=22 | |
HP_Time=600 | |
$HP_IPT -N honeypot | |
$HP_IPT -A INPUT ! -s 127.0.0.1 -j honeypot |
View .screenrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
startup_message off | |
deflogin on | |
vbell on | |
vbell_msg " Wuff ---- Wuff!! " | |
defscrollback 1024 | |
bind ^k | |
bind ^\ | |
bind \\ quit | |
bind K kill | |
bind I login on |
View style.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { | |
-moz-user-select: -moz-none; | |
margin: 0; | |
padding: 0; | |
text-decoration: none; | |
} | |
#content { | |
overflow: hidden; | |
color: #423E3E; | |
background: repeat scroll 0 0 #f3f3f3; |
View ender.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* ============================================================= | |
* Ender: open module JavaScript framework (https://ender.no.de) | |
* Build: ender build jeesh reqwest | |
* ============================================================= | |
*/ | |
/*! | |
* Ender: open module JavaScript framework (client-lib) |
View falsenamekiller.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
illegal = list('''!"#$%&\'()*+,/:;<=>?@[\\]^_`{|}~ ''') | |
repl = "_" | |
for root,dir,files in os.walk(os.getcwd()): | |
for fi in files: | |
for ill in illegal: | |
if ill in fi: | |
print "found ", os.path.join(root,fi) | |
newname = fi.replace(ill,repl) | |
os.rename( os.path.join(root,fi) , os.path.join(root,newname) ) |
View youtube.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Jekyll | |
class Youtube < Liquid::Tag | |
@@width = 640 | |
@@height = 510 | |
def initialize(name, id, tokens) | |
super | |
@id = id | |
end |
View Rakefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27c27 | |
< editor = ENV["EDITOR"] || "" # if environment variable $EDITOR is set, newly-created posts will automatically open for editing | |
--- | |
> | |
112,114d111 | |
< if #{editor} | |
< system "#{editor} #{filename}" | |
< end | |
361,392d357 | |
< end |
View _config.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Google Plus Profile | |
# Hidden: No visible button, just add author information to search results | |
googleplus_user: 112735778092864419421 | |
googleplus_hidden: yes | |
googleplus_profile_display: block | |
googleplus_post_display: block | |
googleplus_post_amount: 10 | |
# Google Api Console | |
google_api_key: AIzaSyCqR5_JXEJlRpJJmjLwiRxNR2M5xyxEOBI |
View .newsbeuter config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
auto-reload yes | |
browser /home/seraphyn/bin/browserstart | |
confirm-exit yes | |
display-article-progress yes | |
notify-format "newsbeuter: finished reload, %f unread feeds (%n unread articles total)" | |
notify-program "notify-send" | |
refresh-on-startup no | |
reload-time 120 | |
show-read-feeds no | |
show-read-articles no |
OlderNewer