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
/* 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; |
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
/* 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; |
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
<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> |
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
.ca-menu{ | |
padding:0; | |
margin:20px auto; | |
width: 500px; | |
} | |
.ca-menu li{ |
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
-- 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" |
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
-- 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 |
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
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 |
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
# 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" |
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
// 2018 | |
wget -rpk --no-parent https://domain.comm/ | |
// older | |
wget \ | |
--recursive \ | |
--no-clobber \ | |
--page-requisites \ | |
--html-extension \ | |
--convert-links \ |
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
##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 |
OlderNewer