This file contains hidden or 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
| <!--Carousel--> | |
| <div id="sidebar-carousel-1" class="carousel slide" data-ride="carousel"> | |
| <ol class="carousel-indicators grey"> | |
| <li data-target="#sidebar-carousel-1" data-slide-to="0" class="active"></li> | |
| <li data-target="#sidebar-carousel-1" data-slide-to="1"></li> | |
| <li data-target="#sidebar-carousel-1" data-slide-to="2"></li> | |
| </ol> | |
| <div class="carousel-inner"> | |
| <div class="item active"> | |
| <a href="" data-lightbox="image-1" title=""> |
This file contains hidden or 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
| public static int uzunluk(string cumle) | |
| { | |
| cumle = cumle.Trim(); | |
| string[] kelimeler = cumle.Split(' '); | |
| int max = 0; | |
| foreach (var item in kelimeler) | |
| { | |
| if(item.Length > max) | |
| max = item.Length; |
This file contains hidden or 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
| using System.Linq; | |
| static void Main(string[] args) | |
| { | |
| int[] array = { 10, 5, 10, 2, 2, 3, 4, 5, 5, 6, 7, 8, 9, 11, 12, 12 }; | |
| var dict = new Dictionary<int, int>(); | |
| foreach (var value in array) | |
| { |
This file contains hidden or 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
| # install openjdk | |
| sudo apt-get install openjdk-7-jdk | |
| # download android sdk | |
| wget http://dl.google.com/android/android-sdk_r24.2-linux.tgz | |
| tar -xvf android-sdk_r24.2-linux.tgz | |
| cd android-sdk-linux/tools | |
| # install all sdk packages |
This file contains hidden or 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
| // Node.js CheatSheet. | |
| // Download the Node.js source code or a pre-built installer for your platform, and start developing today. | |
| // Download: http://nodejs.org/download/ | |
| // More: http://nodejs.org/api/all.html | |
| // 0. Synopsis. | |
| // http://nodejs.org/api/synopsis.html |
This file contains hidden or 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
| = truncate(@text, :length => 100, :omission => '', :separator => ',') |
This file contains hidden or 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
| 1847f2fa2a8e97293b0db3201ecafc34 -> pau_{37.7387013,29.092491} |
This file contains hidden or 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 | |
| //model | |
| namespace App; | |
| use Illuminate\Database\Eloquent\Model; | |
| use Illuminate\Foundation\Auth\User as Authenticatable; | |
| class Admin extends Authenticatable | |
| { |
This file contains hidden or 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
| <template> | |
| <f7-page> | |
| <f7-navbar :title="title" class="target-name" back-link="Back" sliding></f7-navbar> | |
| <f7-messages> | |
| <ul> | |
| {{this.$route.params.username}} | |
| <li v-for="(value, key) in $route.params" :key="'param-' + key"><b>{{key}}:</b> {{value}}</li> | |
| </ul> | |
| <f7-message v-for="message in messages" | |
| :text="message.text" |
This file contains hidden or 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 X = cumSumFunc(image) | |
| [m,n] = size(image); | |
| X = zeros(m,n); | |
| X(1,:) = image(1,:); | |
| for i=2:m | |
| for j=1:n | |
| X(i,j) = image(i,j) + X(i-1,j); | |
| end | |
| end | |
| end |
OlderNewer