Skip to Content

Newsfeeds

See how Storm8 cooks up a successful mobile sim game at GDC 2015

Social/Online Games - Gamasutra - 12 November 2014 - 9:48am

Storm8 game design chief Dan Scheidegger is coming to GDC 2015 to run down exactly what worked -- and what didn't -- during development of Restaurant Story 2. ...

Categories: Game Theory & Design

David Stoline: Fake DNS Hosts with Behat with custom behat parameters

Planet Drupal - 12 November 2014 - 9:06am

I was recently working on a Drupal project that had some internal DNS managed via hosts file. Tell me about it. Having no publicly accessible DNS or IP creates a challenge when your SaaS based Jenkins runs the tests.

The solution for this is a little custom work in your FeatureContext constructor and a BeforeScenario method.

And a little glue in the behat.yml to pass the custom hostHeader variable to the FeatureContext. Make sure that you're also setting the IP of the server for base_url and you're all set.

You can use this same pattern to pass around other variables from behat.yml to your FeatureContext.

Tags: 
Categories: Drupal

Paul Booker: How to set up your own Git server.

Planet Drupal - 12 November 2014 - 9:02am

From your local machine ..

1. Create your keys

ssh-keygen -t rsa

2. Upload to your server

scp ~/.ssh/paulbooker.pub root@92.243.12.252:/tmp/paulbooker.pub

From your server ..

1. Install Gitolite.

apt-get install gitolite

2. Create a user for Gitolite.

adduser \ --system \ --shell /bin/bash \ --gecos 'git version control' \ --group \ --disabled-password \ --home /home/gitolite \ gitolite Adding system user `gitolite' (UID 103) ... Adding new group `gitolite' (GID 105) ... Adding new user `gitolite' (UID 103) with group `gitolite' ... Creating home directory `/home/gitolite' ...

3. Setup Gitolite

su - gitolite gl-setup /tmp/paulbooker.pub The default settings in the rc file (/home/gitolite/.gitolite.rc) are fine for most people but if you wish to make any changes, you can do so now. hit enter... /usr/bin/select-editor: 1: /usr/bin/select-editor: gettext: not found 'select-editor'. /usr/bin/select-editor: 1: /usr/bin/select-editor: gettext: not found 1. /bin/nano <---- 2. /usr/bin/emacs23 3. /usr/bin/vim.tiny /usr/bin/select-editor: 1: /usr/bin/select-editor: gettext: not found 1-3 [1]: 1 creating gitolite-admin... Initialized empty Git repository in /home/gitolite/repositories/gitolite-admin.git/ creating testing... Initialized empty Git repository in /home/gitolite/repositories/testing.git/ [master (root-commit) 7e358c3] start 2 files changed, 6 insertions(+) create mode 100644 conf/gitolite.conf create mode 100644 keydir/paulbooker.pub

4. Add the Gitolite user to your SSH configuration file.

nano /etc/ssh/sshd_config PermitRootLogin yes #without-password PasswordAuthentication no AllowUsers root gitolite #no commas service ssh reload # /etc/init.d/ssh reload .. Rather than invoking init scripts through /etc/init.d, use the service(8) utility, e.g. service ssh reload

On your local machine.

nano ~/.ssh/config Host Git user git hostname 92.243.12.252 port 22 identityfile ~/.ssh/git Host * user paul hostname * port 22 identityfile ~/.ssh/paulbooker

1. Clone your gitolite repository

$ git clone gitolite@92.243.12.252:gitolite-admin

Cloning into 'gitolite-admin'... remote: Counting objects: 6, done. remote: Compressing objects: 100% (4/4), done. remote: Total 6 (delta 0), reused 0 (delta 0) Receiving objects: 100% (6/6), done.

2. Add a test repository

cd gitolite-admin vi conf/gitolite.conf git commit -a -m "Add a test repository" [master ee674e9] Add a test repository 1 file changed, 3 insertions(+) git push Counting objects: 7, done. Delta compression using up to 2 threads. Compressing objects: 100% (3/3), done. Writing objects: 100% (4/4), 399 bytes, done. Total 4 (delta 0), reused 0 (delta 0) remote: creating test... remote: Initialized empty Git repository in /home/gitolite/repositories/test.git/

To gitolite@92.243.12.252:gitolite-admin
7e358c3..ee674e9 master -> master

3. Clone the test repository.

git clone gitolite@92.243.12.252:test Cloning into 'test'... warning: You appear to have cloned an empty repository. cd test echo "test" > README git add . git commit -m "Initial commit" [master (root-commit) 21e352e] Initial commit 1 file changed, 1 insertion(+) create mode 100644 README git push origin master Counting objects: 3, done. Writing objects: 100% (3/3), 224 bytes, done. Total 3 (delta 0), reused 0 (delta 0) To gitolite@92.243.12.252:test * [new branch] master -> master

4. Add committer to the repository.

Add public key to the gitolite-admin key directory and edit the gitolite configuration file gitolite.conf

repo gitolite-admin RW+ = git repo testing RW+ = @all repo repo1 RW+ = git = paulbooker paul$ git add -A Paul-Bookers-Mac-mini:Git paul$ git commit -m "Updated configuration" [master 511d9af] Updated configuration 2 files changed, 5 insertions(+) create mode 100644 keydir/paulbooker.pub Paul-Bookers-Mac-mini:Git paul$ git push Counting objects: 10, done. Delta compression using up to 2 threads. Compressing objects: 100% (5/5), done. Writing objects: 100% (6/6), 1012 bytes, done. Total 6 (delta 0), reused 0 (delta 0) remote: creating repo1... remote: Initialized empty Git repository in /home/git/repositories/repo1.git/ To git@92.243.12.252:gitolite-admin 05c16f3..511d9af master -> master 5. Commit and push changes to the server. git commit -m "Initial commit to repo1" git remote add origin git@92.243.12.252:repo1.git git push origin master Tags:
Categories: Drupal

Last Call Media: Baltimore Drupal Camp

Planet Drupal - 12 November 2014 - 8:22am
Categories: Drupal

Blink Reaction: Create a Simple Next/Previous Navigation in Drupal 8

Planet Drupal - 12 November 2014 - 6:46am

In my last post we went over the new Drupal 8 plugin system as it concerns blocks. Today, we're going to take this idea a bit further and create a simple next/previous navigation.

First thing's first, you're going to want to create another new file at modules/YOURMODULE/src/Plugin/Block/YOURBLOCKNAME.php

In my case, this file looks like this:

Categories: Drupal

Code Karate: Git Cheat Sheet

Planet Drupal - 12 November 2014 - 6:23am

There is a saying that "All good things come to those who wait".

Categories: Drupal

InternetDevels: Drupal tourists are Drupal Touring!

Planet Drupal - 12 November 2014 - 5:49am

Ukrainian Drupal community with an active support of InternetDevels team has actually invented completely unique kind of Drupal event, which makes the whole community go wow! So, ladies and gentlemen, we proudly present you Drupal Tour! The main point of the event is in it’s dynamics and velocity — we’re not going to stop just on one location, but would travel all around the country to involve even larger amount of audience, interested in Drupal development.

Read more
Categories: Drupal

jQuery Image Zoomer Formatter

New Drupal Modules - 12 November 2014 - 12:58am

Countdown timer field module provides an image formatter based on based on jQuery Zoomer plugin for smooth image exploration. You can zoom the images in a very smoothly manner. You can also add custom css to customize the zoomer wrapper and other css stuffs.

Categories: Drupal

Our blog marketing on Gamasutra - by Junxue Li

Gamasutra.com Blogs - 11 November 2014 - 10:39pm
This article is about how we get to know more people and potential clients via blogging here on Gamasutra. I hope it could give some lights to our fellow service providers.
Categories: Game Theory & Design

Feminine Qualities - by Richard Marzo

Gamasutra.com Blogs - 11 November 2014 - 10:39pm
Is it worth it to prove that women can be as violently destructive as men?
Categories: Game Theory & Design

The Benefits of Less Detail - by Christopher Gile

Gamasutra.com Blogs - 11 November 2014 - 10:39pm
With the graphical arms race in games it is worth asking why you might not want more detail and higher res graphics.
Categories: Game Theory & Design

Training Day in the Souls Series - by Josh Bycer

Gamasutra.com Blogs - 11 November 2014 - 10:39pm
Great level design is key for introducing new and challenging elements to the player. For today's post, we're looking at the Souls series and how each game built their tutorials directly into the level design.
Categories: Game Theory & Design

Speeding up Your IndieDev Marketing by using Templates - by Bryan Fisher

Gamasutra.com Blogs - 11 November 2014 - 10:39pm
I've been trying to find ways to improve the visual quality of my marketing, but save time so I can do more development. These are the templates I use for my own marketing.
Categories: Game Theory & Design

When &quot;Doing Everything Right&quot; Goes Wrong - by Kyle Pittman

Gamasutra.com Blogs - 11 November 2014 - 10:39pm
Developing a bigger, better sequel to a freeware hit seems like an obvious win, but the realities of development aren't always so simple.
Categories: Game Theory & Design

USC Games - Statement of Community - by Tracy Fullerton

Gamasutra.com Blogs - 11 November 2014 - 10:39pm
An open letter about the nature of creative community, and an invitation to stand with us in upholding a zero tolerance for speech or actions that are hateful, threatening or violent, in any form or forum.
Categories: Game Theory & Design

Legal Update: California judge tosses Noriega case against Activision - by Zachary Strebeck

Gamasutra.com Blogs - 11 November 2014 - 10:39pm
Game lawyer Zachary Strebeck takes a look at Activision’s success in fighting off a right of publicity lawsuit by former Panamanian dictator Manuel Noriega.
Categories: Game Theory & Design

In the Search of Good Art: Interview with Jack King-Spooner - by Talha Kaya

Gamasutra.com Blogs - 11 November 2014 - 10:39pm
Interview with the extraordinary indie game developer Jack King-Spooner.
Categories: Game Theory & Design

The true numbers of a critically acclaimed mobile game. - by Krister Karlsson

Gamasutra.com Blogs - 11 November 2014 - 10:39pm
We'd like to share some relevant figures concerning our premium mobile game "The Spookening", which we sell for 2$ since easter 2013.
Categories: Game Theory & Design

Modules Unraveled: 126 What Varnish Can and Can't Do for Your Drupal Site with Dan Reif - Modules Unraveled Podcast

Planet Drupal - 11 November 2014 - 10:00pm
Published: Wed, 11/12/14Download this episodePerformance Optimization
  • Before we dive deep into Varnish, I’d like to get a feel for the various performance improvements anyone can make to speed up their Drupal. What’s the process you think through when optimizing a site?
    • DB Tuning
    • Boost
    • Memcache
    • Redis
    • APC
    • Varnish
    • Module Choices!
Varnish
  • What exactly is Varnish?
  • When researching Drupal performance optimization, I came across a lot of references to APC and Varnish. What is the difference?
  • Is this for anonymous or authenticated traffic?
  • Is the Varnish module required to utilize Varnish with Drupal?
  • What are the steps needed to install and utilize Varnish? (Broad terms, not actual terminal commands)
  • Does SSL affect Varnish?
  • What doesn’t Varnish do? (What needs to be done by Drupal, or other software instead?)
  • How does Varnish affect a dev/staging/live workflow? Does Varnish need to be instlaled on the local machine?
Episode Links: Dan on drupal.orgDan on TwitterDan on GitHubDan on ServerFaultVarnish moduleVarnish info on Drupal.orgXHProfXHProf Drupal moduleTags: PerformanceOptimizationplanet-drupal
Categories: Drupal
Syndicate content


Google+
about seo