Skip to content

Instantly share code, notes, and snippets.

View thirdknife's full-sized avatar

Shakeel thirdknife

  • Waterloo, Ontario
View GitHub Profile
"Illuminate\\Foundation\\Providers\\ConsoleSupportServiceProvider": [
1,1 Top
{
"providers": [
"Illuminate\\Foundation\\Providers\\ArtisanServiceProvider",
"Illuminate\\Auth\\AuthServiceProvider",
"Illuminate\\Cache\\CacheServiceProvider",
"Illuminate\\Session\\CommandsSer
add_filter('black_studio_tinymce_before_text', 'filter_visual_text_before', '20');
function filter_visual_text_before($var, $instance){
var_dump($instance);
$var = '<div class="textwidget"><div class="box groups-box visual_text"><div class="wrapping">';
return $var;
}
# WordPress SEO - XML Sitemap Rewrite Fix
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^sitemap_index\.xml$ /index.php?sitemap=1 [L]
RewriteRule ^([^/]+?)-sitemap([0-9]+)?\.xml$ /index.php?sitemap=$1&sitemap_n=$2 [L]
</IfModule>
# END WordPress SEO - XML Sitemap Rewrite Fix
# BEGIN WordPress
<IfModule mod_rewrite.c>
/* line 1, ../scss/france.scss */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font: inherit;
font-size: 100%;
vertical-align: baseline;
}
<?php
class People extends MY_Controller
{
public function __construct()
{
parent::__construct();
$this->data['meta'] = array(
'messages' => array(),
<?php
Class Chartfunctions extends CI_Model {
function getPickupEventsAllShops($startDate,$endDate,$order,$customer,$region){
$queryStatement = "select s.id, s.Address1, s.City, s.Country, pickups
from store s left join
(select count(eventid) as pickups, st.Address1 as address, st.City as city, st.Country as country, st.id as storeid
from shoplog s, box b, store st
where eventid = 3
and duration > (select value from graph_settings where id = 2)
and duration < (select value from graph_settings where id = 3)
{"children":[{"name":"0.3670","children":[{"name":"0.9230","children":[{"name":"0.7030","children":[{"name":"0.4680","children":[{"name":"0.3080","children":[{"name":"0.6220","children":[{"name":"0.8320","children":[{"name":"0.1320","children":[{"name":"0.1430","children":[{"name":"Gorilla_gorilla_SNCG","branch_length":0},{"name":"Loxodonta_africana_SNCG","branch_length":0}],"branch_length":0},{"name":"Pan_troglodytes_SNCG","branch_length":0}],"branch_length":0},{"name":"Homo_sapiens_SNCG","branch_length":0}],"branch_length":0.00516587},{"name":"Bos_taurus_SNCG","branch_length":0.02381963}],"branch_length":0.01324374},{"name":"0.4480","children":[{"name":"Monodelphis_domestica_SNCG","branch_length":0.01737796},{"name":"0.5740","children":[{"name":"Mus_musculus_SNCG","branch_length":0.00243433},{"name":"Rattus_norvegicus_SNCG","branch_length":0.05553668}],"branch_length":0.01160755}],"branch_length":0.01264224}],"branch_length":0.01060419},{"name":"Equus_caballus_SNCG","branch_length":0.0400945}],"branch_lengt
NASA and other space agencies around the world are preparing for the fourth annual
International Space Apps Challenge, which will be held April 10-12 at more than 135 locations worldwide, including New York, host of the event’s Global Mainstage.
During this three-day code-a-thon, participants are asked to develop mobile applications, software, hardware, data visualization and platform solutions that could contribute to space exploration missions and help improve life on Earth.
“These challenges provide opportunities for US and global citizen scientists, engineers, and students to interact and contribute to space exploration through code development, data analytics innovation, open source software and hardware,” said Deborah Diaz, agency chief technology officer at NASA Headquarters in Washington.
This year’s challenge will include the first ever Data Bootcamp, with a focus on Women in Data. The bootcamp is open to the public and will give participants the opportunity to improve their skills with computer co
/**
* INTERACTIVE CHROMOSOME VISUALIZATION
* opt : initialization options object
* + target: REQUIRED
* + segment: REQUIRED
*
*
*/
var d3 = require("d3"), d3tooltip = require('d3-tooltip');
#!/usr/bin/awk -f
BEGIN {
OFS="*";
split(pats, a, "|")
}
{
pats=""
for (e in a) {
if (match($0, a[e])) {
pats=(pats?pats":":"") substr($0,RSTART,RLENGTH)