Getting started:
Related tutorials:
- MySQL-CLI: https://www.youtube.com/playlist?list=PLfdtiltiRHWEw4-kRrh1ZZy_3OcQxTn7P
- Analyzing Business Metrics: https://www.codecademy.com/learn/sql-analyzing-business-metrics
int randomInteger = -10 + (int) (Math.random() * ((10 - (-10)) + 1)); |
package nl.dtt.welzorgpechhulp; | |
import com.google.android.gms.common.ConnectionResult; | |
import com.google.android.gms.common.GooglePlayServicesClient; | |
import com.google.android.gms.location.LocationClient; | |
import com.google.android.gms.maps.CameraUpdate; | |
import com.google.android.gms.maps.CameraUpdateFactory; | |
import com.google.android.gms.maps.GoogleMap; | |
import com.google.android.gms.maps.MapView; | |
import com.google.android.gms.maps.MapsInitializer; |
<?php | |
namespace Laurora\HelloWorldBundle\Controller; | |
use Symfony\Bundle\FrameworkBundle\Controller\Controller; | |
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; | |
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; | |
class DefaultController extends Controller | |
{ |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
Getting started:
Related tutorials:
/* Ugly fix to remove list float | |
-----------------------------------------------------------*/ | |
@media screen and (max-width: 550px) { | |
.products .thumbnail-container { | |
margin-bottom: 0px !important; | |
} | |
.woocommerce ul.products li.product{ | |
float: none !important; | |
} | |
} |
http://api.jquery.com/submit/ |
def get_hash(name) | |
readsize = 64 * 1024 | |
File.open(name, 'rb') do |f| | |
size = File.size?(name) | |
data = f.read(readsize) | |
f.seek(-readsize, IO::SEEK_END) | |
data += f.read(readsize) | |
return Digest::MD5.hexdigest(data) | |
end | |
end |
<?php | |
header('WWW-Authenticate: Basic realm="HN-Cloud"'); | |
header('HTTP/1.0 401 Unauthorised'); |
def greet(name): | |
print 'Hello', name |