Skip to content

Instantly share code, notes, and snippets.

View Arafat245's full-sized avatar

Arafat Arafat245

  • Dhaka
View GitHub Profile
" full Python syntax highlighting
let python_highlight_all=1
let g:pyflakes_use_quickfix=1
augroup PYTHON
autocmd FileType python setlocal omnifunc=pythoncomplete#Complete
" this one is which you're most likely to use?
autocmd FileType python highlight ColorColumn ctermfg=12, ctermbg=9
autocmd FileType python call matchadd('ColorColumn', '\%80v', 100)
" Display tabs at the beginning of a line in Python mode as bad
printstring macro msg
mov ah, 09h
mov dx, offset msg
int 21h
endm
readnum macro num
; assembly is awesome
printstring macro msg
mov ah, 09h
mov dx, offset msg
int 21h
endm
readnum macro num
exo-open --launch TerminalEmulator
exo-open --launch FileManager
" THE VIMRC $MyVIMRC
" vim configuration file
" Edited by Emrul Hasan Zawad <mechezawad@outlook.com>
"
" long live vim
set encoding=utf-8
set nocompatible
set secure
" When writing buffer encoding to utf-8
set fileencoding=utf-8
#include <iostream>
#include <string>
// standard c++11 headers
#include <regex>
#include <thread>
#include <chrono>
// studentData structure like a super variable
struct studentData {
std::string id;
<html>
<head>
<title>My Github</title>
<link rel="stylesheet" href="../node_modules/bootstrap/dist/css/bootstrap.css">
<link rel="stylesheet" href="./css/style.css">
</head>
<body>
<nav class="navbar navbar-inverse">
<div class="container">
import React, {Component} from 'react';
import ReactDOM from 'react-dom';
class App extends Component{
constructor(props) {
super(props);
this.state = {
username: 'Arafat245',
userData: [],
userRepos: [],
import React, {Component} from 'react';
import ReactDOM from 'react-dom';
class Profile extends Component{
render(){
return(
<div className="panel panel-default">
<div className="panel-heading">
<h3 className="panel-title">{this.props.userData.name}</h3>
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer