Skip to content

Instantly share code, notes, and snippets.

View arekgotfryd's full-sized avatar
👽
Working from home

Arkadiusz arekgotfryd

👽
Working from home
View GitHub Profile
@coryhouse
coryhouse / conciseObjectSpreadExample.js
Last active July 17, 2017 17:11
Consise example of object spread in React
updateState({target}) {
this.setState({user: {...this.state.user, [target.name]: target.value}});
}
@lsbardel
lsbardel / .block
Last active August 29, 2023 10:31
Lloyd’s Relaxation
license: bsd-3-clause
@aviskase
aviskase / Postman.desktop
Last active January 22, 2025 01:08
Install Postman
[Desktop Entry]
Encoding=UTF-8
Name=Postman
Exec=postman
Icon=/home/USERNAME/Postman/app/resources/app/assets/icon.png
Terminal=false
Type=Application
Categories=Development;
@btroncone
btroncone / rxjs_operators_by_example.md
Last active March 30, 2025 21:26
RxJS 5 Operators By Example
@desaroxx
desaroxx / models.ts
Last active December 21, 2018 18:08
Typescript Models: Interfaces vs Model Classes
/**
* advantages:
* - interface code not compiled
* - faster at runtime (Javascript object only; no prototypes)
*/
interface IServiceCall {
id: string | number;
title: string;
businessPartner: string;
startTime: date;
spring.datasource.url=jdbc:postgresql://localhost/myDatabase
spring.datasource.username=user
spring.datasource.password=password
spring.datasource.driverClassName=org.postgresql.Driver
spring.jpa.hibernate.hbm2ddl.auto=update
spring.jpa.hibernate.ejb.naming_strategy=org.hibernate.cfg.EJB3NamingStrategy
spring.jpa.hibernate.show_sql=true
spring.jpa.hibernate.format_sql=true
spring.jpa.hibernate.use_sql_comments=false
"""Skrypt pozwala na pobieranie z napiprojekt.pl gdy nie posiadamy aplikacji.
ID z URL z wynikow wyszukiwania podajemy jako argument do skryptu. Np.
$ python napiprojekt.py e79975aa41dfecf52b81ac8231f4abde > napisy.txt
Wymagania:
* Python 2.7
* Paczki z requirements.txt
"""
@madx
madx / webpack.server.config.js
Created September 15, 2015 13:55
Webpack config for an Express app in Node.js
const path = require("path")
const fs = require("fs")
// -- Webpack configuration --
const config = {}
// Application entry point
config.entry = "./src/server/index.js"
@mturnwall
mturnwall / font_face_generator.scss
Last active March 30, 2025 19:49
Sass Font-Face Generator Mixins
// ----
// libsass (v3.2.5)
// ----
////
/// Font-Face Generator (FF)
/// @author Hugo Giraudel, Michael Turnwall
////
/// Path to the location of the font files
@PurpleBooth
PurpleBooth / README-Template.md
Last active May 22, 2025 12:03
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites