Skip to content

Instantly share code, notes, and snippets.

View typesafe.css
*{box-sizing:border-box;}body{font:16px/1.5 "Georgia",serif;margin:0 auto;max-width:66ch;padding:1rem;}h1,h2,h3,h4,h5,h6{font-family:"Helvetica Neue","Helvetica","Arial",sans-serif;margin:2.5rem 0 1rem;}ul li, ol li{margin-top:0.5rem;}a,a:visited{color:black;}a:hover{color:dodgerblue;}img{height:auto;max-width:100%;}pre{border: 1px solid lightgrey;overflow:auto;}code{color:orangered;display:inline-block;}pre code{padding:1rem;}blockquote{border-left:5px solid lightgrey;font-size:120%;font-style:italic;margin:2rem 0;padding:1rem;}table{border-collapse:collapse;margin:2rem 0;text-align:left;width:100%;}tr{border-bottom:1px solid lightgrey;}th,td{padding:0.5rem;}hr{background:lightgrey;border:0;height:1px;margin:2rem 0;}
View PluginTranslucentTaskbar.cpp
#include <Windows.h>
#include "../../API/RainmeterAPI.h"
struct ACCENTPOLICY {
int nAccentState;
int nFlags;
int nColor;
int nAnimationId;
};
struct WINCOMPATTRDATA {
View jquery.download-pdf-links.js
@erogol
erogol / download_convert.py
Last active Feb 22, 2019
find the youtube video and downlaod convert to matlab readable format avi from mp4
View download_convert.py
'''
This code stupidly take the lined list of movie names, suppossely scraped from imdb
and download them as a first instance of YouTube. It also converts the downloaded video mp4
to avi version to be processed in Matlab.
erogol - erengolge@gmail.com
It needs;
Beautifulsoup : easy_install BeautifulSoup -- for scraping