Skip to content

Instantly share code, notes, and snippets.

View filipgorczynski's full-sized avatar
🚀
Building

Filip Górczyński filipgorczynski

🚀
Building
View GitHub Profile
@filipgorczynski
filipgorczynski / ng5FaB.css.json
Last active February 3, 2018 11:04
Import CSS w projekcie w pliku .angular-cli.json
"styles": [
"../node_modules/font-awesome/css/font-awesome.css",
"styles.css"
],
@filipgorczynski
filipgorczynski / ng5FaB.bulma.sh
Created February 3, 2018 10:57
Install Bulma CSS framework
yarn add bulma
@filipgorczynski
filipgorczynski / ng5FaB.new.txt
Created February 3, 2018 10:58
Creating empty Angular 5 project
create ng5FaB/README.md (1022 bytes)
create ng5FaB/.angular-cli.json (1243 bytes)
create ng5FaB/.editorconfig (245 bytes)
create ng5FaB/.gitignore (529 bytes)
create ng5FaB/src/assets/.gitkeep (0 bytes)
create ng5FaB/src/environments/environment.prod.ts (51 bytes)
create ng5FaB/src/environments/environment.ts (387 bytes)
create ng5FaB/src/favicon.ico (5430 bytes)
create ng5FaB/src/index.html (293 bytes)
create ng5FaB/src/main.ts (370 bytes)
@filipgorczynski
filipgorczynski / ng5FaB.fainstall.txt
Last active February 3, 2018 11:01
Installing font-awesome dependencies
yarn add v1.3.2
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.1.3: The platform "linux" is incompatible with this module.
info "fsevents@1.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 2 new dependencies.
├─ angular-font-awesome@3.1.2
@filipgorczynski
filipgorczynski / ng5FaB.bulmacss.json
Last active February 3, 2018 11:04
Update global Angular styles in .angular-cli.json
"styles": [
"../node_modules/font-awesome/css/font-awesome.css",
"../node_modules/bulma/css/bulma.css",
"styles.css"
],
@filipgorczynski
filipgorczynski / ng5FaB.template.html
Last active February 3, 2018 11:09
AppComponent template with examples
<p style="text-align: center; color: #0bb5ff">
<a href="https://fontawesome.com/"><fa name="chrome" animation="spin" size="5x"></fa></a>
</p>
<p style="text-align: center; margin-top: 15px">
<a href="https://bulma.io/" class="button is-success">Bulma is here</a>
</p>
@filipgorczynski
filipgorczynski / __init__.py
Last active February 5, 2018 07:58
Public gist with __init__ from Awesome Requests Python library
# -*- coding: utf-8 -*-
# __
# /__) _ _ _ _ _/ _
# / ( (- (/ (/ (- _) / _)
# /
"""
Requests HTTP Library
~~~~~~~~~~~~~~~~~~~~~
@filipgorczynski
filipgorczynski / guessthenumber.py
Last active February 5, 2018 08:44
Public gist for guess the number game
"""
Code for program 33 from https://wiki.python.org/moin/SimplePrograms
"""
import random
guesses_made = 0
name = raw_input('Hello! What is your name: ')
number = random.randint(1, 20)
print 'Well, {0}, I am thinking of a number between 1 and 20.'.format(name)
@filipgorczynski
filipgorczynski / ng5FaB.icontemplate.html
Created February 7, 2018 08:33
Sample template for font-awesome icons
<fa name="chrome" animation="spin" size="5x"></fa>
@filipgorczynski
filipgorczynski / dev.env.js
Last active February 9, 2018 10:54
Vue.js 2 configuration file
'use strict'
const merge = require('webpack-merge')
const prodEnv = require('./prod.env')
module.exports = merge(prodEnv, {
NODE_ENV: '"development"',
API_URL: '"//127.0.0.1:8000/"'
})