Skip to content

Instantly share code, notes, and snippets.

View monirz's full-sized avatar
💻
Focusing

Moniruzzaman Monir monirz

💻
Focusing
View GitHub Profile
@monirz
monirz / file.php
Created November 5, 2015 10:36 — forked from bainternet/file.php
a Simple class to convert number to words in php based on http://www.karlrixon.co.uk/writing/convert-numbers-to-words-with-php/
<?php
//simple class to convert number to words in php based on http://www.karlrixon.co.uk/writing/convert-numbers-to-words-with-php/
if ( !class_exists('NumbersToWords') ){
/**
* NumbersToWords
*/
class NumbersToWords{
public static $hyphen = '-';
public static $conjunction = ' and ';
@monirz
monirz / _ide_helper.php
Created January 5, 2016 12:10 — forked from barryvdh/_ide_helper.php
Laravel IDE Helper for Netbeans / PhpStorm / Sublime Text 2 CodeIntel, generated using https://github.com/barryvdh/laravel-ide-helper
<?php
/**
* A helper file for Laravel 5, to provide autocomplete information to your IDE
* Generated for Laravel 5.1.1 (LTS) on 2015-06-11.
*
* @author Barry vd. Heuvel <[email protected]>
* @see https://github.com/barryvdh/laravel-ide-helper
*/
namespace {
package main
import (
"errors"
"log"
"net/http"
)
//A simple and basic router
type Router struct {
package main
import (
"errors"
"log"
"net/http"
"strings"
)
//Router holds all the routes
package main
import (
"log"
"net/http"
)
type Router struct {
Method string
Path string
cvt 1366 768 60
sudo xrandr --newmode "1366x768_60.00" 85.25 1368 1440 1576 1784 768 771 781 798 -hsync +vsync
sudo xrandr --addmode VGA1 1366x768_60.00
" ==================================================
" .vimrc / init.vim
" ==================================================
call plug#begin('~/.vim/plugged')
Plug 'kien/ctrlp.vim'
Plug 'ervandew/supertab'
Plug 'jiangmiao/auto-pairs'
Plug 'scrooloose/syntastic'
Plug 'majutsushi/tagbar'
Plug 'dkprice/vim-easygrep'
package main
import (
"fmt"
)
type SQLBuilder interface {
Select() SQLBuilder
Star() SQLBuilder
From(table string) SQLBuilder
package main
import (
"encoding/json"
"log"
"net/http"
)
func main() {
http.HandleFunc("/users", users)
FROM golang
WORKDIR /app
ADD . /app
RUN ls
RUN go build main.go
EXPOSE 8087