- jQuery - The de-facto library for the modern age. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
- Backbone - Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.
- AngularJS - Conventions based MVC framework for HTML5 apps.
- Underscore - Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects.
- lawnchair - Key/value store adapter for indexdb, localStorage
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> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>{% block title %}{% endblock %}</title> | |
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" /> | |
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap-theme.min.css" /> |
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
{# Yeni Ödev Ekleme Formu #} | |
<form action="{{ path('ekle') }}" data-parsley-validate name="form-odev-ekle" id="form-odev-ekle" method="post" onsubmit="return false"> | |
<div id="yeni_odev_kutusu"> | |
<div class="row"> | |
<div class="col-md-6"> | |
<div class="form-group"> | |
<label>Soru Bankası</label> | |
<input name="soru-bankasi-adi" type="text" class="form-control" placeholder="Soru Bankasının Adını Giriniz"> | |
</div> |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
- 960 Grid System - An effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.
- Compass - Open source CSS Authoring Framework.
- Bootstrap - Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
- Font Awesome - The iconic font designed for Bootstrap.
- Zurb Foundation - Framework for writing responsive web sites.
- SASS - CSS extension language which allows variables, mixins and rules nesting.
- Skeleton - Boilerplate for responsive, mobile-friendly development.
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
$this->container->getParameter('api_user'); |
You can use the templating.helper.assets service. First define your assets base URL : # app/config/config.yml framework: templating: assets_base_url: "http://www.mywebsite.com/" Then just call the service from within your controller, command or wherever you are : get('templating.helper.assets') ->getUrl('bundles/acmedemo/js/main.js', $packageName = null) ; // $myAssetUrl is "http://www.mywebsite.com/bundles/acmedemo/js/main.js" return array(); } }
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
if(null !== $today) { | |
$today0 = new \DateTime($today->format("Y-m-d")); | |
$today23 = new \DateTime($today->format("Y-m-d")); | |
$today0->setTime(0,0,0); | |
$today23->setTime(23,59,59); | |
$qb->where($qb->expr()->orX( | |
$qb->expr()->orX( | |
$qb->expr()->between('r.dateFrom', ':today0', ':today23'), |
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
First of all, ensure you have the necessary prerequisites: | |
sudo apt-get install linux-headers-generic build-essential dkms git | |
Clone the updated driver with git: | |
git clone https://github.com/pvaret/rtl8192cu-fixes.git | |
Set it up as a DKMS module: | |
sudo dkms add ./rtl8192cu-fixes | |
Build and install the driver, you may need check the version here (e.g. 1.9 may change): |
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
/* | |
Girilen sayının, nasıl okunduğunu ekrana yazdıran programdır. | |
Fonksiyon kullanımıyla daha efektif olarak yazılabilir. | |
Ancak henüz işlenmeyen bir konu olduğundan, basit bir şekilde | |
yazılmıştır. | |
*/ | |
#include<stdio.h> | |
int main( void ) | |
{ | |
int sayi; |
OlderNewer