Skip to content

Instantly share code, notes, and snippets.

Avatar
😇
I´m a Saint

Alfredo Llanos biojazzard

😇
I´m a Saint
View GitHub Profile
View dabblet.css
/* estelada */
.flag {
width: 460px;
min-width: 460px;
height: 300px;
min-height: 300px;
overflow: hidden;
margin: 0px auto;
-ms-box-shadow: rgba(0, 0, 0, 0.5) -1px -1px 2px;
-webkit-box-shadow: rgba(0, 0, 0, 0.5) -1px 1px 2px;
View dabblet.css
/* estelada */
.flag {
width: 460px;
min-width: 460px;
height: 300px;
min-height: 300px;
overflow: hidden;
margin: 0px auto;
-ms-box-shadow: rgba(0, 0, 0, 0.5) -1px -1px 2px;
-webkit-box-shadow: rgba(0, 0, 0, 0.5) -1px 1px 2px;
@biojazzard
biojazzard / _snippet.html
Created Feb 20, 2012 — forked from elijahmanor/_snippet.html
Find the jQuery Bug #4: Solution
View _snippet.html
<ul id="menu">
<li><a href="#">Browsers</a>
<ul>
<li><a href="#">Firefox</a></li>
<li><a href="#">Google Chrome</a></li>
<li><a href="#">Internet Explorer</a></li>
<li><a href="#">Opera</a></li>
<li><a href="#">Safari</a></li>
</ul>
</li>
@biojazzard
biojazzard / dabblet.css
Created Mar 26, 2012
The first commented line is your dabblet’s title
View dabblet.css
/**
* The first commented line is your dabblet’s title
*/
.ca-menu{
padding:0;
margin:20px auto;
width: 500px;
}
.ca-menu li{
@biojazzard
biojazzard / ApplescriptIdleTimedActions
Created May 23, 2012
Applescript Idle Timed Actions
View ApplescriptIdleTimedActions
-- Remember to Save as... Application
-- I don´t remember where I Saw it.
```AppleScript
global quit_after, check_every, app_name
set quit_after to 30
set check_every to 5
set app_name to "djay"
@biojazzard
biojazzard / ApplescriptQuicktimeFullScreen
Created May 29, 2012
Applescript Open a Movie in FullScreen
View ApplescriptQuicktimeFullScreen
-- Version: QT 7 for OSX 10.6
on run
set unixpath to "/Volumes/Mac HD/Users/Movies/thefilm.mov"
set macfile to (POSIX file unixpath)
delay 1
tell application "QuickTime Player 7"
activate
delay 1
open file macfile
set looping of document 1 to true
@biojazzard
biojazzard / applscript-autoquit
Created May 31, 2012
Applescript AutoQuit Everything
View applscript-autoquit
tell application "System Events" to set the visible of every process to true
set white_list to {"Finder", "AppleScript Editor"}
try
tell application "Finder"
set process_list to the name of every process whose visible is true
end tell
repeat with i from 1 to (number of items in process_list)
set this_process to item i of the process_list
if this_process is not in white_list then
tell application this_process
View cli-dictionary
# Encontrar texto en archivo
find <directory to search> -type f | xargs grep -rl '<text to search for>'
# Ex:
find ./ -type f | xargs grep -rl 'eval(base64_decode'
# Encontrar archivo más viejo que, con extension:
find ./ -mtime +1200 -name "*.php"
@biojazzard
biojazzard / wget-download
Last active Mar 13, 2018
Download a Site with: wget
View wget-download
// 2018
wget -rpk --no-parent https://domain.comm/
// older
wget \
--recursive \
--no-clobber \
--page-requisites \
--html-extension \
--convert-links \
View basic_phpfog_usage
##Basic phpfog Usage
1. List your apps: pf list apps
2. To fetch your application code: pf clone <app_id>
3. Make your changes
4. Stage changes in your local repo: git add -A
5. Commit changes: git commit -m 'My first commit'
6. Deploy to PHP Fog: pf push
You can’t perform that action at this time.