Skip to content

Instantly share code, notes, and snippets.

@markovic131
markovic131 / NBS-pretraga-racuna
Created December 3, 2017 20:17 — forked from nebjak/NBS-pretraga-racuna
Pretraga računa preko Nardodne Banke Srbije
Osnovni URL
-----------
http://www.nbs.rs/rir_pn/pn_rir.html.jsp?type=rir_results&lang=SER_CIR&konverzija=yes&
Moguća pretrga po
-----------------
--------------------------------------------
| Podatak | ključ |
--------------------------------------------
@markovic131
markovic131 / serbia_zip_codes.csv
Created December 3, 2017 20:16 — forked from nebjak/serbia_zip_codes.csv
List of Serbia zip codes with cities in CSV
zip_code city
11000 Beograd
11010 Beograd Vozdovac
11030 Beograd Čukarica
11050 Beograd Zvezdara
11060 Beograd Palilula
11070 Novi Beograd
11080 Beograd Zemun
11090 Beograd Rakovica
11130 Kaluđerica
[
{ "keys": ["f4"], "command": "find_use" },
{ "keys": ["f5"], "command": "expand_fqcn" },
{ "keys": ["f7"], "command": "insert_php_constructor_property" }
]
{
"always_show_minimap_viewport": true,
"binary_file_patterns":
[
"*.jpg",
"*.jpeg",
"*.png",
"*.gif",
"*.ttf",
"*.tga",
#https://gorails.com/setup/ubuntu/14.04
sudo apt-get update
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties
sudo apt-get install libgdbm-dev libncurses5-dev automake libtool bison libffi-dev
curl -L https://get.rvm.io | bash -s stable
source ~/.rvm/scripts/rvm
echo "source ~/.rvm/scripts/rvm" >> ~/.bashrc
rvm install 2.1.2
rvm use 2.1.2 --default
@markovic131
markovic131 / laravel.local
Created May 28, 2014 14:50
Nginx configuration for Laravel 4 app
server {
listen 80;
server_name laravel.local;
access_log /var/log/nginx/laravel.local/access.log;
error_log /var/log/nginx/laravel.local/error.log;
rewrite_log on;
root /var/www/laravel.local/public;
@markovic131
markovic131 / gist:11112593
Last active August 29, 2015 14:00
My Sublime Text 3 Settings
{
"bold_folder_labels": true,
"caret_style": "phase",
"color_scheme": "Packages/Color Scheme - Default/Solarized (Dark).tmTheme",
"font_face": "Ubuntu Mono",
"font_options":
[
"bold",
"subpixel_antialias"
],
@markovic131
markovic131 / onv-button
Created April 2, 2014 12:13
SCSS Twitter Bootstrap 3 Gradient Buttons Mixin
@mixin onv-button($color, $background, $text-shadow: none) {
color: $color;
@include gradient-vertical(lighten($background, 5%), darken($background, 5%), 0%, 100%);
border-color: darken($background, 10%);
border-bottom-color: darken($background, 20%);
text-shadow: $text-shadow;
@include box-shadow(inset 0 1px 0 rgba(255, 255, 255, .1));
&:hover,
@markovic131
markovic131 / gist:8862174
Created February 7, 2014 12:54
AngularJS Directive : Bootstrap 3 DatePicker
myApp.directive('datePicker', function() {
return {
restrict: 'E',
require: ['ngModel'],
scope: {
ngModel: '='
},
replace: true,
template: '<input type="text" id="datePicker" class="form-control" ngModel>',
link: function(scope, element, attrs) {
#!/bin/bash
# This script creates a new project (or site) under /var/sites and creates
# new virtual host for that site. With the options a site can also
# install the latest version of Laravel directly.
# This script was originally based on the following script by @Nek from
# Coderwall: https://coderwall.com/p/cqoplg
# Display the usage information of the command.
create-project-usage() {