Skip to content

Instantly share code, notes, and snippets.

@busla
busla / README.md
Last active November 21, 2016 07:52
Development environment for Yild providers

Yield provider development environment

One-liner for installing a fresh Drupal instance with Yild and contributed providers using a make file.

drush make drupal.make.yml your-drupal-folder-name && \
cd your-drupal-folder-name && \
drush si --db-url=mysql://user:[email protected]:port/your-db-name --site-name="Yild provider development" --yes && \
drush en yild, yild_your_provider_name
@busla
busla / parts.js
Created September 19, 2016 07:56
Font Awesome for SurviveJS tutorial (npm i font-awesome --save)
...
exports.loadFonts = function(paths) {
return {
module: {
loaders: [
{
test: /\.woff(\?v=\d+\.\d+\.\d+)?$/,
loader: "url",
query: {
@busla
busla / gist:bbba5f39f65792e07d33
Created October 26, 2015 18:16
Dokku trace on rebuild (Earthquakes)
levy@projects:~$ dokku ps:rebuild earthquakes
+ parse_args ps:rebuild earthquakes
+ for arg in '"$@"'
+ case "$arg" in
+ for arg in '"$@"'
+ case "$arg" in
+ return 0
+ args=("$@")
+ [[ ps:rebuild =~ ^--.* ]]
+ has_tty