This file contains hidden or 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
// Object Constructor | |
function Car(){ | |
// private variable | |
var speed = 0; | |
// public methods | |
return { | |
accelrate : function(s){ | |
speed = speed + s; | |
This file contains hidden or 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
/* Sparse theme Textblock */ | |
// Theme Location | |
// Sparse/wpbakery/js_composer/ | |
// Edit File : js_composer/asstes/js/backend/composer-view.js | |
// function _killEditor(){ | |
This file contains hidden or 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
-- DELETE duplicate entry | |
BEGIN; | |
CREATE | |
TABLE tempT SELECT MIN(id) id | |
FROM L_table | |
GROUP BY l_field, etc ASC; | |
DELETE | |
FROM L_table | |
WHERE id NOT IN (SELECT id | |
FROM tempT); |
This file contains hidden or 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
<?php | |
/** | |
* @author Arlo Carreon | |
* @author Robert Alvarez | |
* | |
*/ | |
class Permissions { | |
// Bitmasks | |
const REPORTS = 1; |