Skip to content

Instantly share code, notes, and snippets.

View emalgholzad's full-sized avatar

Emal emalgholzad

View GitHub Profile
@emalgholzad
emalgholzad / sendYourResume.php
Last active March 7, 2018 15:18
Dare.it linkedin post rewrite in simple PHP function
<?php
function sendYourResume($language, $experience)
{
$result = '';
switch (TRUE) {
case ($language === "PHP" && $experience >= 5):
$result = "we are looking for senior developers.";
break;
.declaration-order {
/* Positioning */
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 100;
/* Box-model */
@emalgholzad
emalgholzad / remove.bash
Created March 7, 2017 09:59
Remove all files starting with a certain string
Delete all files in current directory and its sub-directories where the file name starts with "foo":
$ find . -type f -name foo\* -exec rm {} \;
// Scheme of colors
$colorscheme: (
gray: (
base: #ccc,
light: #f2f2f2,
dark: #666
),
brown: (
base: #ab906b,
light: #ecdac3,
$spacer: 4px !default;
$spacer-x: $spacer !default;
$spacer-y: $spacer !default;
$spacers: (
none: (
x: 0,
y: 0
),
sm: (