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
/** | |
* Users | |
* | |
* @module :: Model | |
* @description :: A short summary of how this model works and what it represents. | |
* @docs :: http://sailsjs.org/#!documentation/models | |
*/ | |
var bcrypt = require('bcrypt'); | |
module.exports = { |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"> | |
</script> | |
<script> | |
$(document).ready(function(){ | |
$("button").click(function(){ | |
$.get("demo.php",function(data,status){ | |
alert("Data: " + data + "\nStatus: " + status); |
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
bármelyik jó | |
parapark a legrégebbi | |
klasszikus | |
most a legújabb amit az olivér bátyja csinált és az ilyen prémium | |
az meg a Funlock | |
árban ugyanaz kb mint a többi | |
csak igényes berendezéssel | |
a többi inkább lepukkant | |
kivel mennél? |
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
@font-face { | |
font-family: 'Kaushan Script'; | |
font-style: normal; | |
font-weight: 400; | |
src: local('Kaushan Script'), local('KaushanScript-Regular'), url(http://themes.googleusercontent.com/static/fonts/kaushanscript/v1/qx1LSqts-NtiKcLw4N03ILDH3ri20rYH10B2w3wbVeU.woff) format('woff'); | |
} | |
@font-face { | |
font-family: 'Open Sans'; | |
font-style: normal; | |
font-weight: 300; |
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
<?php | |
$this->load->helper(array('string','array')); | |
$pass = random_string(); | |
$this->load->driver('Streams'); | |
$profile_validation = $this->streams->streams->validation_array('profiles', 'users'); | |
$assignments = $this->streams->streams->get_assignments('profiles', 'users'); | |
//var_dump($profile_validation); |
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
8-7+7*0+2/2 | |
8-7+(7*0)+(2/2) | |
8-7+0+1 | |
1+0+1 | |
2 |
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
<?php | |
public function streams_attribute($param, $default = NULL) | |
{ | |
$value = $this->attribute($param, $default); | |
// See if we have any vars in there | |
if(strpos($value, '[') !== FALSE): | |
$segs = array( | |
'segment_1' => $this->uri->segment(1,$this->attribute('segment_def')), |
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
<? | |
function update_slug(){ | |
$this->load->helper('url'); | |
$entries=$this->db->get('TABLE')->result(); | |
foreach($entries as $entry){ | |
$slug=url_title($entry->NAME,'-',TRUE); | |
$this->db->update('TABLE',array('SLUG'=>$slug),array('id'=>$entry->id)); | |
} | |
} | |
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
DEBUG - 2012-11-16 21:55:46 --> Model Class Initialized | |
DEBUG - 2012-11-16 21:55:46 --> File loaded: system/cms/modules/settings/language/hungarian/settings_lang.php | |
DEBUG - 2012-11-16 21:55:46 --> Language file loaded: language/hungarian/global_lang.php | |
DEBUG - 2012-11-16 21:55:46 --> File loaded: system/cms/modules/users/language/hungarian/user_lang.php | |
DEBUG - 2012-11-16 21:55:46 --> File loaded: system/cms/modules/files/language/english/files_lang.php | |
DEBUG - 2012-11-16 21:55:46 --> File loaded: system/cms/modules/modules/models/module_m.php | |
DEBUG - 2012-11-16 21:55:46 --> Model Class Initialized | |
DEBUG - 2012-11-16 21:55:46 --> Database Forge Class Initialized | |
DEBUG - 2012-11-16 21:55:46 --> Database Forge Class Initialized | |
DEBUG - 2012-11-16 21:55:46 --> Database Forge Class Initialized |
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
<?php | |
/* | |
* | |
FELADAT LEÍRÁSA | |
Készíts egy egyszerü amőba programot. Rakni úgy lehessen hogy megadod az x illetve az y kordinátákat, illetve hogy milyen karaktert használ a játékos. Ezeket a program adatbázisban tárolja. | |
A játék "rajzolásához" használj táblázatot. | |
Minta URL: apps.dcw.hu/amoba/ | |
SQL: apps.dcw.hu/amoba/amoba.sql | |
* | |
*/ |