Skip to content

Instantly share code, notes, and snippets.

View calvez's full-sized avatar
🏠
Working from home

calvez calvez

🏠
Working from home
  • Budapest, Hungary
View GitHub Profile
@calvez
calvez / index.html
Created April 11, 2013 20:53
A CodePen by calvez. Tunnel vision 3D CSS - Tunnel vision effect made with just some CSS 3D transforms, border-radius and border-style. Not really useful, it just looks nice...
<div class="scene">
<div class="wrapper">
<ul class="tunnel">
<li class="ring"></li>
<li class="ring"></li>
<li class="ring"></li>
<li class="ring"></li>
<li class="ring"></li>
<li class="ring"></li>
<li class="ring"></li>
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::Config.run do |config|
# All Vagrant configuration is done here. The most common configuration
# options are documented and commented below. For a complete reference,
# please see the online documentation at vagrantup.com.
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "kohadeps"
@calvez
calvez / 0_reuse_code.js
Created December 23, 2015 05:14
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@calvez
calvez / drush-l10n-up.md
Last active January 24, 2016 14:01
drush update languages
  • drush l10n-update-status
  • drush l10n-update
! function(window, document, undefined) {
"use strict";
function minErr(module, ErrorConstructor) {
return ErrorConstructor = ErrorConstructor || Error,
function() {
var message, i, code = arguments[0],
prefix = "[" + (module ? module + ":" : "") + code + "] ",
template = arguments[1],
templateArgs = arguments;

Documentation for the Radix theme for Drupal.

Requirements

  • npm - Read a guide on how to install Node and npm here.
  • Gulp - npm install gulp -g
  • Bower - npm install bower -g
  • Drush - Read a guide on how to install Drush here.
  • jQuery 1.7+ - Radix needs jQuery 1.7. You can install jQuery 1.7 via jquery_update module or jquery_multi module.

Examples

source: [http://www.hypexr.org/linux_scp_help.php]

Copy the file "foobar.txt" from a remote host to the local host

$ scp your_username@remotehost.edu:foobar.txt /some/local/directory Copy the file "foobar.txt" from the local host to a remote host

$ scp foobar.txt your_username@remotehost.edu:/some/remote/directory Copy the directory "foo" from the local host to a remote host's directory "bar"

#Example Drupal permissions Setup credit: FranCarstens

CPanel User: username Site Root: /home/username/public_html Ownership

  • Files and folders username:nobody
  • Temporary Folder username:nobody
  • Permissions