Skip to content

Instantly share code, notes, and snippets.

View Arafat245's full-sized avatar

Arafat Arafat245

View GitHub Profile
let g:ycm_global_ycm_extra_conf = "~/.vim/.ycm_extra_conf.py"
import os
import ycm_core
# These are the compilation flags that will be used in case there's no
# compilation database set (by default, one is not set).
# CHANGE THIS LIST OF FLAGS. YES, THIS IS THE DROID YOU HAVE BEEN LOOKING FOR.
flags = [
'-Wall',
'-Wextra',
'-Werror',
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
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>
import React, {Component} from 'react';
import ReactDOM from 'react-dom';
class App extends Component{
constructor(props) {
super(props);
this.state = {
username: 'Arafat245',
userData: [],
userRepos: [],
<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">
#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;
" 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
exo-open --launch TerminalEmulator
exo-open --launch FileManager
; assembly is awesome
printstring macro msg
mov ah, 09h
mov dx, offset msg
int 21h
endm
readnum macro num