Skip to content

Instantly share code, notes, and snippets.

View krman009's full-sized avatar
💖
Brainviring on the Odoo space .. ✨

Kaushalya R. Mandaliya krman009

💖
Brainviring on the Odoo space .. ✨
View GitHub Profile
@LukyVj
LukyVj / each_and_if.scss
Created December 3, 2014 14:10
How to use an @if condition into an @each control directive in SASS
/* How to use an @if condition into an @each control directive in SASS */
// First, define your variables, here, we'll use colors only.
$c-red : #f44336;
$c-pink: #E91E63;
$c-purple: #9c27b0;
$c-deeppurple: #673ab7;
$c-indigo : #3f51b5;
$c-blue: #2196F3;
$c-lightblue: #03a9f4;
@addyosmani
addyosmani / README.md
Last active October 17, 2024 13:41 — forked from 140bytes/LICENSE.txt
108 byte CSS Layout Debugger

CSS Layout Debugger

A tweet-sized debugger for visualizing your CSS layouts. Outlines every DOM element on your page a random (valid) CSS hex color.

One-line version to paste in your DevTools

Use $$ if your browser aliases it:

~ 108 byte version

@LukyVj
LukyVj / SassIconicSystem.scss
Last active August 29, 2015 14:05
SASS Iconic SVG system
$icons: "facebook", "twitter", "instagram";
$size: 1.2em;
@each $icon in $icons {
.ico{
display: block;
&:before{
content: '';
display: block;
width: $size;
@dervondenbergen
dervondenbergen / README.md
Last active August 29, 2015 14:01
WILF search

We Love Icon Fonts search

The search on We Love Icon Fonts is a long requested issue.

To use the search, just drag'n'drop the js file (minfied or unminified) in the bookmarks bar.

You can watch an installation video here: https://vimeo.com/94447449.

var gulp = require('gulp');
var minifycss = require('gulp-minify-css');
var autoprefixer = require('gulp-autoprefixer');
var notify = require('gulp-notify');
var sass = require('gulp-ruby-sass');
gulp.task('css', function() {
return gulp.src('sass/main.sass')
.pipe(sass({ style: 'compressed' }))
.pipe(autoprefixer('last 15 version'))
@LeaVerou
LeaVerou / dabblet.css
Created November 9, 2013 16:43
Flexible Google-style progress indicator
/**
* Flexible Google-style progress indicator
*/
@keyframes progress {
50% { border-width: .5em 0; }
to { border-width: .5em 0 0 0; }
}
@keyframes rotate {
@krman009
krman009 / Prime_number_without_modulo.c
Created July 30, 2013 18:54
Prime number without the modulo operator and used another logic to define it. Like division without '/' operator.
#include<stdio.h>
#include<conio.h>
void main()
{
int num,i,temp=0,temp2,a,b;
clrscr();
printf("Enter number to check whether prime or not:");
scanf("%d",&num);
for(i=2;i<num;i++)
{
@paulmillr
paulmillr / active.md
Last active October 11, 2024 01:14
Most active GitHub users (by contributions). http://twitter.com/paulmillr

Most active GitHub users (git.io/top)

The list would not be updated for now. Don't write comments.

The count of contributions (summary of Pull Requests, opened issues and commits) to public repos at GitHub.com from Wed, 21 Sep 2022 till Thu, 21 Sep 2023.

Because of GitHub search limitations, only 1000 first users according to amount of followers are included. If you are not in the list you don't have enough followers. See raw data and source code. Algorithm in pseudocode:

githubUsers
@somebox
somebox / gh-like.css
Created July 14, 2011 14:55
github markdown css+script with syntax highlighting. Works with http://markedapp.com
/*
Some simple Github-like styles, with syntax highlighting CSS via Pygments.
*/
body{
font-family: helvetica, arial, freesans, clean, sans-serif;
color: #333;
background-color: #fff;
border: none;
line-height: 1.5;
margin: 2em 3em;