2015. március 29., vasárnap

Kopaszkutya film


Lerobbant művelődési ház előcsarnoka. A mozgalmi táblák és egyéb ünnepi díszletek tövében csirkék kapirgálnak. A Johnny Be Good hangjai szűrődnek ki a nagyteremből. Bent a Colorado nyomja a bluest. A fűtetlen helyiségben az együttesen kívül egy-két ember lézeng. Ez így nem mehet tovább! Ki kell találni valamit! És nemsokára a főnöknek eszébe jut a nagy ötlet. Egyik kezével egy lekváros buktát szorongatva, a másikkal a fenekét vakargatva a banda elé áll: gyerekek, átmegyünk a Tobacco Roadról a Retek utcába, lemegyünk bunkóba, lemegyünk furkóba. A szocialista vadkeleten új banda születik.



Kopaszkutya film

Web Solution Stack

Classic, Hybrid, Client stack


A web solution stack is a group of technologies that when combined, create the backbone for a modern web application.


Thankfully due to these new JavaScript technologies web developers have the opportunity to now easily build applications that move a good portion of the business logic to the client.


http://thewebhacker.com/understanding-the-modern-web-solution-stack/



Web Solution Stack

CodinGame - code game

It seems like a great platform to learn PHP and other languages.


www.codingame.com



CodinGame - code game

2015. március 24., kedd

2015. március 23., hétfő

The SICK BAG Song by Nick Cave

The Sick Bag Song chronicles

Nick Cave’s 2014 tour of North

America with The Bad Seeds.

The account of this 22-city journey

began life scribbled on airline sick bags

and grew into a restless full-length epic,

seeking out the roots of inspiration,

love and meaning.


http://www.thesickbagsong.com/



The SICK BAG Song by Nick Cave

2015. március 17., kedd

10 weeks of node.js after 10 years of PHP

How I did things before on the server with PHP and the Laravel framework:


Route::get(‘user/id’, function($id) 
$user = User::find($id);
return Response::json($user->toArray());
);

And how I do the same thing now with node.js, Express and mongoose


app.route(‘/user/:id’).get(function(req, res) 
User.findById(req.params.id).exec(function(err, user)
res.jsonp(user);
);
);

Looking at this you might wonder what all the fuzz is about and why people get so emotional when talking about different programming languages.


source: https://medium.com/unexpected-token/10-weeks-of-node-js-after-10-years-of-php-a352042c0c11



10 weeks of node.js after 10 years of PHP

2015. március 12., csütörtök

PHPExcel

A pure PHP library for reading and writing spreadsheet file.  https://github.com/PHPOffice/PHPExcel


Home page:  http://phpexcel.codeplex.com/wikipage?title=Examples


Use 01simple-download-xls.php if you want output to a client’s web browser (Excel5)


If you gotn this error: “exception ‘PHPExcel_Calculation_Exception’ with message”.

Add this
$objWriter->setPreCalculateFormulas(false);

row before save:


$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel5');

//$objWriter->setPreCalculateFormulas(false);

$objWriter->save('php://output');


info from here: https://phpexcel.codeplex.com/discussions/237881



PHPExcel

2015. március 9., hétfő

készül...: Zé hallgat

Zé hallgat, nincs friss jelentés róla.

Múltjának tintaceruzás feljegyzésében fehér javító festékkel törölt ki szavakat amitől más értelmet kap a történet.

..

Majd Zé levelet ír annak akit alig ismer.

Pedig tudja, hogy  a választ már nem ő olvassa.



készül...: Zé hallgat

Laravel Facebook login error : Argument 1 passed to Illuminate\Auth\Guard::login() ...

Error:


Argument 1 passed to Illuminate\Auth\Guard::login() must implement interface Illuminate\Auth\UserInterface, null given


The problem occurs if the user data deleted from users table but this user data, id exists in the profiles table!


Check it, last post: http://laravel.io/forum/05-14-2014-cant-login-user-in-test


 



Laravel Facebook login error : Argument 1 passed to Illuminate\Auth\Guard::login() ...

ExcelJS

Read, manipulate and write spreadsheet data and styles to XLSX and JSON.


https://github.com/guyonroche/exceljs


Writing XLSX


// write to a file
var workbook = createAndFillWorkbook();
workbook.xlsx.writeFile(filename)
.then(function()
// done
);


ExcelJS

2015. március 3., kedd

Bootstrap Alerts

Creating Alert Messages with Bootstrap: http://www.tutorialrepublic.com/twitter-bootstrap-tutorial/bootstrap-alerts.php


Alert:


<div class=”alert alert-error”>

<a href=”#” class=”close” data-dismiss=”alert”>&times;</a>

<strong>Error!</strong> A problem has been occurred while submitting your data.

</div>


Success:


<div class=”alert alert-success”>

<a href=”#” class=”close” data-dismiss=”alert”>&times;</a>

<strong>Success!</strong> Your message has been sent successfully.

</div>


 


 



Bootstrap Alerts

2015. március 2., hétfő

Laravel snippets

 


Laravel – get last query:


$queries = DB::getQueryLog();

$last_query = end($queries);

var_dump($last_query);
Echo the version of the current Laravel version in PHP:

$laravel = app();

echo $version = $laravel::VERSION;


 



Laravel snippets

Laravel snippet - get last query

 


Laravel – get last query:


$queries = DB::getQueryLog();

$last_query = end($queries);

var_dump($last_query);



Laravel snippet - get last query

2015. március 1., vasárnap

Laravel snippet - get last query

 


Laravel – get last query:


$queries = DB::getQueryLog();

$last_query = end($queries);

var_dump($last_query);



Laravel snippet - get last query

Emlékerdő

Az Emlékerdő egy olyan erdei temetkezési emlékhely, ahol az elhunyt hamvai egy biológiai úton lebomló, környezetbarát urnában kerülnek elhelyezésre az előzetesen kiválasztott erdei emlékfa gyökereinél. Ezúton már Magyarországon is elérhető ez az igazán természetes és méltóságteljes búcsúztatási forma, mely méltó alternatívája lehet a hagyományos sírkerteknek, temetőknek.


http://emlekerdo.hu/



Emlékerdő