Skip to content

Instantly share code, notes, and snippets.

View veekram's full-sized avatar
🐼
Focusing

Bikram Suwal veekram

🐼
Focusing
  • nbinfotech (p).ltd
  • Surybinayak , Bkt , Nepal
View GitHub Profile
@veekram
veekram / spacemacs-keybindings
Created September 25, 2017 10:46 — forked from adham90/spacemacs-keybindings
spacemacs keybindings that i need to learn
SPC s c remove highlight
**** Files manipulations key bindings
Files manipulation commands (start with ~f~):
| Key Binding | Description |
|-------------+----------------------------------------------------------------|
| ~SPC f c~ | copy current file to a different location |
| ~SPC f C d~ | convert file from unix to dos encoding |
| ~SPC f C u~ | convert file from dos to unix encoding |
@veekram
veekram / analyzer.rb
Created September 19, 2017 12:47 — forked from FrancoB411/analyzer.rb
Text Analyzer from Beginning Ruby
#analyzer.rb -- Text Analyzer
stopwords = %w{the a by on for of are with just but and to the my I has some in}
lines = File.readlines(ARGV[0])
line_count = lines.size
text = lines.join
#count the characters
character_count = text.length
@veekram
veekram / ExampleReduxForm.jsx
Created July 21, 2017 06:12 — forked from mlaursen/ExampleReduxForm.jsx
Code for example redux-form and react-md
import React from 'react';
import { Field, reduxForm } from 'redux-form';
import Button from 'react-md/lib/Buttons/Button';
import TextField from 'react-md/lib/TextFields';
const required = ['email', 'phone'];
const validate = values => {
const errors = {};
required.forEach(field => {
if (!values[field]) {
@veekram
veekram / bootstrapping.md
Created November 28, 2016 12:27 — forked from dideler/bootstrapping.md
Bootstrapping - a list of useful resources to get up and running quickly

Welcome!

UPDATE: This list is no longer maintained. I've moved it to its own repo so you can send suggestions as Pull Requests. https://github.com/dideler/bootstrapping/

For feedback or suggestions, please send a tweet (@dideler). Gist comments don't notify me. Pull requests aren't possible with gists (yet), so I don't recommend forking because then I can't easily get the change.

Starring this gist will give me an idea of how many people consider this list useful.