Skip to content

Instantly share code, notes, and snippets.

View Netznarkose's full-sized avatar
🎯
Focusing

Max Maintz Netznarkose

🎯
Focusing
View GitHub Profile

Ingredientien

  • 150 g Mehl
  • 100 g (weiche Butter)
  • 500 g bis 1 kg Quark
  • 150 g Zucker
  • 1 becher Sahne
  • 1 Päckchen Vanillezucker
  • 1 Päckchen Vanillepudding
  • 1 Päckchen Backpulver (???)

ticket https://brandslisten.atlassian.net/browse/BLCR-3399

params:

# participants_total 
# returns count of all confirmed or auto-confirmed participants
    has_many :participants, -> { distinct.joins(:participation_requests).where(bl_participation_requests: { status: %w[confirmed auto_confirmed] }) }, through: :participation_requests, source: :user

# participation_requests_total
@Netznarkose
Netznarkose / install-nvm-zsh.txt
Created August 3, 2018 09:41 — forked from mike-casas/install-nvm-zsh.txt
install nvm on mac with zsh shell
After install zsh
- brew update
- brew install nvm
- mkdir ~/.nvm
after in your ~/.zshrc or in .bash_profile if your use bash shell:
export NVM_DIR=~/.nvm
source $(brew --prefix nvm)/nvm.sh
@Netznarkose
Netznarkose / Screen Shot 2018-05-30 at 6.44.07 PM.png
Last active May 30, 2018 16:47
debugging ajax in wadoku app
Screen Shot 2018-05-30 at 6.44.07 PM.png
@Netznarkose
Netznarkose / gist:a6cae8d187d30e7cf5bd6cfb303cfffd
Created March 24, 2018 17:08 — forked from chrissimpkins/gist:5bf5686bae86b8129bee
Atom Editor Cheat Sheet (Sweetmeat)

Use these rapid keyboard shortcuts to control the GitHub Atom text editor on Mac OSX.

Key to the Keys

  • ⌘ : Command key
  • ⌃ : Control key
  • ⌫ : Delete key
  • ← : Left arrow key
  • → : Right arrow key
  • ↑ : Up arrow key
@Netznarkose
Netznarkose / paste_from_register.md
Last active March 17, 2018 09:18
Paste from register #Vim

"np

@Netznarkose
Netznarkose / open_vims_command_history.md
Last active March 10, 2018 09:13
open command history #vim

Type q: from Normal-Mode

@Netznarkose
Netznarkose / escape_backticks_in_markdown.md
Last active March 10, 2018 09:05
Escape Backtick #Markdown

wrap the command in double backticks, dont forget a whitespace when the escaped backtick is at the end

sudo usermod -a -G rvm `whoami`

stackoverflow_answer

@Netznarkose
Netznarkose / the_jorney.md
Created March 7, 2018 10:44
the whole journey #DevOps
@Netznarkose
Netznarkose / create_a_deploy_user.md
Last active March 10, 2018 09:09
Create a deploy-user on unix #DevOps #edit

SSH into your server with root

local: ssh root@ip

Install Git

root@ubuntu: apt-get install git

Clone this Gist

root@ubuntu: git clone https://gist.github.com/Netznarkose/098295c54b8b8bf402564fc7491e3eab

execute the shell-script