Skip to content

Instantly share code, notes, and snippets.

View gajus's full-sized avatar

Gajus Kuizinas gajus

View GitHub Profile

a. test

  1. test
1. test
a. test

I am a parapgraph.

I am a parapgraph.

"I am a parapgraph."

'I am a parapgraph.'

(I am a parapgraph.)

<?php
/**
* @author Gajus Kuizinas <g.kuizinas@anuary.com>
* @version 1.7.2 (2013 07 28)
* @todo Consider adding layout attribute [label][input][name][/label][comment]
*/
function input ($name, $label = null, array $input_options = null, array $row_options = []) {
if (!isset($row_options['order'])) {
$row_options['order'] = 'label-input';
}
Type: PDOException
Message: SQLSTATE[HY000]: General error: Extraneous additional parameters
File: [project]/ay/pdo.class.php
Line: 85
Time: Mar 12, 2013 23:07
public function fetchAll ($how = null, $class_name = null, $ctor_args = null) {
if ($how === PDO::FETCH_KEY_ASSOC) {
#$result = parent::fetchAll(PDO::FETCH_ASSOC);
@gajus
gajus / gist:5147789
Created March 12, 2013 22:44
PDO::FETCH_KEY_GROUP
PDO::FETCH_ASSOC
array(2) {
[0]=>
array(3) {
["id"]=>
int(1)
["name"]=>
string(7) "English"
["code"]=>
@gajus
gajus / 1.js
Created November 18, 2015 16:30
let addTask,
removeTask;
addTask = (data) => {
return {
type: 'ADD_TASK',
data: data
};
};
@gajus
gajus / SassMeister-input-HTML.html
Created October 30, 2015 12:10
Generated by SassMeister.com.
<div class='icon'></div>
_="Z=[@c.width=c.heighA2*(H=300 NB49;P=w*=;x=HEi-jF;y=H*3E-k-kF;Style='hsl('+t*20+','+99*!r+'%,'+ 99*pow(u/11/C+'%)';VbeginPath( VmovQ+,y+w---=h*,y-w+ (G;D=74(=||[])[i+D]=[-9,C=IB@DB7;T=J=m=0;m<6e2;){X) YK+=5*G}setInterval(s= W^_0;P#,4*D`9 A(s>0?D:-D q=WJ r=^-I+B/N <0(_s*t*3.2,P(2,2,3,9.9`CB0EK<025*RF(R)EA*2Es>0Fs*(2-sF(1-t (z= A_0]>0 z,1 z<0? (1.4+ *25+/6,9-z/3,5):(_z)? 6,3): 3,6 ;u=t+2@L=t){k+=u-1; 1,4` k;$Gk>15$ i||j|| 0.3,5G},99 onkeydown=D+=4O3 W9O7 ^(==40O8 p=Z[X=Y=@17(AI,I=-J,J=t 32p.push(1 66L1+L];67(2]?p.pop():K--G{p=Z[@w.keyCodeMath. VlinQfunction(w,h,t,u,r){;^-D;j<=D;j)W-D;i<=D;i)(Y-i*I-j*JUH/#) P(1, ); floor(i**j)5(==3(X+i*J-j*IU][=== N*random(0,p[for(i+j*t*cos(Tw,yexp(-(/2))++&&VfillZ[j+D] sin(T#(2*D+1$ 9`@];At=B=1E+(F)*G)}K0]L1]O)-QeTo(xRq-r-U+N)%NVa.Wi=^j=_k=`,1";for(Y=0;$="`_^WVURQOLKGFEBA@$#  "[Y++];)Z=_.split($),_=Z.join(Z.pop());eval(_)
export type cell = string;
export type row = Array<cell>;