A workshop to explore a full-stack JS app using reliable and future-proof tools.
weLaika, Via Vittorio Andreis 18/18U 10152 Torino.
Friday 29 April 2016, 10:00.
#!/bin/bash | |
set -eux | |
# Simple script to remove dangling images from GHCR. | |
# You need to have installed gh cli and jq for this script to work properly | |
# You need to be logged to 'gh' first | |
org=$1 | |
container=$2 | |
temp_file="ghcr_prune.ids" | |
rm -rf $temp_file |
import Head from "next/head"; | |
import React from "react"; | |
import { Image, StructuredText, renderMetaTags, renderMetaTagsToString } from "react-datocms"; | |
import { query } from "../lib/query"; | |
import { request } from "../lib/datocms"; | |
export async function getStaticProps() { | |
const data = await request({ | |
query, | |
variables: { first: 10 }, |
Hello, | |
this is a JS challenge for the software developer position at Vitsoe. | |
Please fork this repository on Github: https://github.com/emilybache/GildedRose-Refactoring-Kata/ | |
and complete the JS challenge: https://github.com/emilybache/GildedRose-Refactoring-Kata/tree/master/js | |
To get started you should be able to just load the `SpecRunner.html` file from the folder to run the tests. |
Hello, | |
this is a PHP challenge for the software developer position at Vitsoe. | |
Please fork this repository on Github: https://github.com/emilybache/GildedRose-Refactoring-Kata/ | |
and complete the PHP challenge: https://github.com/emilybache/GildedRose-Refactoring-Kata/tree/master/php | |
If you have installed PHP and PHPUnit on your machine, to get started you should be able to just run `phpunit` from the folder to run the tests. |
node_modules/ | |
.DS_Store |
alias g='git' | |
alias ga='git add' | |
alias gaa='git add --all .' | |
alias gap='git add --patch' | |
alias gb='git branch' | |
alias gbn='git checkout -b' | |
alias gbb='git branch -a' | |
alias gbrrm='git push --delete' |
<?php | |
Yii::import( 'application.vendors.*' ); | |
require_once( 'aws/sdk.class.php' ); | |
class AmazonSQSHelper { | |
private $sqs = null; | |
private $queue_url = ''; |
#!/bin/bash | |
# Set a new vhost in lamp for Linux. | |
# .vhostrc is adaptable for LAMPP: just add in your | |
# /opt/lampp/etc/httpd.conf a section like this: | |
# | |
# # Virtual hosts | |
# Include etc/extra/sites-enabled/* | |
# | |
# and create such dir: | |
# $sudo mkdir /opt/lampp/etc/extra/sites-enabled/ |
require 'rubygems' | |
require 'mechanize' | |
domain = '' | |
email = '' | |
password = '' | |
deploy_domain = '' | |
deploy_server_id = '' | |
app_name = '' | |
new_domain = "{app_name}.welaika.com" |