Skip to content

Instantly share code, notes, and snippets.


Sanin saninb

Block or report user

Report or block saninb

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
saninb /
Created Oct 31, 2017 — forked from ngryman/
intellij javascript live templates

intellij javascript live templates

Just a dump of handy live templates I use with IntelliJ. They should also work with WebStorm.

How to

  • Go to settings.
  • Search for live templates.
  • Under the javascript section you should be able to manage your templates.
saninb /
Created Apr 6, 2017 — forked from vitalbone/
Deploying KeystoneJS to Heroku

Deploying a Keystone App to Heroku

Keystone comes completely set up to install on Heroku in a couple of steps.

1. Sign up for a Heroku account and install the Heroku Toolbelt.

Log in with it and you're ready to begin. Heroku uses git to deploy a new site, so with that in mind:

2. Create a new repository on Github and then clone it.

saninb / editor.css
Created Feb 7, 2017 — forked from Hendrixer/editor.css
VS code custom CSS for theme
View editor.css
.composite-title, .composite-title, .vs-dark .monaco-workbench>.activitybar>.content {
background-color: rgba(40, 44, 52, 1) !important;
.tabs-container, .tab,, .title-actions, .tablist, .tabs-container, .tabs, .composite.title {
background-color: rgba(40, 44, 52, 1) !important;
}, .tab {
border-right: 0px !important;
saninb / new_gist_file_0
Created Oct 2, 2016
Truncate SQL Server log file
View new_gist_file_0
DBCC SHRINKFILE (mydatabase_Log, 1)
saninb / 0_reuse_code.js
Created Apr 11, 2016
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
saninb / refinery_overrides.txt
Created Oct 16, 2014
Refinery CMS overrides list
View refinery_overrides.txt
When starting a project that includes refinerycms-blog:
$ rake refinery:override view=refinery/pages/*
$ rake refinery:override view=layouts/*
$ rake refinery:override view=refinery/blog/shared/*
$ rake refinery:override view=refinery/blog/posts/*
$ rake refinery:override view=refinery/*
$ rake refinery:override controller=refinery/blog/*
$ rake refinery:override controller=refinery/*
View c++ rekurzija
#include <iostream>
using namespace std;
void rekurzija(int argument);
void main()
int broj = 0;
You can’t perform that action at this time.