Skip to content

Instantly share code, notes, and snippets.

View soberdash's full-sized avatar

Soberdash soberdash

View GitHub Profile
@soberdash
soberdash / interviewQuestions.md
Created October 25, 2021 18:56
Junior Full-Stack Job Interview

Junior Full-Stack Developer

This is a compilation of questions that we have stumbled upon in our job interviews. None of the questions are generic or borrowed from internet, they are real questions. Me and the other authors (@rudiaj, manny) have decided not to log company names, as that would spoil the idea of the interview itself.

Question type

The questions come from multiple interviews for Full-Stack, Front-End and Back-End positions. All interviews were Junior Level. Most of the questions (level 1) deal with pretty basic stuff and serve a functional purpose of eliminating candidates that do not have a certain level of overall and precise knowledge. A smaller amount of questions are harder (level 2), and they are usually meant to test the way you solve problems. These questions are more important in the eyes of the employer, and this part of the test is often performed live or over a video call. These level 2 questions are almost always in the form of a programming task. The idea being that you are

@soberdash
soberdash / .htaccess
Created October 25, 2021 17:52 — forked from seoagentur-hamburg/.htaccess
UPDATE 2021/10: Perfect .htaccess file for highspeed and security. You can use it for every WordPress-Website without problems. Highspeed and Security - testet on hundreds of Websites. If you are using a WordPress Multisite, change the last part of this file.
########################################################################
# OPTIMAL .htaccess FILE FOR SPEED AND SECURITY @Version 2.0.1 - 08/2020
# ----------------------------------------------------------------------
# @Author: Andreas Hecht
# @Author URI: https://seoagentur-hamburg.com
# License: GNU General Public License v2 or later
# License URI: http://www.gnu.org/licenses/gpl-2.0.html
########################################################################
@soberdash
soberdash / wp-code-utils.php
Created October 25, 2021 17:39 — forked from josanua/wp-code-utils.php
wp code utils
<?php
// Debug
//Activate log files in wp-config.php
define( 'WP_DEBUG', true ); // Enabling WP_DEBUG will cause all PHP errors, notices and warnings to be displayed.
define( 'WP_DEBUG_LOG', true ); // Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_DISPLAY', true ); // Controls whether debug messages are shown inside the HTML of pages or not.
// use this
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
@soberdash
soberdash / .htaccess
Created May 7, 2020 14:44 — forked from kevinSuttle/.htaccess
.htaccess for Wordpress
# Use PHP5 as default
AddHandler application/x-httpd-php5 .php
# 5G BLACKLIST/FIREWALL (2013)
# @ http://perishablepress.com/5g-blacklist-2013/
# 5G:[QUERY STRINGS]
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
@soberdash
soberdash / index.html
Created October 16, 2019 19:14
Org Chart: Nested w/ Filters
<div class="org-links">
<a href="#" class="filter-link" id="org-card"><i class="fa fa-filter"></i>All</a>
<a href="#" class="filter-link" id="tag-a" style="display: none;">
<i class="fa fa-filter"></i>CEO &amp; Executive Vice President</a>
<a href="#" class="filter-link" id="tag-b"><i class="fa fa-filter"></i>Business
Strategy</a>
<a href="#" class="filter-link" id="tag-c">
<i class="fa fa-filter"></i>Area Title</a>
<a href="#" class="filter-link" id="tag-d"><i class="fa fa-filter"></i>Area Title</a>
<a href="#" class="filter-link" id="tag-e" style="display: none;">
@soberdash
soberdash / index.html
Created October 2, 2019 15:56
Responsive Organization Chart [updated]
<div class="content">
<h1>Responsive Organization Chart (updated)</h1>
<figure class="org-chart cf">
<div class="board ">
<ul class="columnThree">
<li>
<span>
<strong>Position Name</strong>
<br>Name Surname
<br>AA
@soberdash
soberdash / index.html
Created October 2, 2019 15:45
Responsive Org-chart (proof of concept)
<section class="container">
<div id="level--0" class="level expanded">
<div class="level-wrap">
<div id="level--0--item-active" class="col--1-3 item-active">
<div class="element-item">
<div class="info">
<div class="info-header">
<h4 class="org-name">Chief Executive <i class="fa fa-chevron-right" aria-hidden="true" style="font-size: 11px;"></i>
</h4>
<div class="context">
@soberdash
soberdash / index.html
Created October 2, 2019 15:44
Org Chart
<div class="content">
<h1>Responsive Organization Chart (updated)</h1>
<figure class="org-chart cf">
<div class="board ">
<ul class="columnThree">
<li>
<span>
<strong>Position Name</strong>
<br>Name Surname
<br>AA
@soberdash
soberdash / 0_reuse_code.js
Last active August 29, 2015 14: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
@soberdash
soberdash / index.html
Created November 26, 2014 14:58
Fullscreen backgrounds with centered content Fullscreen backgrounds with centered content // source http://jsbin.com/hixub
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<meta charset="utf-8">
<title>Fullscreen backgrounds with centered content</title>
<meta name="description" content="Fullscreen backgrounds with centered content">
<style id="jsbin-css">
/* background setup */
.background {