Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Sanin saninb

🎯
Focusing
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
saninb / README.md
Created Oct 31, 2017 — forked from ngryman/README.md
intellij javascript live templates
View README.md

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
saninb / keystone2heroku.md
Created Apr 6, 2017 — forked from vitalbone/keystone2heroku.md
Deploying KeystoneJS to Heroku
View keystone2heroku.md

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
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, .tab.active, .title-actions, .tablist, .tabs-container, .tabs, .composite.title {
background-color: rgba(40, 44, 52, 1) !important;
}
.tab.active, .tab {
border-right: 0px !important;
@saninb
saninb / new_gist_file_0
Created Oct 2, 2016
Truncate SQL Server log file
View new_gist_file_0
ALTER DATABASE mydatabase SET RECOVERY SIMPLE
DBCC SHRINKFILE (mydatabase_Log, 1)
@saninb
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
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;
do
{
You can’t perform that action at this time.