Skip to content

Instantly share code, notes, and snippets.

{
"results": [{
"url": "https://netflix.com",
"favicon": "https://api.faviconkit.com/netflix.com/144",
"name": "Neflix",
"description": "Filme und Serien"
},
{
"url": "https://app.plex.tv",
"favicon": "https://api.faviconkit.com/app.plex.tv/144",
{
"array": [
1,
2,
3
],
"boolean": true,
"null": null,
"number": 123,
"object": {
@drunkensouljah
drunkensouljah / .gitlab-ci.yml
Created July 6, 2019 20:23
[cypress testing gitlab] #ci #gitlab #testing
# first, install Cypress, then run all tests (in parallel)
stages:
- build
- test
# to cache both npm modules and Cypress binary we use environment variables
# to point at the folders we can list as paths in "cache" job settings
variables:
npm_config_cache: "$CI_PROJECT_DIR/.npm"
CYPRESS_CACHE_FOLDER: "$CI_PROJECT_DIR/cache/Cypress"
@drunkensouljah
drunkensouljah / indeex.html
Created April 29, 2019 20:07
[Strapdown] #markdown #html
<!DOCTYPE html>
<html>
<title>Hello Strapdown</title>
<xmp theme="united" style="display:none;">
# Markdown text goes in here
## Chapter 1
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore
@drunkensouljah
drunkensouljah / copysshkey.sh
Created April 28, 2019 14:16
[Copy ssh key] Copy ssh key to server #shell #terminal
cat ~/.ssh/id_rsa.pub | ssh <user>@<hostname> 'cat >> .ssh/authorized_keys && echo "Key copied"'
# ALTERNATIVE
ssh-copy-id "[email protected] -p <port-number>"
@drunkensouljah
drunkensouljah / plex.sh
Created January 2, 2019 13:30
[Plex CLI] a simple bash script to control your Plex client #plex #cli #shell
#!/bin/bash
### $0 is a simple bash script to control your Plex client
###
### Usage: plex [<command>]
###
### Available commands:
### up Navigate up
### down Navigate down
### left Navigate left
### right Navigate right
@drunkensouljah
drunkensouljah / synology.sh
Last active November 15, 2018 11:59
synology cli
synoindex -R [all|media|photo|music|video|thumb|dirpath]
# only subfolder
synoindex -R /volume1/photo/ordner/
#start/stop packages
/var/packages/Docker/scripts/start-stop-status stop
@drunkensouljah
drunkensouljah / .zshrc
Created October 11, 2018 19:55
[antigen] antigen zshrc #dotfiles #shell #zsh
# .zshrc Source Basic
source /usr/local/share/antigen/antigen.zsh
# Load the oh-my-zsh's library.
antigen use oh-my-zsh
antigen bundles <<EOBUNDLES
# Bundles from the default repo (robbyrussell's oh-my-zsh).
brew
@drunkensouljah
drunkensouljah / mark.sh
Last active September 29, 2018 22:48
[Open in marked 2] Open file in marked 2 #shell
#!/bin/sh
if [ "$1" ]; then
open -a "Marked" "$1";
else
open -a "Marked";
fi
@drunkensouljah
drunkensouljah / index.html
Created September 27, 2018 20:40
[html-testpage]This is a test page filled with common HTML elements to be used to provide visual feedback whilst building CSS systems and frameworks. #html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HTML5 Test Page</title>
</head>
<body>
<div id="top" class="page" role="document">
<header role="banner">