Skip to content

Instantly share code, notes, and snippets.

View criography's full-sized avatar
💪
🤓🤳

Marek Lenik criography

💪
🤓🤳
View GitHub Profile
@criography
criography / builder-sig.js
Created June 20, 2022 21:14 — forked from fforw/builder-sig.js
Recast/Jscodeshift builders (some ts missing)
j.noop();
j.doExpression(body)
j.bindExpression(object, callee)
j.parenthesizedExpression(expression)
j.exportNamespaceSpecifier(exported)
@criography
criography / nu.sh
Last active September 6, 2021 13:44
tiny shell script for creating new project/client folder structure
#!/bin/sh
# Help:
# ------
# nu help
################################## HELPERS ##################################
@criography
criography / isInstalled.ps1
Last active August 29, 2015 14:23
Powershell: testing if cli tool is installed
# Had no success with usual redirecting, so using this instead
#
# USAGE:
# isInstalled '[command]' '[test]'
#
# e.g. checking whether chocolatey is present
# $test = isInstalled 'choco -v' '^\d+\..*?$'
Function isInstalled([string]$trigger, [string]$match){
$ErrorActionPreference = "SilentlyContinue";
@criography
criography / dabblet.css
Created February 12, 2013 23:30
Perspective Origin and Position: FF VS Chrome and IE
/* Perspective Origin and Position: FF VS Chrome and IE */
body{
width:100%;
margin:1em;
height:100%;
background:#ddd;
}
#nav{
@criography
criography / dabblet.css
Created February 12, 2013 23:30
Perspective Origin and Position: FF VS Chrome and IE
/* Perspective Origin and Position: FF VS Chrome and IE */
body{
width:100%;
margin:1em;
height:100%;
background:#ddd;
}
#nav{
@criography
criography / dabblet.css
Created February 12, 2013 23:21
Perspective Origin and Position: FF VS Chrome and IE
/* Perspective Origin and Position: FF VS Chrome and IE */
body{
width:100%;
margin:1em;
height:100%;
background:#ddd;
text-align:center;
}
@criography
criography / dabblet.css
Created August 14, 2012 17:15
Flex b0x test
/**
* Flex b0x test
*/
#parent{
width : 600px;
display : box;
}
#parent div{
@criography
criography / dabblet.css
Created July 21, 2012 17:04
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
a{
background:#eee;
display:block;
height:8em;width:20em;
text-align:center;
}
@criography
criography / dabblet.css
Created July 11, 2012 18:02
Fuxed Up Media Queries
/**
* Fuxed Up Media Queries
*/
body,
html{
padding:0;
border:0;
margin:0;
height:300%;
@criography
criography / dabblet.css
Created July 11, 2012 17:56
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
a{
padding : 0.5em;
text-decoration : none;
color : orange;
}