Skip to content

Instantly share code, notes, and snippets.

#include<stdio.h>
int phi[1000006], mark[1000006];
void seivephi(int n)
{
int i, j;
for(i=1; i<=n; i++) phi[i] = i;
@shawon100
shawon100 / js.md
Created August 25, 2017 08:31 — forked from nuhil/js.md
Javascript Handbook

Javascript Handbook

A hand crafted markdown document contains all major Javascript topics covered, taken from different sources. Brush Up your JS memory.

Comments


Single line comments start with //. For multi-line commands, you use /* ... */

// This is a single line comment
@shawon100
shawon100 / openshift-cheatsheet.md
Created October 31, 2017 09:09 — forked from rafaeltuelho/openshift-cheatsheet.md
My Openshift Cheatsheet
  • Binary Builds
oc new-build --binary=true --name=ola2 --image-stream=redhat-openjdk18-openshift
oc start-build ola2 --from-file=./target/ola.jar --follow
oc new-app 
  • Turn off/on DC triggers to do a batch of changes without spam many deployments