https://gist.github.com/biojazzard/f96ae350c628fafac41e
A Pen by Alfredo Llanos on CodePen.
### | |
# alfredo@1un.es | 02.2015 | |
### | |
(($) -> | |
# Variables | |
config = | |
welcome: '############# 1un.es #############' |
/* 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; |
/* 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; |
<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> |
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
.ca-menu{ | |
padding:0; | |
margin:20px auto; | |
width: 500px; | |
} | |
.ca-menu li{ |
-- 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" |
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 |
# 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" |
##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 |