admin

Zend Tool Cheat Sheet

Zend Tool Cheat Sheet Zend Framework Command Line Console Tool v1.11.5 Usage zf [–glo­bal­-opts] action­-name [–act­ion­-opts] provid­er-name [–pro­vid­er-­opts] [provider parameters …] Note: You may use «­?» in any place of the above usage string to ask for more specific help inform­ation. Example: «zf ? versio­n» will list all available actions for the version provider. Version […]

Zend Tool Cheat Sheet Leer más »

JSON Cheat Sheet

JSON Cheat Sheet A JSON cheat sheet. Data Types number var myNum = 123.456; Series of numbers; decimals ok; double­-pr­ecision floati­ng-­point format string var myString = «­abc­def­»; Series of characters (letters, numbers, or symbols); double­-quoted UTF-8 with backslash escaping boolean var myBool = true; true or false array var myArray = [ «­a», «­b», «­c»,

JSON Cheat Sheet Leer más »

Git Cheat Sheet – cheat sheets

Git Cheat Sheet Cheat Sheet for the Git Distributed Version Control System. Based on https://github.com/AlexZeitler/gitcheatsheet and http://www.git-tower.com/files/cheatsheet/Git_Cheat_Sheet_grey.pdf Create Git Repository From existing direct­ory cd proje­ct_dir git init git add . From other reposi­tory git clone exist­ing­_dir new_dir git clone git:/­/gi­thu­b.c­om/­use­r/r­epo.git git clone https­://­git­hub.co­m/u­ser­/re­po.git Git – Local Changes Changed in working direct­ory git status Tracked file changes git diff Add changed

Git Cheat Sheet – cheat sheets Leer más »

Bootstrap cheat sheets

  Structure d’une page HTML avec Bootstrap <!DOCTYPE html> <html lang=»en»> <head> <meta charset=»utf-8″> <meta http-equiv=»X-UA-Compatible» content=»IE=edge»> <meta name=»viewport» content=»width=device-width, initial-scale=1″> <link rel=»stylesheet» href=»https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css»> <link rel=»stylesheet» href=»https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css»> <title>Bootstrap Page</title> </head> <body> <div class=»container»> <!– ou class=»container-fluid» –> <div class=»row»> ////// Colonnes de la page </div> </div> <script src=»https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js»></script> <script src=»https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js»></script> </body> </html> Gestion des colonnes

Bootstrap cheat sheets Leer más »

WordPress Cheat Sheet

  TXTFMT Text processing Types addslashes bin2hex conver­t_u­udecode conver­t_u­uencode crc32 crypt html_e­nti­ty_­decode html_e­ntities htmlsp­eci­alchars htmlsp­eci­alc­har­s_d­ecode lcfirst ltrim md5 nl2br remove­_ac­cents rtrim sha1 str_rot13 strips­lashes strlen strrev strtolower strtoupper ucfirst trim ucwords wptext­urize Text Formatting codes can be combined by separating them with commas. The list is processed in left to right order. Shortcode Attribute Placeh­olders

WordPress Cheat Sheet Leer más »

JQuery Cheat Sheet

JQuery Cheat Sheet Basic use of jquery  jquery Selectors $(‘*’); $(‘ele­ment’); $(‘.cl­ass’); $(‘#ID’); $(‘sel­ector1, selector2, select­orN’); DOM .append() .prepend() .appen­dTo() .prepe­ndTo() .after() .before() .inser­tAf­ter() .inser­tBe­fore() .next() .prev() .data() .attr(­’at­tri­but­eNa­me’­,’a­tri­bute’) .remov­eProp() prop() .empty() .remove() .remov­eAttr() .first() .last() .child­ren() .find() .html() .text(); .val() .end() .css(‘­sty­leN­ame­’,’­style’) .addCl­ass() .remov­eCl­ass() toggle­Class() .eq() .end() not() var object = $.exte­nd({}, object1, object2);

JQuery Cheat Sheet Leer más »

Moodle developer’s cheat sheet

Moodle developer’s cheat sheet Cheat Sheet Common functions userful for developers working in Moodle Capabi­lities Has capabi­litity has_ca­pab­ility() User is admin is_admin() Require Capability requir­e_c­apa­bil­ity() Context Levels System Context CONTEX­T_S­YSTEM 10 User Context CONTEX­T_USER 30 Course Category Context CONTEX­T_C­OUR­SECAT 40 Module Context CONTEX­T_M­ODULE 70 Block Context CONTEX­T_BLOCK 80 Course Context CONTEX­T_C­OURSE 50 Access API System

Moodle developer’s cheat sheet Leer más »