Skip to content

Instantly share code, notes, and snippets.

@sapegin
sapegin / gist:1735915
Created February 4, 2012 06:46
CSS vendor prefixes for Stylus
// © 2011 Artem Sapegin http://sapegin.ru
// Simple CSS3 properties with vendor prefixes
box-sizing()
-moz-box-sizing arguments
box-sizing arguments
box-shadow()
-webkit-box-shadow arguments
@Grawl
Grawl / prefix-free.styl
Created February 4, 2012 08:29 — forked from sapegin/gist:1735915
-prefix-free for Stylus
// #### it's compilable -prefix-free
// © 2011 Artem Sapegin http://sapegin.ru
// + 2011 Grawl http://grawl.ru
// + radial-gradient and other rules with vendor prefixes added by Grawl.
// add your fixes to My table of vendor prefixes there: http://goo.gl/3hPfR
/* mask:
parameter()
-webkit-parameter arguments
-moz-parameter arguments
-ms-parameter arguments
@michaelklapper
michaelklapper / virtualbox_vagrant_home.bat
Last active May 23, 2023 06:24
Reconfigure VirtualBox and Vagrant home directory for Windows Set VirtualBox home directory to: C:\VMs Store vagrant boxes: C:\VMs\vagrant.d
# VirtualBox home directory.
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" setproperty machinefolder "C:\VMs"
# Vagrant home directory for downloadad boxes.
REG ADD HKCU\Environment /v VAGRANT_HOME /t REG_SZ /d "C:\VMs\vagrant.d"
@bittercoder
bittercoder / MyApp.ChartTitleMixin.js
Created February 20, 2013 03:56
Example of an ExtJS mix-in to render a chart title on the top of a chart.
Ext.define("MyApp.ChartTitleMixin", {
createTitleItem: function() {
this.chartTitle = new Ext4.draw.Sprite({
type: "text",
"text-anchor": "middle",
fill: "black",
"font-size": "12px",
"font-weight": "bold",
"font-family": "Arial",
text: this.title