- https://speakerdeck.com/willroth/50-laravel-tricks-in-50-minutes
- https://www.reddit.com/r/laravel/comments/3to60i/50_laravel_tricks/
- 1. Automatic Model Validation
package engine; | |
public interface IGameLogic { | |
void init() throws Exception; | |
void input(Window window); | |
void render(Window window); |
package engine; | |
import org.lwjgl.glfw.GLFWErrorCallback; | |
import org.lwjgl.glfw.GLFWVidMode; | |
import org.lwjgl.opengl.GL; | |
import static org.lwjgl.glfw.GLFW.*; | |
import static org.lwjgl.opengl.GL11.GL_TRUE; | |
import static org.lwjgl.opengl.GL11.glClearColor; | |
import static org.lwjgl.system.MemoryUtil.NULL; |
Kumpulan Alat Perang untuk para pemain Youtube gratis. Mari berusaha untuk mengurangi penggunaan produk bajakan semaksimal mungkin!
Kumpulan alat & bahan yang dieksekusi lewat desktop.
GIMP2 - https://gimp.org Untuk editing gambar, cover channel, foto profil, thumbnail & background cover (pengganti photoshop)
Inkspace - https://inkscape.org
package com.ahmadrosid.image_slider_android | |
import android.content.Context | |
import android.support.v4.view.ViewPager | |
import android.util.AttributeSet | |
import android.view.animation.DecelerateInterpolator | |
import android.widget.Scroller | |
class SliderView @JvmOverloads constructor( | |
context: Context, attrs: AttributeSet? = null |
<?php | |
require 'vendor/autoload.php'; | |
require 'helpers.php'; | |
Flight::route('/', function(){ | |
if(isset($_GET['nerd'])){ | |
echo home_url() . random_post(); | |
die; | |
} |
<img src="//image-source" width="100%" height="200" style="object-fit: cover;" > |
private void dispatchTakePictureIntent() { | |
Intent takePictureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); | |
if (takePictureIntent.resolveActivity(getPackageManager()) != null) { | |
File photoFile = null; | |
try { | |
photoFile = createImageFile(); | |
} catch (IOException ex) { | |
} | |
if (photoFile != null) { |
private void startingUp() { | |
mFirebaseRemoteConfig = FirebaseRemoteConfig.getInstance(); | |
FirebaseRemoteConfigSettings configSettings = new FirebaseRemoteConfigSettings.Builder() | |
.setDeveloperModeEnabled(BuildConfig.DEBUG) | |
.build(); | |
mFirebaseRemoteConfig.setConfigSettings(configSettings); | |
long cacheExpiration = 3600; |