Skip to content

Instantly share code, notes, and snippets.

@lobre
lobre / _grid.scss
Last active June 15, 2018 13:05
Sass responsive grid
* {
@include box-sizing(border-box);
}
/****************************************************\
VARIABLES
\****************************************************/
$columns: 12 !default;
$gutter: 20px !default;
@bondt
bondt / bootstrap-xl-xxl.scss
Created February 9, 2016 15:34
Add sizes for XL and XXL displays to Bootstrap 3.
/**
* Add sizes for XL and XXL displays to Bootstrap 3.
*
*
* Original from https://gist.github.com/juukie/d71133e69877b46f060e
*
* Notes:
* I work with PhpStorm and the <editor-fold>-lines make the blocks make them collapsible.
* Also, this only works for bigger sizes. If you want to add smaller sizes of display (such as XXS), please go here for instructions: http://stackoverflow.com/a/26963773/598560
*/
@tormjens
tormjens / index.php
Created April 5, 2016 10:51
Convert a HTML table to array to a design element (for when client deliver some content in a word/excell table)
<!DOCTYPE html>
<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<title></title>
</head>
<body>
<?php
ini_set('default_charset', 'utf-8');
@nccdr
nccdr / parseTable.php
Last active November 7, 2019 22:07
HTML table to Array
<?php
/**
*
* HTML Table parser
* github.com/nicecodergit
*
*/
function getArrayFromFile( $link )
http://abclive.abcnews.com/i/abc_live4@136330/master.m3u8
http://mumsite.cdnsrv.jio.com/jiotv.live.cdn.jio.com/Mastiii/Mastiii_800.m3u8
http://jiotv.live.cdn.jio.com/Sony_BBC_Earth_HD/Sony_BBC_Earth_HD_TAB.m3u8
http://hotstar.live.cdn.jio.com/Star_Plus_HD/Star_Plus_HD.m3u8
http://hotstar.live.cdn.jio.com/Life_OK_HD/Life_OK_HD.m3u8
http://jiotv.live.cdn.jio.com/Zindagi/Zindagi_TAB.m3u8
http://hotstar.live.cdn.jio.com/Channel_V/Channel_V.m3u8
http://jiotv.live.cdn.jio.com/DD_National/DD_National_TAB.m3u8
http://mumsite.cdnsrv.jio.com/jiotv.live.cdn.jio.com/Neo_Prime/Neo_Prime_800.m3u8
http://smumcdnems03.cdnsrv.jio.com/jiotv.live.cdn.jio.com/Star_Sports_HD_1/Star_Sports_HD_1.m3u8
@antoha-sozon
antoha-sozon / PhpStorm 2020.2 Reset Trail | Evaluation.txt
Last active May 16, 2024 11:18
PhpStorm 2020.2 Reset Trail | Evaluation (Ubuntu)
Enter the commands one by one into the terminal:
cd ~/.config/JetBrains/PhpStorm2020.2
rm eval/PhpStorm202.evaluation.key
rm options/other.xml
cd ~/.java/.userPrefs/jetbrains
rm -rf phpstorm