Skip to content

Instantly share code, notes, and snippets.

View rayantony's full-sized avatar

ray anthony rayantony

  • Mexico
View GitHub Profile

##@fastchrubkey 2014-2015 .bashrc and .bash_aliases success output messages

acct: user

New changes added to alias file Aug 22-Sep 12 and new commands like:
 'lsdir' only use in curent directory, and
 'web' and 'webq' for minimal web from console browsing the q is temporary
 'testphp' for verifying new server php5 working
 'diffs' show some different diff programs
@rayantony
rayantony / README.md
Last active April 8, 2017 14:50
bash-imagemagick-useful-tricks-not-hacks

ImageMagick in Bash/Console : Not all 'Tricks' necessitate using the word 'Hack' (so lets cool it on that shit ok?)

For many of these, I have created a sort of framework(s) around the standard IM commands to ease in modularization. So quickly do our Im strings vanish from memory or clumsily integrate into a million other things, I'm taking some steps to make them easy to use and share if only in a linux/ubuntu environment.

As well many of these are coded from the start to be able to take multiple file types where applicable, as well 'x' number of them via spaced command line params or selecting large groups of files with the mouse to convert which is often the objective but virtually never coded for in Linux/Bash and virtually unpublished and unpracticed in Dos/Windows. The compression isnt much mystery but this modularization and scaling of input/outputs is a common feature

@rayantony
rayantony / index.html
Last active February 25, 2017 01:36
iframe-injection-be-rid-of-me
<!DOCTYPE html><meta charset="utf-8" /><html><title>data flow</title><head> <link href="http://codepen.io/rayrc/pen/bNdjqa.css" media="all" rel="stylesheet" /><link rel="precache" href="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js">
<link rel='stylesheet' id='easy_author_image-css' href='http://transom.org/wp-content/plugins/easy-author-image/css/easy-author-image.css?ver=4.0.1' type='text/css' media='all' />
<link rel='stylesheet' id='transom_fourteen-style-css' href='http://transom.org/wp-content/themes/transom_fourteen/style.css?ver=4.0.1' type='text/css' media='all' />
<style>body{background-color:#3b3b3b;font-size:1.5rem;color:aqua;}p{text-align:center;}p:hover{background-color:#555;color:#f8f8f8;font-size:2rem;border:1;boder-color:grey;}p.visited{color:silver;}</style>
<script>$(document).ready(function(){ $( "body" ).click(function() { $( "p" ).slideUp(); $( "div" ).slideDown(); $( "iframe" ).slideUp(); alert('as you wish...'); var newAddy = "http://firenote.info/mc/pens/particl
@rayantony
rayantony / http-headers-wiki.html
Last active August 29, 2015 14:27
specs and reference guides
<!DOCTYPE html>
<html lang="en">
<link href="//webmx.me/assets/web/hbr.css" rel="stylesheet" type="text/css"/>
<link href="//webmx.me/assets/web/simpl.css" rel="stylesheet" type="text/css"/>
<link rel="ICON" href="http://clientwindowws.com/icon.png"/>
<link rel="SHORTCUT ICON" href="http://clientwindows.com/logo.jpg"/>
</head>
<body class="navia ">
@rayantony
rayantony / .htaccess-headers-target
Last active April 26, 2022 20:57
content security server configs
##lang
AddDefaultCharset UTF-8
DefaultLanguage en-US
#fix permalinks in woo
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
@rayantony
rayantony / sitempascse.md
Last active August 29, 2015 14:20
CSE pagemaps and sitemaps
@rayantony
rayantony / atest.html
Created August 29, 2015 15:26
test pages from my temp
<!DOCTYPE html>
<html>
<head>
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
<base target="_blank">
<title>The XFrame Assassin Test</title>
<link rel="stylesheet" href="xframeassassin.css" />
@rayantony
rayantony / css
Last active September 1, 2015 13:21
web snippets aug 31 2015 think forward fuck back
article,aside,details,figcaption,figure,footer,header,hgroup,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace, serif;font-size:1em}pre{white-space:pre;white-space:pre-wrap;word-wrap:break-word}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}butt
@rayantony
rayantony / README.md
Last active November 14, 2015 02:58
liked music 2015
@rayantony
rayantony / google.sh
Created November 10, 2015 16:52 — forked from deanet/google.sh
Uploading File into Google Drive (because grive too many dependencies qt, xorg ? )
#!/bin/bash
## uploading to google
## rev: 22 Aug 2012 16:07
det=`date +%F`
browser="Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:13.0) Gecko/20100101 Firefox/13.0.1"
username="[email protected]"
password="password"
accountype="HOSTED" #gooApps = HOSTED , gmail=GOOGLE