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
| def get_dataset(filehandle, start_dataset,end_dataset): # dataset_type : Dataset_01, Dataset_02, Dataset_03 or Dataset_04 | |
| dataset = "" | |
| with open(filehandle) as lines: | |
| for num, line in enumerate(lines, 1): | |
| if start_dataset in line: | |
| start_pos = num | |
| if end_dataset in line: | |
| end_pos = num | |
| lines = open(filehandle).readlines() | |
| for x in range(start_pos, end_pos-1): |
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
| def get_dataset(filehandle, start_dataset,end_dataset): # dataset_type : Dataset_01, Dataset_02, Dataset_03 or Dataset_04 | |
| dataset = [] | |
| with open(filehandle) as lines: | |
| for num, line in enumerate(lines, 1): | |
| line = line.replace(" ", "") | |
| if start_dataset in line: | |
| start_pos = num | |
| if end_dataset in line: | |
| end_pos = num | |
| #if line != "\n": |
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
| def get_dataset(filehandle, start_dataset,end_dataset): # dataset_type : Dataset_01, Dataset_02, Dataset_03 or Dataset_04 | |
| dataset = [] | |
| with open(filehandle) as lines: | |
| for num, line in enumerate(lines, 1): | |
| if start_dataset in line: | |
| start_pos = num | |
| if end_dataset in line: | |
| end_pos = num | |
| line = line.replace(" ", "") | |
| #if line != "\n": |
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
| <my-communities> | |
| <h1 class="caddy__heading"> | |
| <a href="#"> | |
| Communities | |
| </a> | |
| <a href="javascript:;" class="minimise-community-list-parent"> | |
| <i class="minimise-community-list"></i> | |
| </a> | |
| </h1> | |
| <ul class="caddy__list user-communities-list"> |
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
| $.post('/login.json', { email: 'jati@socialite.me', password: 'socialiteme' }, function(data) { console.log(data); }); |
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
| 1f2211f40654615f83eb3bc72515f5e8% |
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
| SELECT ogenes.window, ogenes.genes, ogenes.location FROM genes as ogenes | |
| INNER JOIN (SELECT window FROM genes | |
| GROUP BY window HAVING count(id) > 1) genes ON ogenes.window = genes.window order by ogenes.window asc |
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
| $(document).ready(function() { | |
| var canvas = $('canvas'); | |
| var ctx = canvas[0].getContext( '2d' ); | |
| var img = new Image; | |
| img.crossOrigin = ''; | |
| img.src = 'http://i.imgur.com/xG8sIPp.jpg'; | |
| img.onload = function() { | |
| var width = img.width; | |
| var height = img.height; |
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
| @extends('site.layouts.default') | |
| {{-- Web site Title --}} | |
| @section('title') | |
| MediLab :: | |
| @parent | |
| @stop | |
| {{-- Content --}} | |
| @section('content') | |
| <header> |
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
| { | |
| "providers": [ | |
| "Illuminate\\Foundation\\Providers\\ArtisanServiceProvider", | |
| "Illuminate\\Auth\\AuthServiceProvider", | |
| "Illuminate\\Cache\\CacheServiceProvider", | |
| "Illuminate\\Session\\CommandsServiceProvider", | |
| "Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider", | |
| "Illuminate\\Routing\\ControllerServiceProvider", | |
| "Illuminate\\Cookie\\CookieServiceProvider", | |
| "Illuminate\\Database\\DatabaseServiceProvider", |