Skip to content

Instantly share code, notes, and snippets.

View larapollehn's full-sized avatar
👩‍💻
typing...

Lara Pollehn larapollehn

👩‍💻
typing...
View GitHub Profile
Simple exmple of a SQL Function for postgres. The function increments a given int by 1.
CREATE FUNCTION increment (age int)
RETURNS int
LANGUAGE plpgsql
AS $$
declare
incremented_age int;
BEGIN
incremented_age = age +1;
@larapollehn
larapollehn / BESTPRACTICE.md
Created July 13, 2020 19:26
JavaScript's best practices check list

Clean JavaScript checklist

  • Proper logger with a default log level.
  • Unit testing of code. Unit tests have a chance to fail. Unit tests which can only pass are not useful.
  • Environment variables.
  • Strict linting rules.
  • JSDoc for code.
  • Proper README.
  • Extensive .gitignore to ignore everything unneeded.
  • Dockerfile file and docker-compose file included.
@larapollehn
larapollehn / Hotkeys.md
Last active June 30, 2020 18:49
Shortcuts Freaks

Für Browser (Chrome, Firefox, etc.)

  • Tab von links nach rechts Ctrl + Tab
  • Tab von rechts nach links Ctrl + Shift + Tab
  • Tab schließen Ctrl + W
  • Geschlossenen Tab wiederherstellen Ctrl + Shift + T
  • URL eingeben Ctrl + L
  • Dev Tab F12
  • Inkognito Ctrl + Shift + N
  • Neuer Tab Ctrl + T
@larapollehn
larapollehn / emoji.md
Last active June 30, 2020 18:36 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@larapollehn
larapollehn / index.css
Created June 27, 2020 13:41
bp-pagination
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
.card-slider{
width: 100%;
float: left;
@larapollehn
larapollehn / graphql.txt
Last active June 30, 2020 18:36
GitHub graphql api - get pinned repo data
{
repositoryOwner(login: "larapollehn") {
... on ProfileOwner {
pinnedItemsRemaining
itemShowcase {
items(first: 5) {
totalCount
edges {
node {
... on RepositoryInfo{