Skip to content

Instantly share code, notes, and snippets.

View smalinux's full-sized avatar
🎯
FOCUS

Sohaib Mohamed smalinux

🎯
FOCUS
View GitHub Profile
$ man passwd > passwd.txt
taskkill -im Codeforces.exe -f
------------------------
this command to clear the current task
C:/Program Files (x86)/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/4.9.2/../../../../mingw32/bin/ld.exe: cannot open output file
@smalinux
smalinux / sorted vector of pairs 101 .cpp
Last active March 18, 2019 21:01
Quick reference for my codeforces solutions
#include<bits/stdc++.h>
using namespace std;
int main() {
// https://en.cppreference.com/w/cpp/utility/pair/operator_cmp
// ----- Output -------
// (1,foo)
// (2,bar)
// (2,baz)
@smalinux
smalinux / index.html
Created August 27, 2016 06:46
Urban landscape in polygonal style
<a href="http://codepen.io/smalinux/" target="_blank" title="Just say Hello!"><div class="FollowMe"></div></a>
<div class="container">
<svg xmlns="http://www.w3.org/2000/svg" width="800" height="800" viewBox="0 0 800 800">
<g class="background">
<radialGradient id="a" cx="407.5" cy="391.001" r="400" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#F4E917"/>
<stop offset=".282" stop-color="#F3E517"/>
<stop offset=".538" stop-color="#EFDA16"/>
<stop offset=".784" stop-color="#E8C815"/>
@smalinux
smalinux / gist:53c7c039c6acfa484d58
Created December 28, 2015 00:48 — forked from atcuno/gist:3425484ac5cce5298932
HowTo: Privacy & Security Conscious Browsing

The purpose of this document is to make recommendations on how to browse in a privacy and security conscious manner. This information is compiled from a number of sources, which are referenced throughout the document, as well as my own experiences with the described technologies.

I welcome contributions and comments on the information contained. Please see the How to Contribute section for information on contributing your own knowledge.

Table of Contents