#!/usr/bin/env bash | |
# Reset routing table on OSX | |
# display current routing table | |
echo "********** BEFORE ****************************************" | |
netstat -rn | |
echo "**********************************************************" | |
for i in {0..4}; do | |
sudo route -n flush # several times |
--- | |
definitions: | |
User: | |
allOf: | |
- $ref: '#/definitions/ModelWithTimestamps' | |
- $ref: '#/definitions/ModelWithID' | |
- type: object | |
description: User | |
required: |
[ | |
["w-71a21a78-0435-40e4-80a9-0025e9125049", "27c3dc0d182ac14ee6d665c59bd4bf"], | |
["w-a951013a-3aa6-442f-9e4c-4f091fe9a601", "9195bee757503af98c773584d66f37"], | |
["w-71ea55ec-ca65-42f7-9605-263901a94d98", "cc13102def7fedebe0b385e0a7bb04"], | |
["w-bed696ca-cd17-4ce2-9e2b-9a55d4033cbb", "6f108ee42d4ce80b8353c61ffa2a6b"], | |
["w-bf6f59a2-25c5-4b93-a12c-578d72c0b4c8", "c5bbd65e103e9d7c723c4abab3a2ab"], | |
["w-9872e266-73fd-42bd-966d-e4b743fd120f", "e7fc07877cf7f880b90badb4349b2a"], | |
["w-14d24fa1-3264-47cb-b9f8-4bdddbeae319", "f735dc9440ff457eb7b440c4789d52"], | |
["w-bc089bcf-11b5-448a-b9d5-4bc5288e5c8d", "e391070a0af3c3f42023d114bb9e98"], | |
["w-fc191dd4-9148-4fd9-a003-4f7b2f854be5", "677c4e854ef5bda7ac84b37f3bf061"], |
sudo systemctl unmask update-engine.service | |
sudo systemctl start update-engine.service | |
sudo update_engine_client -check_for_update | |
sudo journalctl -fu update-engine |
- i can't unvote posts that i already vote on. If i like a post, i want to be able to unlike it in the future.
- when i click on my nickname or my profile image, i expect to get to my user's overview
- at least one line break should be possible in the feedback description. currently its not possible to insert linebreaks.
- once i click on a star rating (in the form) i am forced to give at least one star. But it's aslso possible to rate completely without stars. So we should
- either prevent users from being able to rate without stars
- or provide a possibility to undo the rating descision, so i can rate without stars at any given time
i would prefer to prevent users from rating without stars. It's also kind of confusing, that the posts without stars are not getting counted in the overall posts made: Currently the page says that there are 20 feedbacks in total, but there are actually 21 (20 with stars, one post without star rating).
- it would be nice if the feedback form is able to minimize itself again,
#!/bin/sh | |
vcodec="mp4v" | |
acodec="mp4a" | |
bitrate="1024" | |
arate="128" | |
mux="mp3" | |
# For Linux | |
#vlc="/usr/bin/vlc" |
Let's assume, that got back into dark ages when developers haven't FactoryGirl gem and had to use fixtures instead.
You are first one, who understood that fixtures are not so handy as other think they are. You decide to write you own library and open source it for the world. FactoryBoy is looking like a good name.
You started from the simple class that you want to test and looks as simple as it is:
class User
attr_accessor :name, :email
swagger: '2.0' | |
info: | |
version: "0.4" | |
title: Brandslisten API | |
description: | | |
API provided by Brandslisten GmbH | |
host: 0.0.0.0:10010 | |
basePath: / |
You like to read the articles in your feed. The problem is there are so many entries each day and only a few of the articles are really good. In order to save time, you want to implement your personal feed reader. It should be a web-application that displays the last N entries of your favorite feed. The special thing about your reader: You can provide a whitelist and a blacklist of keywords. Entries of the feed are classified as "interesting" or "boring" based on the black/white-lists. For example, if you don't like sports, your blacklist would include "sport", "tennis" and similar keywords. If you love programming, your whitelist would include "ruby", "crystal" and others. The feed on your website should highlight "interesting" entries and grey-out "boring" entries. Both white- and blacklist can be hardcoded.
- Create a web-application (rails 5, sinatra, hanami, ...)