sudo crontab -e
Vi editor'da klavyenizden bir kez I harfine basın ve aşağıdaki komutu girin:
*/10 * * * * root find / -name ".DS_Store" -depth -exec rm {} \;
- Bu crontab girişi aşağıdaki formata sahiptir:
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| sudo find /private/var/folders/ -name com.apple.dock.iconcache -exec rm {} \; | |
| killall "Dock" |
| <?php | |
| $paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1; | |
| $q = new WP_Query([ | |
| 'post_type' => 'directory', // replace with yours post type. | |
| 'posts_per_page' => get_option('posts_per_page'), | |
| get_query_var( 'taxonomy' ) => get_query_var( 'term' ), | |
| 'paged' => $paged | |
| ]); | |
| $temp_query = $wp_query; | |
| $wp_query = null; |
| .row-no-padding > [class*="col-"] { | |
| padding-left: 0 !important; | |
| padding-right: 0 !important; | |
| } | |
| div[class*="col-"] { | |
| padding-left: 0 !important; | |
| padding-right: 0 !important; | |
| } |
| <?php | |
| /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ | |
| /** | |
| * WordPress Replace Image URL | |
| * | |
| * Replaces image url content of the WordPress post content. | |
| * | |
| * PHP version 5 | |
| * WordPress version 3.5 |
| { | |
| "team.showWelcomeMessage": false, | |
| "editor.snippetSuggestions": "top", | |
| "editor.formatOnPaste": true, | |
| "editor.fontSize": 16.3, | |
| "editor.tabSize": 2, | |
| "git.enableSmartCommit": true, | |
| "workbench.colorTheme": "itg dark", | |
| "git.autofetch": true, | |
| "gitlens.advanced.messages": { |
| <?php | |
| class FacebookDebugger | |
| { | |
| /* | |
| * https://developers.facebook.com/docs/opengraph/using-objects | |
| * | |
| * Updating Objects | |
| * | |
| * When an action is published, or a Like button pointing to the object clicked, | |
| * Facebook will 'scrape' the HTML page of the object and read the meta tags. |
| /* | |
| Türkiye İl ve İlçelerin enlem boylam bilgileri (dörtgen olarak sınır pozisyonlarıyla birlikte) kaynak : google maps (başarsoft) | |
| twitter : http://twitter.com/tserpico | |
| */ | |
| DROP TABLE IF EXISTS `pk_il`; | |
| CREATE TABLE `pk_il` ( | |
| `il_id` int(2) NOT NULL COMMENT 'plaka kodu', | |
| `il_adi` varchar(255) NOT NULL, | |
| `lat` double(20,8) DEFAULT NULL COMMENT 'enlem', |
return response($return, 200)
->header("Content-type", "application/json")
->header("Access-Control-Allow-Credentials", "true")
->header("Access-Control-Allow-Origin", "*.ampproject.org")
//->header("AMP-Access-Control-Allow-Source-Origin", $ampxhr)
->header("Access-Control-Expose-Headers", "AMP-Access-Control-Allow-Source-Origin");